EERIE data from everywhere#

Access EERIE data via

EERIE data from ICON and IFS-FESOM2 is made accessible via a fast lane web service under This is enabled by the python package xpublish. All API endpoints can be explored on the automatic documentation. The web service reflects a live view on all EERIE experiments run and saved at DKRZ.

All available datasets are listed here. For each dataset, both

  • a zarr endpoint is provided which can be directly opened with xarray.

  • a opendap endpoint is provided which can be directly opened with cdo.

  • an entry in the synced intake catalog of the server is generated

The endpoints can be constructed with the template

url = ""
datset_id = "icon-esm-er.eerie-control-1950.atmos.native.2d_daily_min"

zarr_endpoint = '/'.join([url,dataset_id,"zarr"])
opendap_endpoint = '/'.join([url,dataset_id,"opendap"])


The server’s intake catalog is available here: and can also be opend from a script.

for all datasets on the server. Additionally, for all datasets we offer a precision-trimmed version which reduces the required storage for saving the dataset at another location while not affecting results of analysis significantly.

Xpublish allows to add plugins to the server as well as server-side processing. For uncompressed datasets on native grid, we offer a precision-trimmed version which reduces the required storage for saving the dataset at another location while not affecting results of analysis significantly.

To access the data and run this notebook, you need a kernel / environment with the following packages installed:

- intake-xarray
- intake
- zarr
- dask
- hvplot # for plotting
- aiohttp
- requests

Before we do anything with the data, we have to set up a dask client. The server allows 4 concurrent threads per user because the application on the server is very memory intensive. We therefore open a client with 4 threads:

# client.close()
from distributed import Client

client = Client(n_workers=2, threads_per_worker=2)



Connection method: Cluster object Cluster type: distributed.LocalCluster
Dashboard: /proxy/8787/status

Cluster Info

Using intake for loading#

See this notebook how to use intake to browse and load data sources.

import intake

eerie_cat = intake.open_catalog(
cat = eerie_cat[""]

We can list all datasets available in the catalog with list:

all_dkrz_datasets = list(cat)
  • datasets with substring ‘native’ are lossy compressed on the fly with bitrounding to reduce traffic

  • datasets with suffix ‘gr025’ can also be retrieved via kerchunk directly so that is only used as a data server

We can get the asset of a dataset (i.e. the actual file that can be opened and described as a catalog) by using it as a key in the cat dictionary:

dset = "icon-esm-er.eerie-control-1950.atmos.native.2d_daily_min"
icon_control_atm_2d_1mth_mean = cat[dset]

Opening the dataset#

Each intake-xarray asset can be opened with the to_dask function:

ds = icon_control_atm_2d_1mth_mean[dset + "-zarr"].to_dask()
Dimensions:             (ncells: 5242880, height: 1, time: 11323)
    cell_sea_land_mask  (ncells) int32 dask.array<chunksize=(5242880,), meta=np.ndarray>
  * height              (height) float64 2.0
    lat                 (ncells) float64 dask.array<chunksize=(5242880,), meta=np.ndarray>
    lon                 (ncells) float64 dask.array<chunksize=(5242880,), meta=np.ndarray>
  * time                (time) datetime64[ns] 2008-12-31T23:59:00 ... 2039-12...
Dimensions without coordinates: ncells
Data variables:
    tas                 (time, height, ncells) float32 dask.array<chunksize=(4, 1, 5242880), meta=np.ndarray>
Attributes: (12/34)
    CDI:                      Climate Data Interface version 2.2.0 (https://m...
    Conventions:              CF-1.6
    DOKU_License:             CC BY 4.0
    DOKU_Name:                EERIE ICON-ESM-ER eerie-control-1950 run
    DOKU_authors:             Putrasahan, D.; Kröger, J.; Wachsmann, F.
    DOKU_responsible_person:  Fabian Wachsmann
    ...                       ...
    source_type:              AOGCM
    time_max:                 4776479
    time_min:                 3682079
    time_reduction:           min
    title:                    ICON simulation
    uuidOfHGrid:              5aff0578-9bd9-11e8-8e4a-af3d880818e6

Download the data#

Note that is not a high-performance data server but rather for interactive work. DO NOT use it for large retrievals of high volume data. Thanks!

  1. With zarr:

import hvplot.xarray

towrite = ds["tas"].isel(time=slice(200, 250))
allbytes = towrite.nbytes / 1024 / 1024
print(allbytes, " MB to write")