Pangu-Weather logo

Pangu-Weather

Pangu-Weather is an open repository for a 3D high-resolution neural network model that forecasts global weather.

The code accompanies a Nature paper from 2023 on accurate medium-range forecasting. It includes pseudocode, inference scripts for CPU and GPU, and instructions for obtaining four pre-trained models, with 1-hour, 3-hour,…

Pangu-Weather screenshot

Pangu-Weather is an open repository for a 3D high-resolution neural network model that forecasts global weather. The code accompanies a Nature paper from 2023 on accurate medium-range forecasting. It includes pseudocode, inference scripts for CPU and GPU, and instructions for obtaining four pre-trained models, with 1-hour, 3-hour, 6-hour and 24-hour lead times, each around 1.1GB. The models are stored in ONNX format, so they can be run from Python, C++, C#, Java and other languages.

Atmospheric scientists and meteorology researchers use it to test data-driven forecasting against traditional numerical methods. Machine learning engineers can study the architecture through the pseudocode and the lite-version training notes. Students and university groups with a GPU can reproduce forecasts without building a model from scratch, and teams with only CPUs can use the CPU requirements file. Users should be comfortable with Python and NumPy, since input data must be prepared as arrays for surface and upper-air variables.

Researchers load surface and upper-air arrays, run the 24-hour model, and chain models iteratively to produce longer-range global forecasts. Forecasting groups compare its output against operational systems, and the model was made available as part of ECMWF's operational suite in July 2023, where its charts can be searched under the name PANGU. Engineers adapt the ONNX files into their own pipelines in different languages, and educators use the repository to teach how a 3D deep learning model handles weather variables. Groups with limited compute can follow the lite-version training instructions released in July 2023.

Pangu-Weather alternatives

See all →

Frequently asked

6 questions
What does Pangu-Weather do?
It forecasts global weather with a 3D neural network, taking surface and upper-air data as input. Four models cover 1-hour, 3-hour, 6-hour and 24-hour lead times.
Who is it meant for?
Researchers in weather and climate science and machine learning engineers are the main audience. Running it requires comfort with Python and array-based data preparation.
How can longer forecasts be produced?
An iterative inference script chains the models together to reach longer lead times. Users can combine the 24-hour model repeatedly to extend the forecast range.
Is Pangu-Weather free to use?
The code, pseudocode and links to pre-trained models are published openly in the repository. There is no listed subscription, since it is a research release hosted on GitHub.
What are the practical hurdles?
Four ONNX models, about 1.1GB each, are downloaded separately from Google Drive or Baidu Netdisk. GPU use expects CUDA 11.6 and specific cuDNN versions.
Which languages and formats are supported?
Models are stored in ONNX format, so they can be used from Python, C++, C#, Java and other languages. The provided inference scripts are written in Python and use NumPy inputs.

Reviews (0)

Write review

No reviews yet. Be the first to share your experience.