IMPROVER-AIFS

Model Introduction

IMPROVER-AIFS corrects systematic biases and improves the reliability of artificial-intelligence weather forecasts. It converts deterministic AIFS forecasts into spatially processed and statistically calibrated deterministic and probabilistic products and can blend them with conventional numerical weather predictions for near-surface weather postprocessing and operational product generation.

Paper: Statistical Postprocessing Yields Accurate Probabilistic Forecasts from Artificial Intelligence Weather Models
https://doi.org/10.1175/AIES-D-25-0037.1

Model Description

The method reproduced by IMPROVER-AIFS was proposed by a research team at the Australian Bureau of Meteorology and uses the IMPROVER postprocessing system led by the Met Office. The paper performs calibration and evaluation with ECMWF AIFS, HRES, and ENS forecasts, MSAS gridded analyses, and Bureau Jive automatic weather-station observations. The model is suitable for deterministic correction, probabilistic calibration, and multi-model blended forecasting of surface temperature, surface dewpoint temperature, and 10 m wind speed.

Use Cases

Use Case Description
Deterministic forecast postprocessing Apply elevation and historical bias correction to AIFS-like weather forecasts.
Probabilistic forecasting and calibration Produce threshold probabilities for three variables with spatial smoothing and reliability calibration.
Multi-model blending Smoothly blend deterministic and probabilistic outputs from AIFS-, HRES-, and ENS-like inputs.
ModelScope/OneCode execution Validate training, inference, evaluation, visualization, and checkpoint workflows in ModelScope or OneCode.
Multi-GPU training Launch distributed data-parallel training with torchrun.

Usage Instructions

1.OneCode

Experience intelligent, one-click AI4S programming through the OneCode online environment:

Try intelligent, one-click AI4S programming

2. Download and Installation

hf download OneScience-Group/IMPROVER-AIFS --local-dir ./IMPROVER-AIFS
cd IMPROVER-AIFS

Environment Dependencies

Hardware Requirements

  • A GPU or DCU is recommended.
  • A CPU can be used for connectivity validation with the default small-sample configuration.
  • DCU users must install DTK in advance. DTK 25.04.2 or later, or the OneScience-recommended version matching the current cluster, is recommended.

DCU Environment

 # Activate DTK and Conda first
conda create -n onescience311 python=3.11 -y
conda activate onescience311
pip install onescience[earth-dcu] -i http://mirrors.onescience.ai:3141/pypi/simple/ --trusted-host mirrors.onescience.ai

GPU Environment

 # Activate Conda first
conda create -n onescience311 python=3.11 -y libstdcxx-ng=12 libgcc-ng=12 gcc_linux-64=12 gxx_linux-64=12
conda activate onescience311
pip install onescience[earth-gpu] -i http://mirrors.onescience.ai:3141/pypi/simple/ --trusted-host mirrors.onescience.ai

Training Data

This repository uses a small number of structured synthetic samples to validate the engineering workflow, with AIFS-, HRES-, and ENS-like forecasts and corresponding MSAS-analysis and Bureau Jive station-observation semantics. Each sample retains 30 history days, 241 hourly leads, three variables, 61/47/49 thresholds, all 569 stations, and a 3x3 neighborhood for each station; only the number of valid dates and station samples used for parameter fitting is reduced. The paper does not publish the complete target Albers grid dimensions, so this implementation does not infer them; synthetic data validate postprocessing, training, inference, and evaluation only and do not represent the paper data distribution or performance.

python scripts/fake_data.py

Training

For single-device training, use:

python scripts/train.py

For multi-GPU training, use:

torchrun --nproc_per_node=8 --nnodes=1 --rdzv_id=1000 --rdzv_backend=c10d --max_restarts=0 --master_addr="localhost" --master_port=29500 scripts/train.py

Training outputs are saved to:

result/checkpoints/improver_aifs.pt
result/training/metrics.json

Trained Weights

This repository does not include weights under weight/. The paper does not provide a confirmed official checkpoint, and the current engineering checkpoint is not claimed to be compatible with external weights.

Inference

python scripts/inference.py

Inference loads a checkpoint containing both valid-time folds and generates chunked deterministic and probabilistic blends for two valid dates, 241 leads, and all 569 stations. Numerical results and station metadata are saved to:

result/output/predictions.npz

Evaluation and Visualization

python scripts/result.py

Evaluation results include errors for the raw, postprocessed, and blended forecasts and probabilistic forecast quality, together with target, prediction, and error comparisons at representative lead times. Synthetic-data results validate the engineering workflow only and do not represent paper performance.

result/evaluation/metrics.json
result/evaluation/multi_lead_temperature.png

Official OneScience Information

Citation and License

This repository is an independent engineering reproduction of the public IMPROVER-AIFS specifications.

Use of this repository's code, official model weights, and data remains subject to the licenses and terms of their respective projects.


