pyicon

A python post-processing and visualization toolbox for ICON with a focus on ocean data.
https://gitlab.dkrz.de/m300602/pyicon

Category: Climate Change
Sub Category: Climate Data Processing and Analysis

Last synced: about 7 hours ago
JSON representation

Repository metadata

Diagnostic python software package for ICON.

https://gitlab.dkrz.de/m300602/pyicon/blob/master/

          # 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](https://m300602.gitlab-pages.dkrz.de/pyicon/)

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

## Quick start for pyicon 

You can install pyicon via pip:

```bash
pip install pyicon-diagnostics
```

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

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

Install pyicon by:

```bash
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:

```bash
conda env create -f ci/requirements_latest.yml
```

or on DKRZ's super computer Levante use

``` bash
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

```bash
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`.

```bash
conda install xarray cartopy dask -c conda-forge
```

Once, `cartopy` is installed in your environment:

```bash
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](https://numpydoc.readthedocs.io/en/latest/format.html) and they even produce some nice [examples](https://numpydoc.readthedocs.io/en/latest/example.html#example).

        

Committers metadata

Last synced: 6 days ago

Total Commits: 1,013
Total Committers: 21
Avg Commits per committer: 48.238
Development Distribution Score (DDS): 0.197

Commits in past year: 17
Committers in past year: 1
Avg Commits per committer in past year: 17.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Nils Brueggemann n****n@m****e 813
Nils Brueggemann n****n@u****e 61
Gergely Boeloeni g****i@d****e 43
Fraser William Goldsworth f****h@m****e 37
nbruegge n****n@t****l 22
fraserwg f****h@s****k 14
Aaron Spring a****g@m****e 7
Josipa Zupanic m****7@l****l 2
Lennart Ramme l****e@m****e 2
Fraser Goldsworth f****h@d****e 1
Fraser William Goldsworth m****4@l****e 1
Helmuth Haak h****k@m****e 1
Josipa Zupanic m****7@l****l 1
Mareike Burba m****a@d****e 1
Nils Brüggemann m****2@m****e 1
Swantje Bastin s****n@m****e 1
Trang Van Pham b****8@l****e 1
Trang Van Pham b****8@l****e 1
Trang Van Pham t****n@d****e 1
Vera Maurer v****r@d****e 1
nils_thunder n****n@z****e 1

Committer domains:


Issue and Pull Request metadata

Last synced: 8 days ago


Dependencies

requirements.txt pypi
  • cartopy *
  • cftime *
  • cmocean *
  • healpy *
  • ipdb *
  • ipywidgets *
  • jupytext *
  • matplotlib *
  • netcdf4 *
  • numpy *
  • pandas *
  • pytest *
  • scipy *
  • xarray *
  • zarr *
requirements_documentation.txt pypi
  • nbsphinx *
  • nbsphinx-link *
  • pydata_sphinx_theme *
  • sphinx *
  • sphinx_copybutton *
setup.py pypi

Score: 5.817111159963204