Skip to content

Commit

Permalink
add sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielJDufour committed Aug 3, 2024
1 parent 614ef1c commit fa1ac24
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions data/ghsl/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ declare -a relevant_tiles=("-90_20" "-80_20" "-60_-30" "10_50" "20_50" "30_40" "

for name in "${relevant_tiles[@]}"
do
sleep 5; # avoid overloading AWS server and 503 Service Unavailable error
tilename="GHS_POP_GPW42015_GLOBE_R2015A_54009_1k_v1_0_4326_${name}.tif";
wget "https://s3.amazonaws.com/geoblaze/GHSL_Tiles/${tilename}" -O "tiles/${tilename}"
done


0 comments on commit fa1ac24

Please sign in to comment.