-
Notifications
You must be signed in to change notification settings - Fork 86
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
get and open should also work with plain links #43
Comments
Do you have ideas on how to do this? I have just this use case right now. |
I think we just need to add handlers for |
There is a WIP, we can download granules by passing only a list of files to the GET method but they links have to be HTTPS. We still need to implement the logic to infer the data center and credentials to use if the links are in S3. if we have a list that looks like this we can now use the granules = ['https://data.lpdaac.earthdatacloud.nasa.gov/lp-prod-protected/ASTGTM.003/ASTGTMV003_N57W103_dem.tif',
'https://data.lpdaac.earthdatacloud.nasa.gov/lp-prod-protected/ASTGTM.003/ASTGTMV003_N59W109_dem.tif',
'https://data.lpdaac.earthdatacloud.nasa.gov/lp-prod-protected/ASTGTM.003/ASTGTMV003_N58W104_dem.tif',
'https://data.lpdaac.earthdatacloud.nasa.gov/lp-prod-protected/ASTGTM.003/ASTGTMV003_N55W109_dem.tif',
'https://data.lpdaac.earthdatacloud.nasa.gov/lp-prod-protected/ASTGTM.003/ASTGTMV003_N54W103_dem.tif']
store = Store(auth)
files = store.get(granules, local_path="./data/") |
right now,
get
andopen
require aDataGranule
array, if a user already has a list of files from a NASA DAAC, get and open should work the same way.The text was updated successfully, but these errors were encountered: