WeatherNext WeatherNext 2 This repo contains the code for WeatherNext 2 (WN2), the global, medium-range atmospheric and cyclone forecasting…
WeatherNext WeatherNext 2 This repo contains the code for WeatherNext 2 (WN2), the global, medium-range atmospheric and cyclone forecasting…
This repo contains the code for WeatherNext 2 (WN2), the global, medium-range atmospheric and cyclone forecasting model developed by Google DeepMind and Google Research.
It also contains code for prior generation models GraphCast and GenCast.
If you are interested in directly accessing daily data feeds of WN2 model outputs rather than running the model yourself, we provide them across multiple platforms:
This repository serves as the primary home for the WeatherNext family models. Alongside WN2, this repository also hosts the code and documentation for our legacy and specialized models:
This repository provides code to run the different versions of WeatherNext 2 and WeatherNext Cyclones. The only difference between them is that WN2 can also predict 100m wind. In particular, WN2 also forecasts cyclones with the exact same algorithm as WN Cyclones. Their weights are different due to independent training runs.
WeatherNext2_<2025_model{1,2,3,4}.npz.WeatherNextCyclones_<2025_model{1,2,3,4}.npz.WeatherNextCyclones_<2024_model{1,2,3,4}.npz.WeatherNextCyclones_<2023_model{1,2,3,4}.npz.WeatherNextCyclones_Mini_<2024.npz.WeatherNextCyclones_Mini_<2023.npz.Evaluation results for WeatherNextCyclones_Mini can be found in the appendix of the WeatherNext Cyclones Paper.
The easiest way to get started with WeatherNext 2 is by running our interactive
Colab Notebook, which can be opened from
Colaboratory.
This notebook defaults to WeatherNext Cyclones Mini, which we recommend running
using the v5e-1 runtime, available for free as a Colab runtime. However, the
notebook can also be used to run the other models enumerated above (but these
will require a v5p accelerator).
In general, we recommend running WeatherNext 2 on TPU where possible, since its implementation has been optimised for it. However, if choosing to run on GPU, the attention implementation must be switched, as shown in the demo notebook. The non-Mini models require H100 for sufficient VRAM. The Mini models should manage inference on a P100.
Pre-trained weights and sample data are available on our Google Cloud Bucket.
Inside the notebook, you will learn how to:
[!NOTE] This is research code provided as-is for the purpose of running and experimenting with the published models. There are no guarantees of API stability and future updates may introduce breaking changes without notice. We recommend pinning to a specific release.
E.g.:
pip install git+https://github.com/google-deepmind/[email protected]To run WeatherNext 2 or WeatherNext Cyclones, you will need to download the pre-trained model weights. You can access the weights on Google Cloud Bucket.
The utils/ directory contains shared libraries used by multiple WeatherNext
models, providing common infrastructure for autoregressive rollouts, input
normalization, graph building blocks, loss computation, and JAX-compatible
xarray utilities. See the per-model READMEs for model-specific code.
Full model training requires downloading the ERA5 dataset from ECMWF, best accessed as Zarr via WeatherBench2.
Operational fine-tuning data is available via WeatherBench2's HRES data.
These datasets may be governed by separate terms and conditions. Check that you can comply with any applicable restrictions before use.
Copyright 2026 Google LLC.
The Colab notebooks and the associated code are licensed under the Apache License, Version 2.0 (Apache 2.0); you may not use these materials except in compliance with the Apache 2.0 license. You may obtain a copy of the License at: https://www.apache.org/licenses/LICENSE-2.0.
All other materials are licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0). You may obtain a copy of the License at: https://creativecommons.org/licenses/by/4.0/.
Unless required by applicable law or agreed to in writing, all software and materials distributed here under the Apache 2.0 or CC-BY 4.0 licenses are distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the licenses for the specific language governing permissions and limitations under those licenses.
This is not an officially supported Google product.
The WeatherNext models are part of an experimental research project. You are solely responsible for determining the appropriateness of using or distributing these models or any outputs they generate, and you assume all risks associated with such use or distribution and your exercise of rights and permissions granted by Google under the relevant license. Use discretion before relying on, publishing, downloading, or otherwise using these models or any of their outputs.
The WeatherNext models have not been produced in collaboration with nor endorsed by any government meteorological agency or department, and in no way replaces official alerts, warnings or notices published by such agencies.
If you use any of the WeatherNext family of models in your research, please cite our papers:
WeatherNext 2 or WeatherNext Cyclones
…@article{alet2025skillful,
title={Skillful joint probabilistic weather forecasting from marginals},
author={Alet, Ferran and Price, Ilan and El-Kadi, Andrew and Masters, Dominic and Markou, Stratis and Andersson, Tom R and Stott, Jacklynn and Lam, Remi and Willson, Matthew and Sanchez-Gonzalez, Alvaro and Battaglia, Peter},
journal={arXiv preprint arXiv:2506.10772},
year={2025}
}WeatherNext 1 Gen (GenCast)
@article{price2024gencast,
title={Probabilistic weather forecasting with machine learning},
author={Price, Ilan and Sanchez-Gonzalez, Alvaro and Alet, Ferran and Andersson, Tom R and El-Kadi, Andrew and Masters, Dominic and Ewalds, Timo and Stott, Jacklynn and Mohamed, Shakir and Battaglia, Peter and Lam, Remi and Willson, Matthew},
journal={Nature},
volume={637},
number={8044},
year={2024},
publisher={Nature Publishing Group},
doi={10.1038/s41586-024-08252-9}
}WeatherNext 1 Graph (GraphCast)
@article{lam2023learning,
title={Learning skillful medium-range global weather forecasting},
author={Lam, Remi and Sanchez-Gonzalez, Alvaro and Willson, Matthew and Wirnsberger, Peter and Fortunato, Meire and Alet, Ferran and Ravuri, Suman and Ewalds, Timo and Eaton-Rosen, Zach and Hu, Weihua and others},
journal={Science},
volume={382},
number={6677},
pages={1416--1421},
year={2023},
publisher={American Association for the Advancement of Science}
}The WeatherNext models communicate with the following separate libraries and packages:.
Additionally, the colab notebooks include a few examples of ECMWF’s ERA5 and HRES data that can be used as input to the models.
Neither the European Commission nor ECMWF is responsible for
GraphCast-Lite: Running 0.25° (37 levels) FP32 model on 8GB VRAM consumer GPUs
ERROR: pip's dependency
Graphcast Operational training protocol
Xarray version 2026.4.0 breaks GraphCast Demo Notebook: Passing a Dataset to the constructor is not supported
Xarray version 2026.4.0 breaks GraphCast Demo Notebook: "time" coord parsed as `int32` instead `timedelta64`
GenCast autoregressive rollout fails with JaxArrayWrapper / DynamicJaxprTracer __array_ufunc__ TypeError on both GPU and Colab TPU
UserWarning: no explicit representation of timezones available for np.datetime64
How to run graphcast inference on era5 data for 1 day prediction.
GraphCast to GenCast: Input File Changes?
Removing receiver conditioning in graph network