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.0.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.0-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for icon4py_standalone_driver-0.2.0.tar.gz
Algorithm Hash digest
SHA256 df38a9f218df9ba4e72e4f96134d6eadb9aa52ebabd9d5a621f56f55c42a9716
MD5 3a21666131885a8bdbba05b68cbd23b6
BLAKE2b-256 b9668a957f05156a8a3750ff06729e6e6e462d86ed6eab698791ec48643fb9a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for icon4py_standalone_driver-0.2.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for icon4py_standalone_driver-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eafa75e255c967b19c3c2d77e2885c4b7f503fc65326703b7660355d6e46d52d
MD5 7f5faed20f731af464b76830859cfbc1
BLAKE2b-256 8d358572f3f7bc7644b5447344ad2e7faf9a07782e5e9c6f787bb4f8869615ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for icon4py_standalone_driver-0.2.0-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