Skip to main content

ICON model driver.

Project description

model driver for Python ICON4Py

main.py contains a simple python program to run the experimental ICON python port.

Currently, it does only diffusion and solve_nonhydro (dry atmosphere with no physics). The configuration for the granules and driver is hardcoded in standalone_driver.py. Time step, total integration time, number of substeps, and etc. can be configured there.

The code is meant to be changed and enlarged as we port new parts of the model.

It runs single node.

Installation

See the general instructions in the README.md in the base folder of the repository.

Usage

# set environment variables (optional but convenient)
export ICON4PY_ROOT=<path to the icon4py clone>
export GRID_FOLDER=<path to the folder holding grids>

# command line arguments:
icon4py-standalone-driver \
    $ICON4PY_ROOT/configuration_path/ \
    --grid-file-path $GRID_FOLDER/icon_grid_0013_R02B04_R.nc \
    --output-path $ICON4PY_ROOT/output_path \
    --icon4py-backend gtfn_cpu

Remarks

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

icon4py_standalone_driver-0.2.0rc2.tar.gz (24.9 kB view details)

Uploaded Source

Built Distribution

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

icon4py_standalone_driver-0.2.0rc2-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

File details

Details for the file icon4py_standalone_driver-0.2.0rc2.tar.gz.

File metadata

File hashes

Hashes for icon4py_standalone_driver-0.2.0rc2.tar.gz
Algorithm Hash digest
SHA256 985b76e6ed05d25f872e9c856b840818a26185a2ac02222e462954b5234f9bba
MD5 13bb83e8653106c7a056a2e35ed9a81a
BLAKE2b-256 161853979fe921e4c527f4cb4943688d67a2a4dab19ed4c21fc4ff23ecbfd75f

See more details on using hashes here.

Provenance

The following attestation bundles were made for icon4py_standalone_driver-0.2.0rc2.tar.gz:

Publisher: pypi-deploy.yml on C2SM/icon4py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file icon4py_standalone_driver-0.2.0rc2-py3-none-any.whl.

File metadata

File hashes

Hashes for icon4py_standalone_driver-0.2.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 36a09f5e13dfe09d7e78c7f4e4193a134d4e31038f0e2c4f4a4404d55ca6e1ab
MD5 7360c0ed6761a5c5ec9498a94e839541
BLAKE2b-256 a54563c253e027bf4ae1c4778fe8987a86e7f532c98aeb9aa89c45552031993b

See more details on using hashes here.

Provenance

The following attestation bundles were made for icon4py_standalone_driver-0.2.0rc2-py3-none-any.whl:

Publisher: pypi-deploy.yml on C2SM/icon4py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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