Downloading data from Zenodo

Downloading data from Zenodo#

import pathlib

cwd = pathlib.Path.cwd()

Use this notebook to download and unzip Sentinel-1 RTC data used in the tutorial. The file paths specified by subset_download_dir and full_download_dir are relative to the root directory of this repository and they will work if you’ve cloned the GitHub repo.

If you plan to use the subset time series, execute the cells in the ‘Subset timeseries` section below. If you plan to work with the full timeseries, execute the cells in the ‘Full timeseries’ section.

Subset timeseries#

subset_download_dir = str(pathlib.Path(cwd.parent, "data/raster_data/subset_timeseries/"))
!mkdir -p {subset_download_dir}
!wget -q -nc -O {subset_download_dir}/data.zip https://zenodo.org/records/15036782/files/asf_rtcs_subset.zip
!unzip -q -n {subset_download_dir}/data.zip -d {subset_download_dir}

Full timeseries#

full_download_dir = str(pathlib.Path(cwd.parent, "data/raster_data/full_timeseries/"))
!mkdir -p {full_download_dir}
!wget -q -nc -O {full_download_dir}/data.zip https://zenodo.org/records/15036782/files/asf_rtcs_full.zip
!unzip -q -n {full_download_dir}/data.zip -d {full_download_dir}