Skip to content
Snippets Groups Projects
Gergely Boeloeni's avatar
Gergely Bölöni authored
             for atmospheric plots.

More details:

*) Prep tools of reference data are updated so that they enable averaging
   for DJF/JJA. A switch do_djf/do_jja controles it in all 3 tools:
   tools/prep_era5_pyicon.py
   tools/prep_ceres_pyicon.py
   tools/prep_gpm_pyicon.py

*) drivers (atmospheric plots) are updated with the options do_djf/do_jja
   pyicon/quickplots/qp_driver.py
   pyicon/quickplots/qp_compare_atm_dwd.py

*) qp_timeseries and qp_timeseries_comp are updated with the options
   do_djf/do_jja in order to restrict the time averaging to DJF/JJA
   in yearly averages if requested.

*) additionally an option added to the drivers
   pyicon/quickplots/qp_driver.py
   pyicon/quickplots/qp_compare_atm_dwd.py
   to plot figures even if no reference data is defined/found. In
   this case bias & rmse plots are ignored.

*) For atmospheric plots we are using now time_at_end_of_interval=False
   as the ICON-NWP + mvstream outputs are so, that the actual monthly
   average is labeled for the first day of the month at 00 UTC.
fd44f134
History

User guide for pyicon

Pyicon is a python post-processing and visualization toolbox for ICON with a focus on ocean data. The three main features of pyicon are:

  • a number of functions to facilitate the every-day script-based plotting of ICON data
  • an interactive (ncview-like) plotting GUI for Jupyter notebook
  • a monitoring suite for ICON ocean simulations which combines dedicated diagnostic plots of an ICON simulation on a website

Pyicon is developed within the DFG-project TRR181 - Energy Transfers in Atmosphere and Ocean.

The pyicon documentation can be found here: documentation

Pyicon is hosted at: (https://gitlab.dkrz.de/m300602/pyicon/)

Quick start for pyicon on Mistral

Once you have to download pyicon by git:

git clone git@gitlab.dkrz.de:m300602/pyicon.git

After that you have to load the correct python environment and make sure that pyicon is in your search path each time you want to use it. The easiest way is to use the following script:

source /path/to/pyicon/tools/conda_act_mistral_pyicon_env.sh

Quick start for pyicon @DWD (Confluence, only intern)

https://ninjoservices.dwd.de/wiki/display/KUQ/pyICON+for+ICON+with+NWP+physics

Installing locally

You can also install pyicon locally via pip. However, due to dependencies of cartopy it is advised to install cartopy first via conda.

conda install xarray cartopy dask -c conda-forge

Once, cartopy is installed in your environment:

pip install git+https://gitlab.dkrz.de/m300602/pyicon.git