Copernicus DEM Global 30m resampled on a 20m grid on UTM 26S

Copernicus Digital Elevation Global 30m resampled on a 20m grid on UTM 26S

How to download the data

The default (and preferred) way to access the data requires accessing the api.earthdatahub.destine.eu domain and a valid API key.

Method 1: quick access

It is possible to include the token directly in the URL.

1import xarray as xr
2
3xr.open_dataset(
4    "https://edh:<your personal access token>@api.earthdatahub.destine.eu/copernicus-dem-utm/GLO-30-UTM-v0/26S",
5    chunks={},
6    engine="zarr",
7    decode_coords="all",
8)

Method 2: advanced access

The Python snippet gather the token from a netrc file.

It's required to before running the code snippet below.
1import xarray as xr
2
3xr.open_dataset(
4    "https://api.earthdatahub.destine.eu/copernicus-dem-utm/GLO-30-UTM-v0/26S",
5    storage_options={"client_kwargs":{"trust_env":True}},
6    chunks={},
7    engine="zarr",
8    decode_coords="all",
9)

Variables

Short NameUnitsDescription
dem
m

height above geoid

DestinE platform