LinkedEarth / pylipd

Development repository for Python LiPD utilities
https://pylipd.readthedocs.io/en/latest/
Apache License 2.0
2 stars 0 forks source link

BUG: `get_timeseries_essentials` Cannot unpack from a list #63

Open khider opened 2 weeks ago

khider commented 2 weeks ago

To reproduce:

filename = '../data/Crystal.McCabe-Glynn.2013.lpd'

#Initialize the lipd object
D = LiPD()

#Load the data
D.load(filename)

ensemble_df = D.get_ensemble_tables()

df = D.get_timeseries_essentials(D.get_all_dataset_names(), mode='paleo')

Data here: https://github.com/LinkedEarth/PyleoTutorials/tree/main/data

varunratnakar commented 1 week ago

get_timeseries_essentials seems to take only 1 dataset at a time. This works df = lipd.get_timeseries_essentials(lipd.get_all_dataset_names()[0], mode='paleo')

Do we need it to work for multiple datasets ?

khider commented 6 days ago

Yes, needs to work for multiple datasets