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

Download pyicon with git:

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

Install pyicon by:

cd pyicon
pip install -e ./

To assure that all necessary requirements are met, install them e.g. by

conda env create -f ci/requirements_py39.yml

or on DKRZ's super computer Levante use

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

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.0.tar.gz (197.8 kB view details)

Uploaded Source

Built Distribution

pyicon_diagnostics-0.3.0-py3-none-any.whl (209.4 kB view details)

Uploaded Python 3

File details

Details for the file pyicon_diagnostics-0.3.0.tar.gz.

File metadata

  • Download URL: pyicon_diagnostics-0.3.0.tar.gz
  • Upload date:
  • Size: 197.8 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.0.tar.gz
Algorithm Hash digest
SHA256 52150c0a08b5c143b294a26cb099049bba1c1a00d9f5e476ea54905680046131
MD5 66c2751b3aa609f8299a103031e8a2e9
BLAKE2b-256 2167a8cb15e4a5bd78eac622d9d8bf0cb2f3cae5e4367ca23f6d7a33b30d7f8a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyicon_diagnostics-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a08e5ce29c5d932fecc6082fe71c77798982bce3380000268ee97d53af7a6f0d
MD5 e6b9ae90d53791f8f7a8300a187b3c78
BLAKE2b-256 88b6cdaafe6d9df1f2b32722a0985b9d7f49b85c6b58250bdb065071c21163ea

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