Open QianqianHan96 opened 1 year ago
We moved the file to a compressed archive to save space. I had forgotten to update the documentation however.
You can use their website to easily pick the right tiles to download: https://share.phys.ethz.ch/~pf/nlangdata/ETH_GlobalCanopyHeight_10m_2020_version1/tile_index.html
Hi Bart, I need to download all the global tiles. Is it possible to access the compressed archive or can you share the file "valid_eth_canopy_height_files.txt" with me? Thanks!
You should be able to use the following wget command:
wget --recursive -e robots=off --no-parent https://share.phys.ethz.ch/~pf/nlangdata/ETH_GlobalCanopyHeight_10m_2020_version1/3deg_cogs/
However, be aware that this is about 600 GB of data.
If you only want the data files (not the uncertainty):
wget --recursive -e robots=off --reject="*_SD.tif" --no-parent https://share.phys.ethz.ch/~pf/nlangdata/ETH_GlobalCanopyHeight_10m_2020_version1/3deg_cogs/
Thanks, Bart, I also found the command to extract the urls: curl -s "https://share.phys.ethz.ch/~pf/nlangdata/ETH_GlobalCanopyHeight_10m_2020_version1/3deg_cogs/" | grep -o -P '(?<=href=")[^"]+' | awk -F"/" '{print $NF}' > file_list.txt
"The valid filenames are all in download_scripts/valid_eth_canopy_height_files.txt." I can not find this file anymore. Could Bart help check?