Skip to main content

Diagnostic python software package for ICON

Project description

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

You can install pyicon via pip:

pip install pyicon-diagnostics

However, if you want to use the most recent development version, it is advisable to download pyicon with git:

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

Install pyicon by:

cd pyicon
pip install -e ./

If you notice that some requirements were not met by the installation, you can also use conda to install the requirements:

conda env create -f ci/requirements_latest.yml

or on DKRZ's super computer Levante use

module load python3/2023.01-gcc-11.2.0
pip install healpy

To update pyicon, you only need to enter the pyicon directory update the git repository via

git pull

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

Developing

When adding new functions, make sure to document them with a docstring. This should detail what the function does, the arguments and what type of objects it returns. Examples are encouraged. We use so-called "numpy" style docstrings which are then automatically rendered into the sphinx documentation. A guide to numpy style docstrings is available here and they even produce some nice examples.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyicon-diagnostics-0.3.4.tar.gz (207.9 kB view details)

Uploaded Source

Built Distribution

pyicon_diagnostics-0.3.4-py3-none-any.whl (225.2 kB view details)

Uploaded Python 3

File details

Details for the file pyicon-diagnostics-0.3.4.tar.gz.

File metadata

  • Download URL: pyicon-diagnostics-0.3.4.tar.gz
  • Upload date:
  • Size: 207.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for pyicon-diagnostics-0.3.4.tar.gz
Algorithm Hash digest
SHA256 60ef5e76efee17253b10f758e1df484dee577d5f54e4a4d9e4372165803146fa
MD5 2ab1fc5f8c4b609dde02e0bb132fca05
BLAKE2b-256 a6b12ec0ebe9b9845e8d4e9e0653bb7a249ab629b7048866dbf564ce5674c124

See more details on using hashes here.

File details

Details for the file pyicon_diagnostics-0.3.4-py3-none-any.whl.

File metadata

File hashes

Hashes for pyicon_diagnostics-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0fda945c9b7a975f83e462713180e911fb81f9e73ccbacb56d7c2acd56e7568e
MD5 f82b2d9de2c9d421f0aacfd64b228397
BLAKE2b-256 729fc15665167759cdd337602b1528538efd4813351e902b28697a1df0678510

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page