marcwie / srtm30-parser

A framework to work with SRTM30 near-global digital elevation data
MIT License
0 stars 1 forks source link

Downloading files no longer working #1

Open marcwie opened 3 years ago

marcwie commented 3 years ago

When using the script to download the srtm30-data the server responds with an error 404. Most likely the data has been moved to a different server.

pachacamac commented 1 year ago

here's an alternative BASE_URL="https://srtm.kurviger.de/SRTM30/" I found inside a different repository.

I modified the download-srtm30-data.sh script like so to make it work:

DATA_FOLDER="$HOME/.srtm30"

if [ ! -d $DATA_FOLDER ]
then
    mkdir $DATA_FOLDER
fi

#BASE_URL="https://dds.cr.usgs.gov/srtm/version2_1/SRTM30/"
BASE_URL="https://srtm.kurviger.de/SRTM30/"

wget --continue -r -P $DATA_FOLDER -nd -A "*.dem.zip","*.hdr.zip" $BASE_URL
unzip "$DATA_FOLDER/*.zip" -d $DATA_FOLDER