anaprietonem
commited on
Commit
•
3dd23b4
1
Parent(s):
675d4fb
Update README.md
Browse files
README.md
CHANGED
@@ -16,7 +16,7 @@ model developed by the European Centre for Medium-Range Weather Forecasts (ECMWF
|
|
16 |
|
17 |
We show that AIFS produces highly skilled forecasts for upper-air variables, surface weather parameters and
|
18 |
tropical cyclone tracks. AIFS is run four times daily alongside ECMWF’s physics-based NWP model and forecasts
|
19 |
-
are available to the public under ECMWF’s open data policy.
|
20 |
|
21 |
## Model Details
|
22 |
|
@@ -46,13 +46,21 @@ and direct observational data.
|
|
46 |
|
47 |
|
48 |
- **Repository:** [Anemoi](https://anemoi-docs.readthedocs.io/en/latest/index.html)
|
|
|
49 |
- **Paper:** https://arxiv.org/pdf/2406.01465
|
50 |
|
51 |
## How to Get Started with the Model
|
52 |
|
53 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
|
55 |
```
|
|
|
56 |
export CONDA_ENV=aifs-env
|
57 |
conda create -n ${CONDA_ENV} python=3.10
|
58 |
conda activate ${CONDA_ENV}
|
@@ -62,6 +70,8 @@ pip install anemoi-inference[plugin] anemoi-models==0.2
|
|
62 |
pip install ninja
|
63 |
pip install flash-attn --no-build-isolation
|
64 |
|
|
|
|
|
65 |
ai-models anemoi --checkpoint aifs_single_v0.2.1.ckpt --file example_20241107_12_n320.grib
|
66 |
```
|
67 |
! ISSUE WITH PYTORCH 2.5 and flash_attention, and cuda 12.4. For now keep it to torch 2.4
|
|
|
16 |
|
17 |
We show that AIFS produces highly skilled forecasts for upper-air variables, surface weather parameters and
|
18 |
tropical cyclone tracks. AIFS is run four times daily alongside ECMWF’s physics-based NWP model and forecasts
|
19 |
+
are available to the public under ECMWF’s open data policy. (https://www.ecmwf.int/en/forecasts/datasets/open-data)
|
20 |
|
21 |
## Model Details
|
22 |
|
|
|
46 |
|
47 |
|
48 |
- **Repository:** [Anemoi](https://anemoi-docs.readthedocs.io/en/latest/index.html)
|
49 |
+
Anemoi is an open-source framework for creating machine learning (ML) weather forecasting systems, which ECMWF and a range of national meteorological services across Europe have co-developed.
|
50 |
- **Paper:** https://arxiv.org/pdf/2406.01465
|
51 |
|
52 |
## How to Get Started with the Model
|
53 |
|
54 |
+
To be able to run AIFS to generate a new forecast, you can use ai-models https://github.com/ecmwf-lab/ai-models.
|
55 |
+
`ai-models` command can be used to run different models, since in this case we are looking at using AIFS we need to speficy
|
56 |
+
`anemoi` as `model-name` and then pass the path to the checkpoint (`aifs_single_v0.2.1.ckpt`) and the initial conditions.
|
57 |
+
You can find an example of a set of initial conditions in the GRIB file `example_20241107_12_n320.grib`.
|
58 |
+
|
59 |
+
Use the code below to get started with the model.
|
60 |
+
|
61 |
|
62 |
```
|
63 |
+
# 1st create the conda environment
|
64 |
export CONDA_ENV=aifs-env
|
65 |
conda create -n ${CONDA_ENV} python=3.10
|
66 |
conda activate ${CONDA_ENV}
|
|
|
70 |
pip install ninja
|
71 |
pip install flash-attn --no-build-isolation
|
72 |
|
73 |
+
# Run ai-models
|
74 |
+
|
75 |
ai-models anemoi --checkpoint aifs_single_v0.2.1.ckpt --file example_20241107_12_n320.grib
|
76 |
```
|
77 |
! ISSUE WITH PYTORCH 2.5 and flash_attention, and cuda 12.4. For now keep it to torch 2.4
|