Shared code for the icon4py model.
Project description
icon4py-common
Description
Utilities shared by several ICON4Py components.
Installation instructions
Check the README.md at the root of the model folder for installation instructions.
Contents
IO
module containing IO funcitonality for ICON4Py.
The IO module requires the installation of the io optional dependencies defined in pyproject.toml
of the icon4py-common package and can be installed with the following command:
uv pip install .[io]
or even better by running:
uv sync --extra io # or `uv sync --extra all` which includes everything
at the top-level folder of the repository, which installs all ICON4Py packages including the IO dependencies.
Distributed run
The package decomposition contains infrastructure for parallel implementation of icon4py/model.
icon4py uses GHEX for halo exchanges. In order to run in parallel
optional dependencies mpi4py and ghex need to be installed, which can be done through
uv sync --extra distributed # or `uv sync --extra all` which includes everything
from the top-level folder of the repository.
Grid
Contains basic infrastructure regarding the (unstructured) grid used in icon4py. There are
two implementations of the general grid a small simple grid with periodic boundaries in
simple.py used for testing and the
ICON grid icon.py both implement the same protocl.
The ICON grid can be initialized from an ICON grid file via the grid_manager.py
(THIS is still EXPERIMENTAL!!) or from serialized data.
The grid_manager.py needs netcdf as an optional dependency, which can be installed with
uv sync --extra io # or `uv sync --extra all` which includes everything
from the top-level folder of the repository.
interpolation
Contains interpolation stencils and port of interpolation fields in ICON.
math
math utilities.
states
contains type for the ICON prognostic state used by several packages.
test_utils
Utilities used in tests made available here for usage in other packages
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file icon4py_common-0.2.0rc2.tar.gz.
File metadata
- Download URL: icon4py_common-0.2.0rc2.tar.gz
- Upload date:
- Size: 153.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ade34f070ac886909b12e4a94d2ae56d8ce0e8e657d044907df50cf6391768a
|
|
| MD5 |
55c1de28e83cb34d83edefc166d98119
|
|
| BLAKE2b-256 |
1ca6f12ce99c591e3c95b0c341a4e971b14f7c6dbaeb75e1d129e3498dd7714e
|
Provenance
The following attestation bundles were made for icon4py_common-0.2.0rc2.tar.gz:
Publisher:
pypi-deploy.yml on C2SM/icon4py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
icon4py_common-0.2.0rc2.tar.gz -
Subject digest:
7ade34f070ac886909b12e4a94d2ae56d8ce0e8e657d044907df50cf6391768a - Sigstore transparency entry: 1641167983
- Sigstore integration time:
-
Permalink:
C2SM/icon4py@4e9dad8a1fa0193c82216e1440e658d73774f116 -
Branch / Tag:
refs/tags/v0.2.0rc2 - Owner: https://github.com/C2SM
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-deploy.yml@4e9dad8a1fa0193c82216e1440e658d73774f116 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file icon4py_common-0.2.0rc2-py3-none-any.whl.
File metadata
- Download URL: icon4py_common-0.2.0rc2-py3-none-any.whl
- Upload date:
- Size: 205.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db8f43efe21cbbef62eef8b61dcf643e3b0183d7589ab306ddc43d61578c7583
|
|
| MD5 |
223fab8414ab0f2ccea4e8b8dc7ac995
|
|
| BLAKE2b-256 |
661f007f0fc5271c2575c96f332106a707309331357903c1faf7fdf528f8ebdb
|
Provenance
The following attestation bundles were made for icon4py_common-0.2.0rc2-py3-none-any.whl:
Publisher:
pypi-deploy.yml on C2SM/icon4py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
icon4py_common-0.2.0rc2-py3-none-any.whl -
Subject digest:
db8f43efe21cbbef62eef8b61dcf643e3b0183d7589ab306ddc43d61578c7583 - Sigstore transparency entry: 1641168122
- Sigstore integration time:
-
Permalink:
C2SM/icon4py@4e9dad8a1fa0193c82216e1440e658d73774f116 -
Branch / Tag:
refs/tags/v0.2.0rc2 - Owner: https://github.com/C2SM
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-deploy.yml@4e9dad8a1fa0193c82216e1440e658d73774f116 -
Trigger Event:
workflow_dispatch
-
Statement type: