--- license: cc-by-nc-sa-4.0 tags: - weather-forecasting - climate language: - en pretty_name: DeepMind GraphCast --- # DeepMind GraphCast This repo contains the weights for `GraphCast`, the high-resolution model used in the GraphCast paper (0.25 degree resolution, 37 pressure levels), trained on ERA5 data from 1979 to 2017. - Original repo: https://github.com/google-deepmind/graphcast - Original files are from this Google Cloud Bucket: https://console.cloud.google.com/storage/browser/dm_graphcast ## License and Attribution The model weights are released by Google DeepMind. The model weights are made available for use under the terms of the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0). You may obtain a copy of the License at: https://creativecommons.org/licenses/by-nc-sa/4.0/. ## Usage You can load the model like so: ```python from graphcast import checkpoint from huggingface_hub import hf_hub_download REPO_ID = "shermansiu/dm_graphcast" FILENAME = "GraphCast - ERA5 1979-2017 - resolution 0.25 - pressure levels 37 - mesh 2to6 - precipitation input and output.npz" with open(hf_hub_download(repo_id=REPO_ID, filename=FILENAME), "rb") as f: ckpt = checkpoint.load(f, graphcast.CheckPoint) params = ckpt.params state = {} model_config = ckpt.model_config task_config = ckpt.task_config ``` For more details, check out https://github.com/shermansiu/graphcast/blob/main/graphcast_demo_hf.ipynb ## Citation - Paper: https://www.science.org/doi/10.1126/science.adi2336 - Preprint: https://arxiv.org/abs/2212.12794 ``` @article{ doi:10.1126/science.adi2336, author = {Remi Lam and Alvaro Sanchez-Gonzalez and Matthew Willson and Peter Wirnsberger and Meire Fortunato and Ferran Alet and Suman Ravuri and Timo Ewalds and Zach Eaton-Rosen and Weihua Hu and Alexander Merose and Stephan Hoyer and George Holland and Oriol Vinyals and Jacklynn Stott and Alexander Pritzel and Shakir Mohamed and Peter Battaglia }, title = {Learning skillful medium-range global weather forecasting}, journal = {Science}, volume = {382}, number = {6677}, pages = {1416-1421}, year = {2023}, doi = {10.1126/science.adi2336}, URL = {https://www.science.org/doi/abs/10.1126/science.adi2336}, eprint = {https://www.science.org/doi/pdf/10.1126/science.adi2336}, abstract = {Global medium-range weather forecasting is critical to decision-making across many social and economic domains. Traditional numerical weather prediction uses increased compute resources to improve forecast accuracy but does not directly use historical weather data to improve the underlying model. Here, we introduce GraphCast, a machine learning–based method trained directly from reanalysis data. It predicts hundreds of weather variables for the next 10 days at 0.25° resolution globally in under 1 minute. GraphCast significantly outperforms the most accurate operational deterministic systems on 90\% of 1380 verification targets, and its forecasts support better severe event prediction, including tropical cyclone tracking, atmospheric rivers, and extreme temperatures. GraphCast is a key advance in accurate and efficient weather forecasting and helps realize the promise of machine learning for modeling complex dynamical systems. The numerical models used to predict weather are large, complex, and computationally demanding and do not learn from past weather patterns. Lam et al. introduced a machine learning–based method that has been trained directly from reanalysis data of past atmospheric conditions. In this way, the authors were able to quickly predict hundreds of weather variables globally up to 10 days in advance and at high resolution. Their predictions were more accurate than those of traditional weather models in 90\% of tested cases and displayed better severe event prediction for tropical cyclones, atmospheric rivers, and extreme temperatures. —H. Jesse Smith Machine learning leads to better, faster, and cheaper weather forecasting.}} ```