-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
relations for collections missing #54
Comments
This doesn't seem to be caused by collections, cf https://doi.pangaea.de/10.1594/PANGAEA.957900: from pangaeapy.pandataset import PanDataSet
ds = PanDataSet("https://doi.pangaea.de/10.1594/PANGAEA.957900")
print(ds.relations) prints
https://doi.pangaea.de/10.1594/PANGAEA.839067 doesn't have a relation but a supplement to in the citation, so in your example, while
You are the experts on this, this is probably because of a datamodel change in PANGAEA? Maybe old datasets have the supplement to in their citations, new ones in their relations? In my example, |
Yes this is not a collection issue. Such information most probably is not available for all datasets/collections during the curation process and thus missing. And @fspreck-indiscale I agree that supplements should be added to the relations dict as you propose. |
Hi Robert,
would it be possible to also get the relations (related literature) for collections (previously parents)?
When I do e.g.
ds = pg.PanDataSet(839065) # Is child dataset
ds.relations
[{'id': 'ref66016',
'title': 'Late Holocene primary productivity and sea surface temperature variations in the northeastern Arabian Sea: Implications for winter monsoon variability',
'uri': 'https://doi.org/10.1002/2013PA002579',
'type': 'Related to'}]
However:
dn = pg.PanDataSet('10.1594/PANGAEA.839067') # Is parent record.
dn.relations
[]
Thanks!
Astrid
The text was updated successfully, but these errors were encountered: