-
Notifications
You must be signed in to change notification settings - Fork 1
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
AU_SI12_NRT_R04
LANCE NRT data source retries
#26
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me.
Up to you whether to implement the "write this to a temp dir and then copy it" suggestion before merging into main
Since the file is downloaded in chunks, any network connection issues could have led to partially-written data.
I ended up implementing the re-try. I actually ran into this issue today! The nasa server seems to be responding again, but it's very slow. I canceled at one point, which led to a partial download that I needed to manually cleanup. That won't be a problem anymore! |
earthaccess
library version to~=0.8.2
.AU_SI12_NRT_R04
LANCE NRT data(``pm_tb_data.fetch.amsr.lance_amsr2`) now supports trying both data URLs
provided by CMR (lance.nsstc.nasa.gov and lance.itsc.uah.edu) if the first one
fails. Sometimes one mirror is available when the other is not.