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

R: PAGES2k LiPD file loading issue #25

Open gelasher opened 7 years ago

gelasher commented 7 years ago

After pulling LiPD files off the linked earth wiki and trying to load using lipdR -

Do you want to load a single file (s) or directory (d)? s [1] "reading: Arc-Agassiz.Vinther.2008.lpd" [1] "Error: import_model: Error in idx_col_by_name(table): there should be a columns variable in here\n"

chrismheiser commented 7 years ago

@nickmckay @khider : bringing you in here to put this on your radar. This was mentioned before in the workshop.

http://wiki.linked.earth/Arc-Agassiz.Vinther.2008

This is in the hands of the Linked Earth Wiki. This is an example of the wiki claiming the dataset is v1.2, but it's actually a mixture of 1.2 and 1.3. This file has an ensemble table as an array with one table entry. Ensembles were changed to array types in 1.3.

So, R sees a "1.2" file, updates it to 1.3, and now the ensemble data is one level deeper and lost.

khider commented 7 years ago

I don't know if it's a PAGES2k only problem or if it's going to be something more ongoing.

If it's PAGES2k, I started a page with known issues. Can you add the issue there too? Here is the link: http://wiki.linked.earth/Known_Issues_With_LinkedEarth_Representation_of_the_PAGES2k_Dataset

chrismheiser commented 7 years ago

Added to the wiki