Skip to main content

ai-models-wenhai

ai-models-wenhai is an ai-models plugin to run WenHai.

Installation

To install the package, run:

pip install ai-models-wenhai

Until a PyPI release is published, install from this repository instead:

python -m pip install .

ONNX Runtime is installed separately: onnxruntime for CPU, onnxruntime-gpu for NVIDIA CUDA, or the vendor's MACA ONNX Runtime wheel for MetaX. ONNXRUNTIME is not used by this package. In an existing environment with the required dependencies, pip install --no-deps . retains them.

--download-assets is not implemented, so download the assets from the upstream project, then point AI_MODELS_ASSETS or --assets to their directory.

Native NetCDF forcing requires MetPy and aerobulk-python. Install MetPy with python -m pip install '.[bulk]' when installing from this repository (or python -m pip install 'ai-models-wenhai[bulk]' after a PyPI release). Install aerobulk-python in the same runtime environment following the upstream conda-forge instructions.

RUN

AI_MODELS_ASSETS=/path/to/models/wenhai \
ai-models --lead-time 24 \
  --file /path/to/models/wenhai/sample_GLORYS_23lev.nc \
  --path ./wenhai_output wenhai \
  --forcing-path /path/to/models/wenhai/sample_ERA5_d0.083.nc

--lead-time is in hours, a positive multiple of 24. --path is an output directory, default wenhai_output. Each day writes fcstYYYYMMDD/fcstYYYYMMDD_leadN_byWenHai.nc, using the forecast valid date, with uo,vo,thetao,so,zos, FP32 values and NaN on land. Output is NetCDF, not GRIB. Use --overwrite to replace existing files, or --output none to skip writing.

ai-models wenhai --help-wenhai

Metadata

Release files for ai-models-wenhai 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai-models-wenhai 0.1.0
File Size Uploaded Provenance Actions
ai_models_wenhai-0.1.0.tar.gz 18.4 kB Without provenance Details for ai_models_wenhai-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ai-models-wenhai 0.1.0
File Interpreter ABI Platform Actions
ai_models_wenhai-0.1.0-py3-none-any.whl Python 3 none any Details for ai_models_wenhai-0.1.0-py3-none-any.whl

Total release size: 33.8 kB

Release files / ai_models_wenhai-0.1.0.tar.gz

Download URL ai_models_wenhai-0.1.0.tar.gz
Size 18.4 kB
Tags Source
SHA-256 checksum
How to use checksums
73591955d7a15d6cb279abbf48b732504461c56307f27f74dd1e5b74a44cc3dd
BLAKE2b-256 checksum
How to use checksums
c7cc0e14a86452c42fc4088efe2a7bb7e03cbdb3d6f7c4637f23282ddaf00566
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.10

Release files / ai_models_wenhai-0.1.0-py3-none-any.whl

Download URL ai_models_wenhai-0.1.0-py3-none-any.whl
Size 15.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73583b680e3b190df1c754ad3d523367530742c323bd6f9693f4e51898fc4b9f
BLAKE2b-256 checksum
How to use checksums
dd399563f8adf2fb80b2477940eed4df88957f0620d8bf8aef74284f477d0487
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.10

Security for ai-models-wenhai 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page