Code is Science is back: the journal code policy tracker now covers 24 journals.See the tracker

Google open-sources GenFocal, an AI that turns coarse climate runs into local risk maps. What the release gets right for research code

GenFocal turns 150 km climate model output into 2-hourly weather on a 25 km grid. Google shipped the code, the trained weights and the data together, each with a DOI. That packaging is the part worth copying.

NewsBy the Code is Science editorsDec 3, 20265 min read
Line illustration of a coarse grid map of a coastline turning into a fine grid, with a hurricane spiral above and a laptop and server rack below
Key takeaways
  • On 30 November 2026 Google Research announced GenFocal, published in Nature Machine Intelligence, which downscales ~150 km climate projections to 2-hourly weather on a ~25 km grid.
  • In a 2010–2019 test it produced 80 North Atlantic tropical cyclones against 78 observed, where the raw coarse ensemble gave 17.
  • Code, pretrained weights, benchmarks and downscaled ensembles were released together, with Zenodo DOIs for the code and the weights.

On 30 November 2026 Google Research announced GenFocal, a machine-learning system that turns coarse global climate projections into local weather. The paper, by Zhong Yi Wan, Ignacio Lopez-Gomez, Leonardo Zepeda-Núñez and colleagues including Tapio Schneider of Caltech, appears in Nature Machine Intelligence. GenFocal takes model output on a grid of roughly 150 km with daily steps and produces 2-hourly weather on an approximately 25 km grid. That is fine enough to estimate the risk of a humid heatwave in one region or a hurricane on one stretch of coast.

The science is one story. For readers of this site, the other story is how the work was shipped: code on GitHub, the same code and the pretrained weights archived on Zenodo with their own DOIs, evaluation benchmarks, and the full downscaled ensembles on Google Cloud. It looks like a product release. Teams that do open source software development for a living treat the repository, the install guide and the release artefacts as part of the deliverable. In research groups they often come last, after the paper is accepted.

We have argued for this before in how to archive code with a DOI and why journals should require code. GenFocal is a useful worked example, including the parts that are still hard.

What did Google release?

According to the paper's code and data availability statements and the Google Research blog, the release has four parts:

  • Code. Models and evaluation protocols in the swirl-dynamics repository, a JAX/Flax library for machine learning of dynamical systems, split into a debiasing stage and a super-resolution stage.
  • Archived code. A snapshot on Zenodo (doi:10.5281/zenodo.21268077).
  • Weights. Pretrained checkpoints on Google Cloud and on Zenodo (doi:10.5281/zenodo.21285802).
  • Outputs. Training data and the debiased, downscaled ensembles on Google Cloud Storage.

What do the results show?

GenFocal came close to observed storm and heat statistics where the coarse model did not. For the North Atlantic over 2010–2019, the raw coarse ensemble (CESM2 LENS2) produced 17 distorted storms. GenFocal produced 80 tropical cyclones, against 78 observed in the ERA5 reanalysis. The model was trained on 1980–1999 and tested on 2010–2019 simulations. For summer heat over the contiguous United States, Google reports a 35% cut in extreme heat-index bias and a 44% cut in error for heat and humidity extremes occurring together. The aim, in the blog's words, is to capture such hazards “without the computational expense of regional physics simulations.”

What does it mean for research code?

A downscaled climate ensemble is only useful if someone else can check it, rerun it and build on it. Three choices in the GenFocal release make that possible.

Code, weights and outputs travel together

For a machine-learning method, the code alone does not reproduce a result. Without the weights, a reader has to retrain at great cost. Without the outputs, a planner who only needs the ensemble would have to run the model on their own hardware.

Each artefact has a citable, frozen version

The README installs from the main branch, which will keep moving. The Zenodo DOIs are what a paper, or a later study, should cite.

Hardware is stated up front

The README recommends an 80 GB A100, an H100, a B100 or a TPU v5p, with Python 3.12. That is honest, and it tells groups without such hardware to start from the released weights rather than retrain.

What can a lab copy from this?

  1. Release the trained model, not only the training script. Deposit weights next to the code, with a DOI.
  2. Freeze what the paper used. Tag a release and archive it; see our guide to reproducible environments.
  3. Write the hardware into the README. Say what it was run on and what the smallest workable setup is. Our README guide has a template.
  4. Publish outputs people actually need. For many users the downscaled data is the product; the code is how they trust it.

Questions about GenFocal

What is GenFocal?

A probabilistic machine-learning framework from Google Research, published in Nature Machine Intelligence. It takes global climate model output at about 150 km and daily steps and produces 2-hourly weather trajectories on an approximately 25 km grid, so that local risks such as heatwaves and tropical cyclones can be estimated.

What exactly was released?

Source code for the models and evaluation protocols on GitHub and Zenodo, pretrained model weights on Google Cloud and Zenodo, evaluation benchmarks, and downscaled climate ensembles on Google Cloud Storage. The code and the weights each have their own Zenodo DOI.

Can a university group run it?

In principle, yes, but not on a laptop. The README recommends a high-memory accelerator such as an 80 GB A100, an H100, a B100 or a TPU v5p, Python 3.12 and JAX. Using the released weights and ensembles avoids most of the training cost.

What should other labs copy from the release?

Publish code, weights and outputs together, give each a DOI, state the hardware needed, and cite the archived version in the paper rather than a moving branch of the repository.

Keep reading. More from the desk.