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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyicon_diagnostics-0.3.5.tar.gz
  • Upload date:
  • Size: 208.0 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.5.tar.gz
Algorithm Hash digest
SHA256 ee50326a336cac7046d5101aab584069a87f626fb8293536580be7da0c3a4c1d
MD5 aa7a08f798686dd2416246dac825b6f4
BLAKE2b-256 ce7596577e70066508ccc44e4cbb4538a7fc80a57c61429e721a6305550dbae4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyicon_diagnostics-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a89509d6ce7053af27254075903e05bc7808f83d041ab5b427d54cf02508224a
MD5 45e737427cd09c5e82e2352dcdb44746
BLAKE2b-256 87e83808434cd9f14e1b3bb62e6a16ebbf4b85de027037e33b2b636d58ce9dfc

See more details on using hashes here.

Supported by

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