Split off geosuite download URLs by year and change download URLs to use Source Cooperative

This commit is contained in:
Diego Ripley
2026-08-12 16:15:04 +00:00
parent c8f1bf3fba
commit 3c992bdc60
7 changed files with 21 additions and 13 deletions
+11 -3
View File
@@ -2,10 +2,18 @@
if [ ! -d "${DATA_FOLDER}/geosuite" ]
then
echo "Making directory ${DATA_FOLDER}/geosuite/"
mkdir -p ${DATA_FOLDER}/geosuite/{input,extracted,output}
mkdir -p ${DATA_FOLDER}/geosuite/{input,extracted,output}/{2021,2016,2011,2006,2001}
fi
INPUT_FOLDER="${DATA_FOLDER}/geosuite/input"
echo "Downloading geosuite files"
aria2c -x16 -i "${SCRIPT_DIR}/geosuite/files.txt" --dir=${INPUT_FOLDER} --auto-file-renaming=false
echo "Downloading 2021 geosuite"
aria2c -x16 -i "${SCRIPT_DIR}/geosuite/geosuite_2021.txt" --dir=${INPUT_FOLDER}/2021 --auto-file-renaming=false
echo "Downloading 2016 geosuite"
aria2c -x16 -i "${SCRIPT_DIR}/geosuite/geosuite_2016.txt" --dir=${INPUT_FOLDER}/2016 --auto-file-renaming=false
echo "Downloading 2011 geosuite"
aria2c -x16 -i "${SCRIPT_DIR}/geosuite/geosuite_2011.txt" --dir=${INPUT_FOLDER}/2011 --auto-file-renaming=false
echo "Downloading 2006 geosuite"
aria2c -x16 -i "${SCRIPT_DIR}/geosuite/geosuite_2006.txt" --dir=${INPUT_FOLDER}/2006 --auto-file-renaming=false
echo "Downloading 2001 geosuite"
aria2c -x16 -i "${SCRIPT_DIR}/geosuite/geosuite_2001.txt" --dir=${INPUT_FOLDER}/2001 --auto-file-renaming=false