中文说明

模型简介

IMPROVER-AIFS 校正人工智能天气预报(weather forecasting)的系统性偏差并提高其可靠性。它将确定性的 AIFS 预报转换为经过空间处理和统计校准的确定性与概率产品,并可将这些产品与常规数值天气预报融合,用于近地面天气后处理和生成业务产品。

论文《通过统计后处理从人工智能天气模型获得准确的概率预报》
https://doi.org/10.1175/AIES-D-25-0037.1

模型描述

IMPROVER-AIFS 复现的方法由澳大利亚气象局研究团队提出,使用英国气象局牵头的 IMPROVER 后处理系统。论文使用 ECMWF AIFS、HRES 和 ENS 预报、MSAS 网格分析和 Bureau Jive 自动气象站观测进行校准和评估。该模型适用于地面温度、地面露点温度和 10 m 风速的确定性校正、概率校准和多模型融合预报。

使用场景

使用场景 说明
确定性预报后处理 对类似 AIFS 的天气预报应用海拔校正和历史偏差校正。
概率预报和校准 通过空间平滑和可靠性校准生成三个变量的阈值概率。
多模型融合 平滑融合类似 AIFS、HRES 和 ENS 输入的确定性与概率输出。
ModelScope/OneCode 运行 在 ModelScope 或 OneCode 中验证训练、推理(inference)、评估、可视化和模型权重(检查点)(checkpoint)流程。
多 GPU 训练 使用 torchrun 启动分布式数据并行训练。

使用说明

1.OneCode

通过 OneCode 在线环境体验智能一键 AI4S 编程。

体验智能一键 AI4S 编程

2. 下载与安装

hf download OneScience-Group/IMPROVER-AIFS --local-dir ./IMPROVER-AIFS
cd IMPROVER-AIFS

环境依赖

硬件要求

  • 建议使用 GPU 或 DCU。
  • 可使用 CPU 在默认小样本配置下验证连通性。
  • DCU 用户必须提前安装 DTK。建议使用 DTK 25.04.2 或更高版本,或使用 OneScience 推荐的与当前集群匹配的版本。

DCU 环境

 # Activate DTK and Conda first
conda create -n onescience311 python=3.11 -y
conda activate onescience311
pip install onescience[earth-dcu] -i http://mirrors.onescience.ai:3141/pypi/simple/ --trusted-host mirrors.onescience.ai

GPU 环境

 # Activate Conda first
conda create -n onescience311 python=3.11 -y libstdcxx-ng=12 libgcc-ng=12 gcc_linux-64=12 gxx_linux-64=12
conda activate onescience311
pip install onescience[earth-gpu] -i http://mirrors.onescience.ai:3141/pypi/simple/ --trusted-host mirrors.onescience.ai

训练数据

本仓库使用少量结构化合成样本验证工程流程,包含类似 AIFS、HRES 和 ENS 的预报以及对应的 MSAS 分析和 Bureau Jive 站点观测语义。各样本保留 30 天历史数据、241 个逐小时时效、三个变量、61/47/49 个阈值、全部 569 个站点及各站点的 3x3 邻域,仅减少用于参数拟合的有效日期与站点样本数。论文未公布完整的目标 Albers 网格尺寸,本实现也不推定这些尺寸。合成数据仅用于验证后处理、训练、推理和评估,不代表论文的数据分布或性能。

python scripts/fake_data.py

训练

单设备训练使用以下命令。

python scripts/train.py

多 GPU 训练使用以下命令。

torchrun --nproc_per_node=8 --nnodes=1 --rdzv_id=1000 --rdzv_backend=c10d --max_restarts=0 --master_addr="localhost" --master_port=29500 scripts/train.py

训练输出保存至以下路径。

result/checkpoints/improver_aifs.pt
result/training/metrics.json

训练权重

本仓库的 weight/ 中未附带权重。论文未提供经确认的官方模型权重(检查点),当前工程实现的模型权重(检查点)未声明与外部权重兼容。

推理

python scripts/inference.py

推理加载包含两个有效时间折的模型权重(检查点),按块生成两个有效日期、241 个时效和全部 569 个站点的确定性与概率融合结果。数值结果及站点元数据保存至以下路径。

result/output/predictions.npz

评估与可视化

python scripts/result.py

评估结果包括原始、后处理和融合预报的误差、概率预报质量,以及代表性预报时效下目标、预测和误差的对比。合成数据结果仅用于验证工程流程,不代表论文性能。

result/evaluation/metrics.json
result/evaluation/multi_lead_temperature.png

OneScience 官方信息

引用与许可证

本仓库是对公开 IMPROVER-AIFS 规范的独立工程复现。

使用本仓库的代码、官方模型权重和数据仍须遵守各自项目的许可证和条款。

Downloads last month
20
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support