Skip to content
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

no information on data access rights via query #27

Open
karieca opened this issue May 25, 2022 · 0 comments
Open

no information on data access rights via query #27

karieca opened this issue May 25, 2022 · 0 comments

Comments

@karieca
Copy link

karieca commented May 25, 2022

Dear pangaeapy team,

the pangaeapy query does not show whether access rights are needed for a particular data set. The download of a data set with access rights gives an empty object, which is confusing if the information on access rights is not given.
Example:
https://www.pangaea.de/advanced/search.php?q=B18_2012 shows that access rights are needed, if I am logged into PANGAEA.
  | "

  • <div class="citation"><a href="https://doi.pangaea.de/10.1594/PANGAEA.931734\" target="_self" class="dataset-link">Freitag, J; Kipfstuhl, S; Weißbach, S et al. (2021): Density profile of the B18_2012 firn core<table class="result" summary="Dataset reference and size" cellspacing="0" cellpadding="0"><td class="title">Size:<td class="content">5535 data points<div class="datasetid"><a href="https://doi.pangaea.de/10.1594/PANGAEA.931734\" target="_self" class="dataset-link doi-link">https://doi.org/10.1594/PANGAEA.931734 – <a href="https://doi.pangaea.de/10.1594/PANGAEA.931734?format=textfile\" target="_self" class="dataset-download-link">Download <span class="glyphicon glyphicon-lock" title="access rights needed"/> – <span title="The score is a measurement of relevancy (see TF-IDF algorithm). The value is not absolute and only suitable to compare hits from the same result set.">Score: 10.09
  • "

    This info is not shown if I am not logged in. It would be great to get this information always, independent of being logged in.

    since pangaeapy does not know whether I am logged in:
    test1=pan.PanQuery("B18_2012")
    test1.result[0]['html']
    '

  • Size:5535 data points
  • '

    Please adapt query with information on access rights.

    best wishes,
    Kathrin

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Development

    No branches or pull requests

    1 participant