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 ability to download a granule by granule name #109

Closed
mike-gangl opened this issue Nov 2, 2022 · 3 comments
Closed

Add ability to download a granule by granule name #109

mike-gangl opened this issue Nov 2, 2022 · 3 comments

Comments

@mike-gangl
Copy link
Contributor

mike-gangl commented Nov 2, 2022

As a cal/val user, I want to download the archived version of a file based on the granule name so that i can easily compare it to ones i am locally generating (same file name) and make comparisons.

--granule-name  -  the name of the granule to download

inputs:

collection short name
granule id
data directory

Note: start/stop times would not be required if this parameter is specified.

@jjmcnelis
Copy link
Member

Suresh's edits look good to me. I'm not aware of any POCLOUD collections with files that have multiple extensions, e.g. .nc.gz.

One item to look into in the future: producer_granule_id. I do not know how this field is used by ESDIS or PODAAC, if at all. Seems intended for cal/val use case though. https://cmr.earthdata.nasa.gov/search/site/docs/search/api.html#g-granule-ur-or-producer-granule-id We're populating it in some cases for SWOT; it's returned by default with CMR results in CSV format:
image

@frankinspace frankinspace mentioned this issue Dec 8, 2022
@mike-gangl
Copy link
Contributor Author

Closed with version 1.12.0

@jaffadog
Copy link

jaffadog commented May 21, 2023

Suresh's edits look good to me. I'm not aware of any POCLOUD collections with files that have multiple extensions, e.g. .nc.gz.

One item to look into in the future: producer_granule_id. I do not know how this field is used by ESDIS or PODAAC, if at all. Seems intended for cal/val use case though. https://cmr.earthdata.nasa.gov/search/site/docs/search/api.html#g-granule-ur-or-producer-granule-id We're populating it in some cases for SWOT; it's returned by default with CMR results in CSV format: image

unfortunately there are datasets that use .nc.gz - such as https://archive.podaac.earthdata.nasa.gov/podaac-ops-cumulus-protected/OSCAR_L4_OC_third-deg/oscar_vel11181.nc.gz. I'' raise a bug (#137).

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

No branches or pull requests

3 participants