Anemoi Configs
March 14, 2025 ยท View on GitHub
This repository provides information, examples, and tutorials on config files for use with Anemoi.
Apache License 2.0 In applying this licence, ECMWF does not waive the privileges and immunities granted to it by virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
You can find the announcements of all new configs here.
Table of Contents
Introduction
Welcome to the Anemoi Configs repository.
This is still a work in progress and will expand to include more configs, and tools. Check back soon.
Configuration Files
In configs you can find a curated selection of Anemoi config files detailing how to train a model, all the way from dataset creation to finetuning.
Tools
We provide some basic tools to help you get started with using these configs.
First clone this repository
git clone https://github.com/ecmwf/anemoi-configs
Create Tool
The create.sh script is a tool designed to create a new environment from a specified configuration folder. It sets up a virtual environment, installs necessary packages, and copies configuration files to a specified output directory.
Usage
To display the help message for the create.sh script, run the following command:
./tools/create.sh -h
Usage: ./tools/create.sh <config-path> [--use-uv] [--venv-path <path>] [--output-path <path>]
<config-path> Relative path to the configuration folder
--use-uv Optionally use uv
--venv-path <path> Path to create the virtual environment (default: $HOME/anemoi_configs/<config-path>/venv/)
--output-path <path> Path to copy the configuration (default: $HOME/anemoi_configs/<config-path>)
-h, --help Display this help message
Example
To create a new environment using the configuration folder example-config, use the following command:
./tools/create.sh configs/example-config --use-uv --venv-path /custom/path/to/venv --output-path /custom/path/to/output
This command will:
- Create a virtual environment at
/custom/path/to/venv. - Install the necessary packages listed in
example-config/environment.txt. - Copy the configuration files from
example-configto/custom/path/to/output.
License
This project is licensed under the MIT License. See the LICENSE file for more details.