Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

valid_eth_canopy_height_files not found #83

Open
QianqianHan96 opened this issue May 26, 2023 · 4 comments
Open

valid_eth_canopy_height_files not found #83

QianqianHan96 opened this issue May 26, 2023 · 4 comments
Labels
documentation Improvements or additions to documentation

Comments

@QianqianHan96
Copy link

"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?

@BSchilperoort
Copy link
Contributor

BSchilperoort commented May 30, 2023

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

@SarahAlidoost SarahAlidoost added the documentation Improvements or additions to documentation label May 30, 2023
@QianqianHan96
Copy link
Author

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!

@BSchilperoort
Copy link
Contributor

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/

@QianqianHan96
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants