File size: 4,786 Bytes
4ece04d 36b540e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | ---
license: apache-2.0
language:
- en
tags:
- OneScience
- Earth Science
- Data Assimilation
- Global Weather
- Satellite Observations
- Cascaded Forecasting
frameworks: PyTorch
---
<p align="center"><strong><span style="font-size: 30px;">FuXi-Weather</span></strong></p>
# Model Introduction
FuXi-Weather maps raw satellite observations to global forecasts through FuXi-DA and cascaded FuXi forecast models.
Paper: A data-to-forecast machine learning system for global weather
https://doi.org/10.1038/s41467-025-62024-1
# Model Description
The system was proposed by teams from the Shanghai Academy of Artificial Intelligence for Science, Fudan University, CMA, and collaborators. It was trained with ERA5, microwave radiances from three polar-orbiting satellites, and GNSS radio occultation. Masked latent assimilation and Short/Medium forecasting support six-hour cycling and global forecasts to ten days.
# Use Cases
| Use Case | Description |
|---|---|
| Satellite assimilation | Fuse sparse observations and forecast backgrounds. |
| Global forecasting | Cascade short- and medium-range models. |
| Cycling analysis | Update global analyses and forecasts every six hours. |
| ModelScope/OneCode execution | Validate data, training, inference, metrics, and visualization. |
| Multi-GPU training | Start multi-process training through `torchrun`. |
# Usage Instructions
Use a GPU or DCU when available; CPU supports the default smoke configuration. DCU users should install a compatible DTK release.
```bash
hf download OneScience-Group/FuXi-Weather --local-dir ./FuXi-Weather
cd FuXi-Weather
python scripts/fake_data.py
```
For single-process training, use:
```bash
python scripts/train.py
```
For multi-process training, use:
```bash
torchrun --standalone --nproc_per_node=2 scripts/train.py
```
Run inference and evaluation with:
```bash
python scripts/inference.py
python scripts/result.py
```
Training jointly optimizes analysis and forecast objectives. Inference produces finite `[2,12,20,16,16]` cascaded forecasts, while evaluation reports lead-time RMSE under `result/evaluation/`.
## Trained Weights
No weights are bundled under `weight/`. The FuXi model is available at https://zenodo.org/records/10401602, and the FuXi Weather model used by the paper is available at https://zenodo.org/records/15762985.
# Citation and License
This repository is an independent engineering reproduction of the public FuXi-Weather specifications.
The original paper is licensed under CC BY-NC-ND 4.0; the original paper, official code, model weights, and related data remain subject to their respective licenses and terms.
---
# 中文说明
## 模型简介
FuXi-Weather 通过 FuXi-DA 和级联 FuXi 预报模型,将原始卫星观测映射为全球预报。
论文《面向全球天气的从数据到预报的机器学习系统》
https://doi.org/10.1038/s41467-025-62024-1
## 模型描述
该系统由上海科学智能研究院、复旦大学、CMA 和合作方的团队提出,使用 ERA5、三颗极轨卫星的微波辐亮度和 GNSS 无线电掩星数据训练。掩码潜空间资料同化(data assimilation)与 Short/Medium 预报支持六小时循环及最长十天的全球预报。
## 使用场景
| 使用场景 | 说明 |
|---|---|
| 卫星资料同化 | 融合稀疏观测与预报背景场。 |
| 全球预报 | 级联短期和中期预报(medium-range forecast)模型。 |
| 循环分析 | 每六小时更新全球分析场及预报。 |
| 在 ModelScope/OneCode 中运行 | 验证数据、训练、推理(inference)、指标和可视化。 |
| 多 GPU 训练 | 通过 `torchrun` 启动多进程训练。 |
## 使用说明
有条件时请使用 GPU 或 DCU。CPU 支持默认冒烟测试配置。DCU 用户应安装兼容的 DTK 版本。
```bash
hf download OneScience-Group/FuXi-Weather --local-dir ./FuXi-Weather
cd FuXi-Weather
python scripts/fake_data.py
```
单进程训练使用以下命令。
```bash
python scripts/train.py
```
多进程训练使用以下命令。
```bash
torchrun --standalone --nproc_per_node=2 scripts/train.py
```
使用以下命令运行推理和评估。
```bash
python scripts/inference.py
python scripts/result.py
```
训练联合优化分析和预报目标。推理生成数值有限的 `[2,12,20,16,16]` 级联预报,评估在 `result/evaluation/` 下报告逐时效 RMSE。
### 训练权重
`weight/` 下未附带权重。FuXi 模型可在 https://zenodo.org/records/10401602, 获取,论文所用 FuXi Weather 模型可在 https://zenodo.org/records/15762985. 获取。
## 引用与许可证
本仓库是对公开 FuXi-Weather 规范的独立工程复现。
原始论文采用 CC BY-NC-ND 4.0 许可。原始论文、官方代码、模型权重和相关数据仍受各自的许可证与条款约束。
|