Skip to content

Commit

Permalink
update url and downloading link (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
geek-yang authored Oct 17, 2023
1 parent d59b018 commit fa72728
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zampy/datasets/eth_canopy_height.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class EthCanopyHeight: # noqa: D101
}
"""

data_url = "https://share.phys.ethz.ch/~pf/nlangdata/ETH_GlobalCanopyHeight_10m_2020_version1/3deg_cogs/"
data_url = "https://libdrive.ethz.ch/index.php/s/cO8or7iOe5dT2Rt/"

def __init__(self) -> None:
"""Init."""
Expand Down Expand Up @@ -81,7 +81,7 @@ def download(
download_folder.mkdir(parents=True, exist_ok=True)
for fname in download_files:
utils.download_url(
url=self.data_url + fname,
url=self.data_url + "download?path=%2F3deg_cogs&files=" + fname,
fpath=download_folder / fname,
overwrite=overwrite,
)
Expand Down

0 comments on commit fa72728

Please sign in to comment.