Closed ShengpeiWang closed 2 years ago
Request error during data download as of 898fa80. @jtanwk and I figured out the issue: the download_cookies have different data structures for the modis vs the nsidc data. We got successful data download from both sources once we changed the has_download_cookies method by removing the lines:
data = cookies["DATA"]
assert data.domain == URLs.RESOURCE.value
Next step: Check with original contributors and other code owners about how to proceed with the fix.
Additional note: cookie name for NSIDC is "CIsforCookie_OPS" whereas it is "DATA" for LP DAAC-sourced data.
Extra documentation probably required for future updates if we want to add other DAACs/data sources.
@ShengpeiWang Status update on this?
@ShengpeiWang Status update on this?
nothing right now
MOD10A1 download works now. LGTM
Description
Closes #3
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Checklist:
Next Steps
[ ] Assign a reviewer based on the code owner document.
[ ] Once your review is approved, merge and delete the feature branch
On behalf of the Modis Tools Dev Team, thank you for your hard work! ✨