nickmckay / LiPD-utilities

Input/output and manipulation utilities for LiPD files in Matlab, R and Python
http://nickmckay.github.io/LiPD-utilities/
GNU General Public License v2.0
29 stars 9 forks source link

Variable "distance_from_top" #11

Closed ClimateTools closed 7 years ago

ClimateTools commented 7 years ago

The variable "distance_from_top" or "distance" should be interpreted as "depth" in LIPD files.

chrismheiser commented 7 years ago

Juxtlahuaca.Lachniet.2017.zip

File given in Slack

chrismheiser commented 7 years ago

What was the main issue with this again? Was it because the Time Series data wasn't receiving depth data?

khider commented 7 years ago

Yes. The distance was treated as a time series object and the other variables in the file didn't get the "depth" data.

chrismheiser commented 7 years ago

Right now, it looks for "distance", "distance_from_top", and "depth" as options for the "depth" key in the time series. The depth data is stored as normal, with its values.

The only difference is that now there is a time series object for "variableName": "distance_from_top" data that also contains the "depth" values. Previously, this was a time series object for "variableName": "depth". The main point is the values for "distance_from_top" are stored as "depth".

A little difficult to explain.

chrismheiser commented 7 years ago

Issue #11 fixed in commit : f2923d4