Add --retry=10
option to handle network failures for prepare_regions.sh
#12
Labels
--retry=10
option to handle network failures for prepare_regions.sh
#12
During download of some data files in a
prepare_regions.sh
run, the download may fail not due to the bash code, but because of a temporary network failure.For example:
Output
Rerunning with the -r (reuse) option successfully completed till the end.
./prepare-regions -r -o /my/output/directory
@agilly suggested that we should add a retry option which attempts to retry downloading the failed file, so that we don't need to rerun with the
-r
option.The text was updated successfully, but these errors were encountered: