Tools for processing and evaluating anemoi based EAGLE ML models.
Project description
eagle-tools
Tools for processing and evaluating anemoi based EAGLE ML models
⚠️ Disclaimer ⚠️
This package is pip-installable, but it is more in the form of research code rather than well-documented and tested software. There are likely better and more efficient ways to accomplish the main functionality of this package, but this gets the job done.
Installation
Since some dependencies are only available on conda, it's recommended to create a conda environment for all dependencies. Note that this package is not (yet) available on conda, but it can still be installed via pip.
Note also that the module load statements are for working on Perlmutter, and would need to be changed for different machines.
conda env create -n eagle
conda install -c conda-forge ufs2arco
module load gcc cudnn nccl
pip install anemoi-datasets anemoi-graphs anemoi-models anemoi-training anemoi-inference anemoi-utils anemoi-transform
pip install flash-attn --no-build-isolation
pip install git+https://github.com/timothyas/xmovie.git@feature/gif-scale
pip install eagle-tools
Usage
This provides the following functionality.
Note that each command uses a configuration yaml, and documentation of the yaml
contents can be found by running eagle-tools <command> --help.
For example, one can run eagle-tools inference --help to get documentation.
Inference
Run anemoi-inference over many initial conditions
eagle-tools inference config.yaml
Averaged Error Metrics
Compute Root Mean Squared Error (RMSE) and Mean Absolute Error (MAE), preserving the initial condition dimension (t0).
eagle-tools metrics config.yaml
Spatial Error Metrics
Compute the spatial distribution of RMSE and MAE for each lead time. By default, these are averaged over all initial conditions used.
eagle-tools spatial config.yaml
Power Spectra
Compute the power spectra, averaged of initial conditions.
eagle-tools spectra config.yaml
Visualize Predictions Compared to Targets
Make figures or movies, showing the targets and predictions.
Note that the argument end_date has different meanings for each.
For figures, end_date is the date plotted, whereas for movies, all timestamps
between start_date and end_date get shown in the movie.
eagle-tools figures config.yaml
eagle-tools movies config.yaml
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 eagle_tools-0.4.1.tar.gz.
File metadata
- Download URL: eagle_tools-0.4.1.tar.gz
- Upload date:
- Size: 36.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd0f6382cbbd0f99ba69261ef995ab4d335369d89ab1ff0eb0984ec70e3d98da
|
|
| MD5 |
ef7a13abc60e7deda2006e494b9d26b2
|
|
| BLAKE2b-256 |
b5de8dc6fea241a8d2910de0a3e016a21fc4b815c653c5e6da398f47c2c02f95
|
Provenance
The following attestation bundles were made for eagle_tools-0.4.1.tar.gz:
Publisher:
publish.yaml on NOAA-PSL/eagle-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
eagle_tools-0.4.1.tar.gz -
Subject digest:
cd0f6382cbbd0f99ba69261ef995ab4d335369d89ab1ff0eb0984ec70e3d98da - Sigstore transparency entry: 753568013
- Sigstore integration time:
-
Permalink:
NOAA-PSL/eagle-tools@9901f97f139699e1b455b549b284636703ac5f27 -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/NOAA-PSL
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@9901f97f139699e1b455b549b284636703ac5f27 -
Trigger Event:
release
-
Statement type:
File details
Details for the file eagle_tools-0.4.1-py3-none-any.whl.
File metadata
- Download URL: eagle_tools-0.4.1-py3-none-any.whl
- Upload date:
- Size: 40.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
612225fe65c53af2479c4850219cea266e943fadf87cc9318a6e7e212fa95350
|
|
| MD5 |
a02ed2bc0fd257192afc1478820ebeb9
|
|
| BLAKE2b-256 |
315e1f537bbc3aae77b97e76531b224429c19ffee7913604a9a935290bff8a78
|
Provenance
The following attestation bundles were made for eagle_tools-0.4.1-py3-none-any.whl:
Publisher:
publish.yaml on NOAA-PSL/eagle-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
eagle_tools-0.4.1-py3-none-any.whl -
Subject digest:
612225fe65c53af2479c4850219cea266e943fadf87cc9318a6e7e212fa95350 - Sigstore transparency entry: 753568037
- Sigstore integration time:
-
Permalink:
NOAA-PSL/eagle-tools@9901f97f139699e1b455b549b284636703ac5f27 -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/NOAA-PSL
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@9901f97f139699e1b455b549b284636703ac5f27 -
Trigger Event:
release
-
Statement type: