LinkedEarth / paleoHackathon

Repository for the PaleoHackathon materials
https://linkedearth.github.io/paleoHackathon/
Apache License 2.0
9 stars 13 forks source link

Notebook 2: Revise notebook for the various ways of loading a LipdSeries object #4

Closed khider closed 3 years ago

khider commented 3 years ago

The notebook asked to use different functions for loading data as LipdSeries.

  1. to_tso: will return a list of Lipd timeseries object. All columns are added, regardless of whether the values can be coerced into a float
  2. to_LipdSeries: will expand tso to allow a user to either choose a timeseries from a list or pass the index observed from to_tso. If cannot be coerced to float, will just throw an error
  3. to_LipdSeriesList: Like to_tso but create LipdSeries directly. If the values cannot be coerced to float, will ignore that series and move on. There is now a warning in place but it means that to_LipdSeriesList and to_tso can have a different number of objects AND different index.

The notebook should clarify this with the example.

khider commented 3 years ago

Done, with explanations as to why the indexing may be off.