Closed pgierz closed 2 years ago
Thanks Paul!
I think you discovered a bug, it seems as if pangaeapy does not properly identify datasets which are not in tabular form. For example doi:10.1594/PANGAEA.103070 is a dataset which just contains an binary file which can be downloaded but there is no data table. I will fix this in the next release.
Robert
Moin Robert,
I know that sometimes there are also NetCDF files passed around within Pangaea. As a recommendation: I would here return back an xarray dataset. I'm also happy to contribute: not just here, but in general: I find a programatic interface to data repositories a very useful thing to have, but it may take a while for me to get familiar with the code base.
Best PG
Dear Pangaea Colleagues,
I've been experimenting with the PyPangaea interface to directly load data without needing to use the web interface. Very nice I've been running into some difficulty, however. It seems some datasets are "nested", and contain several child datasets inside. An example is the MARGO Sea Surface Temperature reconstruction for the Last Glacial Maximum (10.1594/PANGAEA.760904). If I try to access the child datasets, I am unable to actually get a pandas table back. Any hints?
Here is what I have tried:
So far, so good. Let's try to grab the last "sub-dataset":
If tracebacks are helpful, I can post those as well, but I guess this is something easy enough to reproduce locally without copy/pasting walls of error text...
Thanks, Paul