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
Built Distribution
File details
Details for the file pyicon-diagnostics-0.3.2.tar.gz
.
File metadata
- Download URL: pyicon-diagnostics-0.3.2.tar.gz
- Upload date:
- Size: 207.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be5f960dabefda2237c68bd3de82596c89bf24a9d174f5b6e1711dc27874cd62 |
|
MD5 | 91d03b5cfba0537df787261cdf01fa5a |
|
BLAKE2b-256 | 5c8fb8faa119a2cca521e120f8bc42a43bf1d6cf4bdc34b7771edf736532ff80 |
File details
Details for the file pyicon_diagnostics-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: pyicon_diagnostics-0.3.2-py3-none-any.whl
- Upload date:
- Size: 209.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7573001c712294a3a526cf08827aa37ba8130893babe95107b7fd1eb0ddb6ce |
|
MD5 | f5e91201dfccbe8c43dc9216173668c8 |
|
BLAKE2b-256 | c31b93d875d000b14c4a2b11f0e85cd136f6a1d39c48bfd6a2064b160a4c3e36 |