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

Add GFZ data services content provider #129

Open
nuest opened this issue Apr 21, 2021 · 0 comments
Open

Add GFZ data services content provider #129

nuest opened this issue Apr 21, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@nuest
Copy link
Member

nuest commented Apr 21, 2021

https://dataservices.gfz-potsdam.de/

I don't think there is an API, so we probably have to parse the landing pages for download links.

http://doi.org/10.5880/GFZ.1.4.2020.003 resolves to https://dataservices.gfz-potsdam.de/panmetaworks/showshort.php?id=escidoc:5183889 which has the following content:

<div class="datafilescolor datasetcontainer">
    <h2><img src="images/external_Ressources_31.png" align="right">Files</h2>
    <span class="citation"><ul class="datasetfiles" style="list-style-type:none;padding:0;margin:0"><li><a class="piwik_download" href="ftp://datapub.gfz-potsdam.de/download/10.5880.GFZ.1.4.2020.003jnvre/">Download data and scripts</a></li><li><a class="piwik_download" href="ftp://datapub.gfz-potsdam.de/download/10.5880.GFZ.1.4.2020.003jnvre/2020-003_Coesfeld-et-al_data-description_VIIRS_DNB_JC.pdf">Data description</a></li></ul></span><span class="review"><ul style="list-style-type:none;padding:0;margin:0"><li><a href="ftp://datapub.gfz-potsdam.de/download/10.5880.GFZ.1.4.2020.003jnvre/">Download data and scripts</a></li><li><a href="ftp://datapub.gfz-potsdam.de/download/10.5880.GFZ.1.4.2020.003jnvre/2020-003_Coesfeld-et-al_data-description_VIIRS_DNB_JC.pdf">Data description</a></li></ul></span>
    </script>
    <p>License:
        <a href="http://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a></p>
</div>

The link leads the user to a FTP page at ftp://datapub.gfz-potsdam.de/download/10.5880.GFZ.1.4.2020.003jnvre/ where there is a ZIP file with the data.

_Pretty complicated 😄 _

https://dataservices.gfz-potsdam.de/panmetaworks/showshort.php?id=escidoc:5148893 is an example with GeoTIFF files


The page also shows bounding boxes on the search results page, so maybe it's possible to parse that from the HTML page, too.

image

https://dataservices.gfz-potsdam.de/panmetaworks/showshort.php?id=escidoc:5183889

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant