ESFM runs inside a container environment (tested on
physicsnemo:25.03 on CSCS Alps).
To get started, clone the repository and build the
Dockerfile
to obtain a compatible runtime.
git clone https://github.com/swiss-ai/ESFM
Interactive inference: for a quick ERA5 visualisation using model weights from Hugging Face and a desired init condition from WeatherBench2, have a look at the notebook (we are working on providing a conda environment configuration for simple local inference):
notebooks/inference_ESFMs_on_ERA5.ipynb
Script-based inference: set your data path prefix, then run the inference entrypoint with an experiment config:
export ESFM_DATA_PATH_PREFIX=/your/storage/root
python inference_rollout.py \
--config ./configs/config_ESFM_s_nm.yaml \
--NUM_ROLLOUT_STEPS 56
See the repository README for training recipes, Slurm scripts, masking configurations, and instructions for plugging in your own dataset (gridded, sparse, or station-based).