Closed nuest closed 3 years ago
Extract the DOI to download functions from repo2docker into own lib and then base both tools on that.
Contentproviders: https://github.com/jupyterhub/repo2docker/tree/master/repo2docker/contentproviders
DOI to URL: https://github.com/jupyterhub/repo2docker/blob/master/repo2docker/contentproviders/zenodo.py#L46
Fetch code for Zenodo: https://github.com/jupyterhub/repo2docker/blob/master/repo2docker/contentproviders/zenodo.py#L53
# first
geoextent -b -t --output path/to/my.gpkg \
https://zenodo.org/record/3528062
# second
geoextent -b -t --output path/to/my.gpkg \
https://doi.org/10.5281/zenodo.3528062
# bonus
geoextent -b -t --output path/to/my.gpkg \
10.5281/zenodo.3528062 \
10.5281/zenodo.1234567
Zenodo, OSF, Figshare, Pangaea, ...
We need those functions for the survey anyway #57