In [ ]:
# Import and create the major objects. These include all the sub-objects and sub-functions that we'll need.
from LiPD_Library import *
from TimeSeries_Library import *
from Convert import *
from ts import *
lipd_library = LiPD_Library()
timeseries_library = TimeSeries_Library()
convert = Convert()
In [ ]:
%run __main__.py
In [ ]:
bd = input('whats your birthday?')
In [ ]:
bd
In [ ]:
# Set the library directory to wherever the LiPD files are stored (locally)
lipd_library.setDir("/Users/chrisheiser1/Desktop/lipds")
In [ ]:
# Load in all LiPD files from the set directory
lipd_library.loadLipds()
In [ ]:
# Show what LiPD files are loaded and available
lipd_library.showLipds()
In [ ]:
# Show the JSON metadata for one specific LiPD file
lipd_library.showLipd('SAm-LagunaChepicdeJong2013.lpd')
In [ ]:
# Show the CSV data for one specific LiPD file
lipd_library.showCsv('Asia-MHGSTG.lpd')
In [ ]:
# DEVELOPMENT: working, but not perfectly
# Show a google map with markers of one or more LiPD coordinate locations.
lipd_library.showMap("Asia-LakeXimencuo2013xmc6.lpd")
In [ ]:
# Create a TimeSeries using all the LiPD objects in the LiPD_Library.
extractTimeSeries(lipd_library, timeseries_library, convert)
In [ ]:
# Show all the TimeSeries objects that are in the TimeSeries_Library
timeseries_library.showTsos()
In [ ]:
# Export the TimeSeries_Library back to a LiPD_Library.
exportTimeSeries(lipd_library, timeseries_library, convert)
In [ ]:
# "whos" function shows all variables, functions, objects, and modules currently in memory
In [ ]:
whos
In [ ]:
# How to get help documentation on a function
lipd_library.loadLipds?
In [ ]:
# How to get a list of available functions for an object
lipd_library.<Press TAB>