Important
Currently (March 2026), this repository contains an early version of ICONEval, which is targeted to the evaluation of ICON output on DKRZ's Levante.
Coverage Report
ICON model output evaluation with ESMValTool.
ICONEval facilitates the evaluation of ICON model output with ESMValTool by automatically running a set of predefined ESMValTool recipes. Its only necessary input is a valid path to ICON model output:
iconeval path/to/ICON_outputThis path should point to the directory whose name is identical to the
experiment name of the ICON simulation you want to evaluate, e.g.,
/root/to/my_amip_run for the experiment my_amip_run. In this case, for
example, the simulation output files should be named
my_amip_run_atm_2d_ml_<date>.nc or my_amip_run_lnd_mon_<date>.nc. Multiple
simulations can be evaluated simultaneously by specifying multiple directories:
iconeval path/to/ICON_output path/to/other/ICON_outputICONEval reads a set of file templates (ESMValTool recipes and ESMValTool
configuration) and fills these with the information from the ICON simulation
that will be evaluated. If no further options are specified, a set of default
recipes with default settings are run. If ICONEval is run as a standalone
script, one Slurm job per recipe is launched. If
ICONEval is run within an sbatch script or salloc session, one job step per
recipe is created. The following sbatch script can be used to submit a job on
a compute node of DKRZ's Levante in which
8 recipes are run in parallel (see
here for
details on this):
#!/bin/bash -e
#SBATCH --mem=0
#SBATCH --nodes=1
#SBATCH --partition=compute
#SBATCH --time=03:00:00
iconeval path/to/ICON_output --srun_options='{"--cpus-per-task": 16, "--mem-per-cpu": "1940M"}'ICONEval is highly customizable. For example, the desired time range and frequency of the input data, as well as a flag to publish a summary HTML on a public website can be passed with
iconeval path/to/ICON_output --timerange='20070101/20080101' --frequency=mon --publish_html=TruePublishing results via the command line option --publish_html=True uses the
Swift object storage of
DKRZ and
requires a DKRZ account. User authentication works via a Swift token that
needs to be renewed monthly. If the token needs to be renewed, the user is
prompted for their DKRZ account and password information when running ICONEval.
The token can also be regenerated manually, see FAQs for
details. The raw files (figures and data) from published results can be
accessed via DKRZ's Swiftbrowser.
To only run a subset of available recipes, you can specify --tags when
running ICONEval:
iconeval path/to/ICON_output --tags=timeseries,mapsAn overview of all tags available in the default recipe templates is given here.
For more information on this and a list of all options, run
iconeval -- --helpor have a look at the section on Customization.
Installing ICONEval also provides the command line tools plots2pdf (create
summary PDF for arbitrary ESMValTool output) and publish_html (publish
summary HTML on public website for arbitrary ESMValTool output). For more
information on them, run
plots2pdf -- --help
publish_html -- --helpICONEval needs to run on a machine where the Slurm Workload Manager is available for the submission of jobs.
On DKRZ's Levante, a pre-installed version of ICONEval is available via a module. Thus, there is no need to install it yourself as a user on this machine.
However, on other machines, or if you would like to develop new features for ICONEval on Levante, an installation from source (development installation) is necessary.
To load the ICONEval module on Levante, use
module use -a /work/bd1179/modulefiles
module load iconevalAdd these lines to your shell configuration file if you use ICONEval regularly. This file describes how the ICONEval module is set up.
Installation from source is described here.
ICONEval is highly customizable. Detailed information on this can be found here.
To ensure that ICONEval works smoothly, the ICON simulation output should follow these criteria as closely as possible.
A set of frequently asked questions can be found here.