From 3c992bdc6053ddf08f5c2fad7118f75d3eae1f05 Mon Sep 17 00:00:00 2001 From: Diego Ripley Date: Wed, 12 Aug 2026 16:15:04 +0000 Subject: [PATCH] Split off geosuite download URLs by year and change download URLs to use Source Cooperative --- geosuite/download.sh | 14 +++++++++++--- geosuite/files.txt | 10 ---------- geosuite/geosuite_2001.txt | 2 ++ geosuite/geosuite_2006.txt | 2 ++ geosuite/geosuite_2011.txt | 2 ++ geosuite/geosuite_2016.txt | 2 ++ geosuite/geosuite_2021.txt | 2 ++ 7 files changed, 21 insertions(+), 13 deletions(-) delete mode 100755 geosuite/files.txt create mode 100644 geosuite/geosuite_2001.txt create mode 100644 geosuite/geosuite_2006.txt create mode 100644 geosuite/geosuite_2011.txt create mode 100644 geosuite/geosuite_2016.txt create mode 100644 geosuite/geosuite_2021.txt diff --git a/geosuite/download.sh b/geosuite/download.sh index 404fb6d..a6cb613 100755 --- a/geosuite/download.sh +++ b/geosuite/download.sh @@ -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 diff --git a/geosuite/files.txt b/geosuite/files.txt deleted file mode 100755 index 04ba510..0000000 --- a/geosuite/files.txt +++ /dev/null @@ -1,10 +0,0 @@ -# 2021. Here is the reference guide https://web.archive.org/web/20240809014903/https://www150.statcan.gc.ca/n1/pub/92-150-g/92-150-g2021001-eng.htm -https://www12.statcan.gc.ca/census-recensement/2021/geo/aip-pia/geosuite/files-fichiers/2021_92-150-X_eng.zip -# 2016. Here is the reference guide https://web.archive.org/web/20250115043056/https://www150.statcan.gc.ca/n1/pub/92-150-g/92-150-g2016002-eng.htm -https://www12.statcan.gc.ca/census-recensement/2016/geo/ref/geosuite/files-fichiers/GeoSuite_2016_92-150_XBB_eng.zip -# 2011. Here is the reference guide https://www150.statcan.gc.ca/n1/pub/92-150-g/92-150-g2011001-eng.htm -https://www12.statcan.gc.ca/census-recensement/2011/geo/ref/files-fichiers/2011_92-150_XBB_eng.zip -# 2006. Here is the reference guide -https://www12.statcan.gc.ca/census-recensement/2011/geo/ref/files-fichiers/2006_92-150_XBB_eng.zip -# 2001. Here is the reference guide -https://www12.statcan.gc.ca/census-recensement/2011/geo/ref/files-fichiers/92F0150WCB2001000.zip \ No newline at end of file diff --git a/geosuite/geosuite_2001.txt b/geosuite/geosuite_2001.txt new file mode 100644 index 0000000..d6337e2 --- /dev/null +++ b/geosuite/geosuite_2001.txt @@ -0,0 +1,2 @@ +# 2001. Here is the reference guide +https://data.source.coop/dataforcanada/d4c-datapkg-statistical/archive/statcan/geosuite/2001/92F0150WCB2001000.zip \ No newline at end of file diff --git a/geosuite/geosuite_2006.txt b/geosuite/geosuite_2006.txt new file mode 100644 index 0000000..234e4fb --- /dev/null +++ b/geosuite/geosuite_2006.txt @@ -0,0 +1,2 @@ +# 2006. Here is the reference guide +https://data.source.coop/dataforcanada/d4c-datapkg-statistical/archive/statcan/geosuite/2006/2006_92-150_XBB_eng.zip \ No newline at end of file diff --git a/geosuite/geosuite_2011.txt b/geosuite/geosuite_2011.txt new file mode 100644 index 0000000..58159de --- /dev/null +++ b/geosuite/geosuite_2011.txt @@ -0,0 +1,2 @@ +# 2011. Here is the reference guide https://www150.statcan.gc.ca/n1/pub/92-150-g/92-150-g2011001-eng.htm +https://data.source.coop/dataforcanada/d4c-datapkg-statistical/archive/statcan/geosuite/2011/2011_92-150_XBB_eng.zip \ No newline at end of file diff --git a/geosuite/geosuite_2016.txt b/geosuite/geosuite_2016.txt new file mode 100644 index 0000000..295c7a4 --- /dev/null +++ b/geosuite/geosuite_2016.txt @@ -0,0 +1,2 @@ +# 2016. Here is the reference guide https://web.archive.org/web/20250115043056/https://www150.statcan.gc.ca/n1/pub/92-150-g/92-150-g2016002-eng.htm +https://data.source.coop/dataforcanada/d4c-datapkg-statistical/archive/statcan/geosuite/2016/GeoSuite_2016_92-150_XBB_eng.zip \ No newline at end of file diff --git a/geosuite/geosuite_2021.txt b/geosuite/geosuite_2021.txt new file mode 100644 index 0000000..4ad19dd --- /dev/null +++ b/geosuite/geosuite_2021.txt @@ -0,0 +1,2 @@ +# 2021. Here is the reference guide https://web.archive.org/web/20240809014903/https://www150.statcan.gc.ca/n1/pub/92-150-g/92-150-g2021001-eng.htm +https://data.source.coop/dataforcanada/d4c-datapkg-statistical/archive/statcan/geosuite/2021/2021_92-150-X_eng.zip \ No newline at end of file