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

Fix earthdata cmr download URL #142

Merged
merged 2 commits into from
May 16, 2024
Merged

Fix earthdata cmr download URL #142

merged 2 commits into from
May 16, 2024

Conversation

aperrin66
Copy link
Member

Until now, the EarthDataCMRCrawler just selected the first URL it found.
The Earthdata CMR API can return several URL for one entry, some of which don't point to the data but to metadata, previews, etc.
The EarthDataCMRCrawler now selects the first URL of type "GET DATA", which should guarantee getting a download URL for the actual data.

@aperrin66 aperrin66 added the bug Something isn't working label Apr 17, 2024
@aperrin66 aperrin66 self-assigned this Apr 17, 2024
@aperrin66 aperrin66 merged commit beb00f1 into master May 16, 2024
14 checks passed
@aperrin66 aperrin66 deleted the fix_earthdata_cmr_dl_url branch May 16, 2024 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant