Configure & run�ESMValTool on�the Nird IPCC node
ESMValTool workshop, 30-31 May 2023
NIRD IPCC node
NIRD is the (Norwegian) National e-Infrastructure for Research Data. It is owned and operated by UNINETT Sigma2.
Work with ESMValTool on Nird
Nird contains complete CMIP5 and CMIP6 datasets for NorESM, and a subset of CMIP5 and CMIP6 datasets for other models. This makes it attractive to run ESMValTool on Nird. Options include:
ESMValTool on ipcc.nird node
Install ESMValTool on your own storage volume
Install release version of ESMValTool https://docs.esmvaltool.org/en/latest/quickstart/installation.html#mamba-conda-installation �mamba create --name esmvaltool esmvaltool
Install development version from source�https://docs.esmvaltool.org/en/latest/quickstart/installation.html#install-from-source �git clone https://github.com/ESMValGroup/ESMValTool�mamba env create --name esmvaltool --file environment.yml�conda activate esmvaltool�pip install --editable '.[develop]'
See also ESMValTool Tutorial: Installation
Test installation
After activating the esmvaltool environment, test the installation by running
esmvaltool version
Expected output:� ESMValCore: 2.8.0� ESMValTool: 2.8.0
Get help
Try the following
esmvaltool --help
esmvaltool config --help
esmvaltool data --help
esmvaltool recipes --help
esmvaltool run --help
User config file
See also� ESMValTool Tutorial: Configuration
User config file: CMIP and obsdata on Nird
CMIP data stored using the DKRZ directory structure.
NS9034K : NorESM archive for CMIP5 and CMIP6
/projects/NS9034K/CMIP5/{output1 , output2}/� /projects/NS9034K/CMIP6/
NS9560K-datalake : (mount from /nird/datalake/NS9560K/� CMIP products from various ESMs
/projects/NS9560K-datalake/ESGF/cmip5/{output , output1}/� /projects/NS9560K-datalake/ESGF/CMIP6/
Observational data (for some recipes) are stored in
/projects/NS9560K-datalake/obsdata/{Tier1 , Tier2 , Tier3}/
User config file: options, [...]=default
Developer’s configuration file
config-developer.yml : � Project- and machine-dependent directory and file name definitions of the� input and output data.
Available standard recipes
Standard recipes bundled with the esmvaltool installation: list and copy
esmvaltool recipes list� esmvaltool recipes get <standard_recipe.yml>
List of standard recipes tested on NIRD with ESMValTool 2.8.0:
https://docs.google.com/spreadsheets/d/1V7epqQgzPZXdLk_VBBlRH0Zq6yg_6gbRl-kgQ9UgDHE/edit?usp=sharing
(location may change to a more permanent site after workshop)
ESMValTool run files
To run an ESMValTool diagnostics, it is necessary (and usually sufficient) to provide the config and recipe files
A diagnostics run is executed from the command line
esmvaltool run --config_file=config-user.yml examples/recipe_python.yml
Optional: ESMValTool looks for a default user config file in
$HOME/.esmvaltool/config-user.yml
Copy your config file to this location to avoid using the --config_file flag for every run.
Run a standard recipe
List available recipes:�esmvaltool recipes list
Show content of a recipe:�esmvaltool recipes show examples/recipe_python.yml
Copy a recipe to local directory (optional for standard recipes):�esmvaltool recipes get examples/recipe_python.yml
Run esmvaltool with recipe:�esmvaltool run --config_file=config-user.yml ./recipe_python.yml
See output: http://ns9560k.web.sigma2.no/diagnostics/esmvaltool/
ESMValTool output
An ESMValTool run creates a directory with the following output subdirectories
Most standard recipes also create an index.html file in the root directory that shows a summary and usually the graphical output of the recipe.
ESMValTool output: logs
Main logs:
Problems when running esmvaltool recipes
NIRD does not contain a full set of CMIP5/6 and observational datasets.
Running an untested standard recipe will probably fail on Nird at the first attempt
Resources: Further reading and getting help
NorESM documentation in ReadTheDocs: ESMValTool diagnostics
From GitHub: NorESMhub/noresmvaltool
GitHub NorESMhub team: esmvaltool-on-nird discussion group