AI summary · arXiv: 2610.35095v1 · physics.ao-ph

WRF-JAX v1.1.28: a differentiable regional weather model with fully coupled physics, numerically consistent with WRF and matching 128-process CPU performance on a single GPU

Shijin Yuan, Tianyu Shen, Bin Mu, Zhen Wei, Bo Qin, Guokun Dai
Original paper Submitted to arXiv on 26 Oct. 2026 License: CC BY 4.0 Also in: fr

How to read this summary? Illustrated guide

The essentials

WRF-JAX reproduces WRF’s coupled regional simulations near its internal numerical-difference baseline, matches measured 128-process CPU throughput on one GPU, and provides approximate gradients through fully coupled physics.

Question

Can a GPU reimplementation of WRF preserve coupled dynamics and physics while achieving numerical consistency, practical integration speed, and differentiation across time steps?

Method

The authors reimplemented WRF 4.5 dynamics and the CONUS physics suite in JAX, using progressive component translation and numerical checks against identical-input Fortran calculations. They evaluated 27 ten-day integrations across nine regions and three initialization months on a 700 × 700 grid at 3 km spacing, comparing against WRF parallel-decomposition and perturbed-initial-condition baselines and measuring single-A800 throughput against CPU WRF. A separate 100-step, fully coupled backpropagation experiment checked initial wind, potential-temperature, and water-vapour gradients using 500 full-field directions per variable at three perturbation amplitudes.

Findings

  • Result Wind, temperature, and moisture differences approached WRF’s own numerical-difference baseline, with median case-wise RMSE ratios of 1.05–1.07 at 24 hours and 1.02–1.04 at 240 hours.
    See the passage in the paper
    The WRF internal numerical-difference baseline established for all cases shows that the wind, temperature, and moisture errors in WRF-JAX are of similar magnitude to the reference model’s own long-term numerical differences: the median case-wise RMSE ratios are 1.05–1.07 at 24 h and 1.02–1.04 at 240 h.
  • Result One A800 sustained 175.0 seconds per simulated hour, slightly outperforming the measured 128-process single-precision WRF configurations.
    See the passage in the paper
    The mean sustained integration time on a single A800 is 175.0 s per model hour, corresponding to speedups of 1.17 and 1.05 relative to 128-process single-precision WRF runs compiled with gfortran and ifort, respectively.
  • Result The 100-step gradient evaluation produced median directional-derivative discrepancies of 2.58–10.06%, with matching signs in all 6000 checks.
    See the passage in the paper
    The evaluation of 500 full-field directions per variable at three amplitudes provides 6000 finite-difference comparisons: median relative differences across variables and amplitudes range from 2.58 to 10.06 %, and all derivative signs agree.
  • Authors’ interpretation The authors interpret the approximate gradients as potential update signals for initial-field inversion and trainable model corrections, rather than demonstrating completed optimization applications.
    See the passage in the paper
    The resulting approximate gradients can serve as update signals for initial-field inversion and trainable correction modules; through the chain rule for initial-field or parameter mappings, the final-state objective can be connected to upstream trainable variables, providing the differentiation interface needed for end-to-end optimization.

Limitations

  • The implementation covers the selected CONUS physics configuration rather than all WRF parameterization options.
    See the passage in the paper
    The scope of the WRF-JAX port comprises the WRF 4.5 ARW dynamical core and the CONUS physics suite; other, unselected parameterization schemes are outside the scope of this study.
  • Reported throughput excludes initialization, compilation, and output costs and therefore does not measure total application runtime.
    See the passage in the paper
    Performance is evaluated using sustained integration time, defined as the wall-clock seconds required for integration divided by the corresponding number of model hours, excluding initialization, compilation, and output costs.
  • Gradient agreement is limited by approximate derivative rules, non-smooth physics, and numerical errors in finite-difference references.
    See the passage in the paper
    Differences in gradient checks are therefore influenced jointly by approximate differentiation rules, model non-smoothness, and finite-difference numerical errors; they cannot all be attributed to errors in backpropagation itself.

Why it matters

The authors argue that WRF-JAX combines fully coupled regional forecasting, practical single-GPU execution, and approximate gradient computation within one framework. This provides a foundation for gradient-based initial-field adjustment, conditional nonlinear optimal perturbation problems, and future end-to-end training.

Written by AI from the paper. Passages are checked word for word against the text we analysed; the rest may contain errors.

AI-generated keywords: WRF-JAX; GPU acceleration; Automatic differentiation; Numerical consistency; Regional weather modelling

Read further

  • Comprehensive Summary
  • Layman's Summary
  • Blog article
  • Original abstract
This paper examines whether a regional weather model can combine WRF’s coupled dynamics and physical parameterizations with practical GPU performance and automatic differentiation while maintaining numerical consistency with the original implementation. The authors introduce WRF-JAX v1.1.28, a JAX reimplementation of the WRF 4.5 dynamical core and complete CONUS physics suite. Its scope encompasses Thompson microphysics, RRTMG radiation, surface exchange, Noah land-surface processes, Mellor–Yamada–Janjic boundary-layer mixing, and modified Tiedtke convection, but not every parameterization available in WRF. Development followed a progressive, verification-driven approach. Runtime coverage and call-dependency analysis identified relevant calculations and guided their translation. Temporary Fortran interfaces maintained full physics coupling during development and were removed once the corresponding components had been translated. Comparisons at matching computational stages assessed inputs, tendencies, persistent states, numerical precision, branching, and update timing. GPU acceleration relied on staged compilation, parallel processing of independent atmospheric columns, reusable executables, and controlled memory management. Reverse-mode automatic differentiation propagated sensitivities through the coupled forecast, with checkpointing and recomputation used to manage storage requirements. Numerical evaluation comprised 27 ten-day integrations across nine geographically diverse regions, initialized in March, July, and November 2021. Each integration used 3 km horizontal spacing, a 700-by-700 horizontal grid, 44 atmospheric mass levels, and an 18-second time step. Both implementations received identical initial and lateral boundary data. Crucially, the authors evaluated differences between WRF-JAX and a WRF reference against WRF’s own numerical variability. The principal baseline consisted of two 128-process WRF runs with different domain decompositions. Additional six-hour experiments used ten-member ensembles generated by perturbing initial potential temperature by one unit in the last place. Differences between WRF-JAX and WRF closely tracked these internal variability baselines. For three-dimensional wind, potential temperature, and water vapour, median case-wise root-mean-square error (RMSE) ratios relative to the domain-decomposition baseline were approximately 1.05–1.07 at 24 hours and 1.02–1.04 at 240 hours. At day ten, median WRF-JAX RMSEs were 1.035 and 0.980 metres per second for the two horizontal wind components, 0.396 K for potential temperature, and 0.457 grams per kilogram for water vapour. Near-surface, radiation, and precipitation comparisons generally supported similar numerical consistency, although accumulated explicit precipitation had a median RMSE ratio of 1.091. Six additional tropical-cyclone cases produced broadly consistent simulated tracks across the two implementations. On one NVIDIA A800 GPU, the mean sustained integration time was 175.0 seconds per simulated hour. This corresponded to speedups of 1.175 and 1.052 relative to 128-process single-precision WRF runs compiled with gfortran and ifort, respectively. These measurements excluded initialization, compilation, and input/output and therefore describe sustained integration performance rather than total workflow time. Differentiability was demonstrated over 100 steps, equivalent to 30 minutes, with all selected physics enabled. A single reverse-mode calculation produced gradients for the complete initial wind, potential-temperature, and water-vapour fields. Checks using 500 directions per variable and three perturbation amplitudes yielded median directional-derivative discrepancies of 2.58–5.22% for zonal wind, 2.94–6.49% for meridional wind, 7.86–10.06% for temperature, and 3.51–3.91% for moisture. All 6,000 comparisons agreed in sign. The authors conclude that WRF-JAX provides a practical foundation for gradient-based initial-condition adjustment and end-to-end optimization. Important limitations remain. Gradients are approximate because of thresholds, discrete lookups, custom derivative rules, and floating-point effects. Differentiation was validated only over a short window and for a single objective, while numerical agreement with WRF does not establish forecast skill against observations. Comparisons with other GPU implementations also involve differing configurations. Replacing conventional physics with smooth AI parameterizations and demonstrating effective optimization remain priorities for future work.

Was this synthesis useful?

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Figures and plots

Ask about a figure by number or use its question button to request visual analysis. Up to two figures and four image panels per question. Values read from plots are approximate; check the original data.

AI assistant instructions?

Tools for this paper

Explain it differently 3 free rewrites left today
Save to a collection Group papers in collections to compare them, chat with them and export them. Create a free account Log in

Advanced tools Premium

For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium

Zotero
Citation alerts Citation alerts guide
Weekly letter Presented in "Climate and Earth this week" of 2 November 2026. Climate and Earth this week: Protection is not the same as resilience

Papers around this one

See them on a map

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Close Broader context
    reGRAF: a global MPAS reforecast data set with convection-allowing refinements over the US and Europe
    T. Hamill, Akshay Subramaniam, Montgomery L. Flora et al. · 2026 · Not summarized yet

    reGRAF provides GPU-generated global MPAS reforecasts with convection-allowing regional mesh refinement, whereas WRF-JAX reimplements a regional WRF model.

    Abstract

    NVIDIA and The Weather Company (TWC) have generated a data set of reforecasts from TWC's GRAF (Global high-Resolution Atmospheric Forecasting) model, a version of the National Center for Atmospheric Research (NCAR) Model for Predictions Across Scales (\href{https://ncar.ucar.edu/what-we-offer/models/model-prediction-across-scales-mpas}{\underline{MPAS}}). GRAF is global, but the configuration for this reforecast had a mesh refinement to \textasciitilde4 km over the US, Caribbean Basin, and Europe, and 15 km elsewhere. This model was designed to run much of the computation on graphical processing units (GPUs), with this development assisted by NVIDIA. The 1836 reforecast cases (\textasciitild…

  2. Close Broader context
    Toward GPU-Resident Climate Models: A Feasibility Study on Lossy Compression for the Spherical Harmonic Transform's Communication Bottleneck
    L. Breschi, Flavio Vella · 2026 · Not summarized yet

    This study tests lossy compression to reduce GPU-resident climate models’ spherical-harmonic communication bottleneck, rather than reimplementing WRF dynamics and physics.

    Abstract

    Operational pseudospectral atmospheric models such as the ECMWF Integrated Forecasting System (IFS) run today almost exclusively on CPUs; GPU ports are under active development but not yet used in production. These models rely on the Spherical Harmonic Transform (SHT). Each time-step requires forward and inverse SHTs, and both passes depend on global pencil transposition that redistribute multi-dimensional arrays across compute nodes. At large node counts these global collectives dominate wall-clock time. We investigate GPU-resident lossy compression, using representative fields from the DYAMOND high-resolution operational dataset as input, and combining measured GPU compression throughput w…

  3. Close Another approach to the problem
    GPU-accelerated three-dimensional variational data assimilation with automatic differentiation for WRF-Chem
    Han-Cheng Ye, Zeng-Liang Zang, Wei You et al. · 2026 · Geoscientific Model Development · Not summarized yet

    PY3DVar uses GPU-accelerated automatic differentiation for WRF-Chem data assimilation, while WRF-JAX differentiates through coupled regional forecasts.

    Abstract

    This study developed a PyTorch-based three-dimensional variational (3DVar) data assimilation system (PY3DVar) for the Weather Research and Forecasting model coupled to Chemistry (WRF-Chem), which integrates automatic differentiation (AD) to replace traditional manual gradient derivation and adopts Graphics Processing Unit (GPU) acceleration for high computational efficiency. PY3DVar enables the simultaneous assimilation of gaseous pollutants (SO 2 , NO 2 , CO, O 3 ) and particulate matter (PM 2.5 , PM 10 ) and supports flexible deployment on both Central Processing Unit (CPU) and GPU computing platforms. Idealized tests were first conducted to verify the physical consistency of the assimilat…

  4. Close* Groundwork for this paper Cited by this paper
    A Description of the Advanced Research WRF Model Version 4
    C. Skamarock, B. Klemp, J. Dudhia et al. · 2019 · cited 1,712 times · Not summarized yet

    The WRF version 4 description documents the model whose dynamics and physics WRF-JAX reimplements.

  5. Close Broader context
    THE VERY-SHORT-RANGE NUMERICAL WEATHER AND THREATS OF HAZARD FORECAST BASED ON CONVECTIVE-RESOLVING MODELING WITH CONTINUOUS DATA ASSIMILATION
    D. V. Blinov, G. Rivin, A. Bundel et al. · 2026 · Proceedings of the YSU C: Geological and Geographical Sciences · Not summarized yet

    This system produces short-range regional forecasts with continuous data assimilation, while WRF-JAX focuses on a differentiable GPU implementation.

    Abstract

    The regional atmospheric modeling systems, which refine the results of global models, are currently actively used as a means of numerical weather forecasting for the coming days and hours. Using non-hydrostatic approach and grid spacing of several kilometers or less, these systems not only take into account complex geographical features of the terrain in detail but can also realistically predict complex weather formation mechanisms, including those associated with convection. Thе presentation is devoted to the description and results analysis of a continuously operating system for regional data assimilation and hourly numerical forecast updates for the next 12 h. It is based on the convectiv…

  6. Close Same method, another problem
    Technical note: A physically based correction of WRF temperature using atmospheric lapse rates for high-resolution hydrological simulations in a glacierized catchment
    F. Hofmeister, Xin-Yang Fan, M. Pfeiffer et al. · 2026 · Hydrology and Earth System Sciences · Not summarized yet

    This study uses WRF for high-resolution regional downscaling, applying its output to glacierized-catchment hydrology rather than differentiable GPU forecasting.

    Abstract

    This technical note presents a physically based post-processing workflow for correcting coarse-resolution regional climate model output used to force high-resolution hydrological models in high-elevation, glacierized catchments. The Weather Research and Forecasting (WRF) model was used to dynamically downscale the 20th Century Reanalysis Version 3 (20CRv3; 1° × 1°, 3-hourly) to a spatial resolution of 2 km and an hourly temporal resolution for the period 1969–2015. Evaluation of WRF output in the upper Kauner Valley (Austria) revealed a pronounced cold bias in the diagnosed 2 m temperature at elevations above 2600 m above sea level, which was attributed to the coarse representation of snow- …

  7. Related Another approach to the problem
    Optimizer-Dependent Trade-Offs in Variational Multiple-Doppler Wind Retrieval: A Comparison of Adam, L-BFGS, and Newton-CG
    Seong-Jun Hwang, Ji-Sun Lee, Dong-In Lee et al. · 2026 · Atmosphere · Not summarized yet

    This study applies GPU automatic differentiation to variational Doppler-wind retrieval, rather than differentiating through WRF’s coupled forecast time steps.

    Abstract

    The Wind Synthesis System using Doppler Measurements (WISSDOM) retrieves three-dimensional winds by minimizing a variational objective that combines Doppler-radar observations and physical constraints. Using a common Python implementation with PyTorch (2.9.1+cu130) automatic differentiation on an NVIDIA GPU, this study compared Adam, limited-memory Broyden–Fletcher–Goldfarb–Shanno (L-BFGS), and trust-region Newton conjugate-gradient (Newton-CG) for the same Typhoon Bavi case, initial wind field, and objective. At solver-specific stopping points, all three methods substantially reduced the objective and produced broadly similar principal horizontal- and vertical-wind structures. L-BFGS and Ne…

  8. Related Same method, another problem
    SD3: The First Operationally-Proven, Fully Heterogeneous-Accelerated Global Kilometer-Scale Model with Inline Physics Architecture
    Yuan Liang, X. Hu, Xi Chen et al. · 2026 · Not summarized yet

    SD3 builds a GPU-accelerated weather model with coupled physics, applying that approach to global kilometer-scale forecasting rather than regional WRF.

    Abstract

    We present Super Dynamics on the Cube (SD3), the first operationally-proven, fully heterogeneous-accelerated global kilometer-scale model. Through a full-stack reconstruction in native CUDA C, SD3 introduces an"Inline Physics"architecture that deeply couples its non-hydrostatic cubed-sphere dynamical core with fast physical processes. This design maintains high physical consistency, ensures energy and mass conservation, and mitigates"Grey Zone"mismatches. Five years of continuous operational forecasting, together with validation against diverse observations, demonstrates the scientific fidelity of SD3. Recently, SD3 achieved an unprecedented 205.7 simulated days per day at global 1.5 km reso…

Prior work it builds on

  1. Related* Groundwork for this paper Used in depth by this paper
    Explicit Forecasts of Winter Precipitation Using an Improved Bulk Microphysics Scheme. Part II: Implementation of a New Snow Parameterization
    G. Thompson, P. Field, R. Rasmussen et al. · 2008 · Monthly Weather Review · cited 2,935 times · Not summarized yet

    This paper describes a snow parameterization relevant to the WRF physics suite that WRF-JAX implements.

  2. Related Broader context Used in depth by this paper
    Important factors in the tracking of tropical cyclones in operational models
    T. Marchok · 2021 · Journal of Applied Meteorology and Climatology · cited 39 times · Not summarized yet

    This study evaluates tropical-cyclone tracking configurations in operational forecasts, a downstream forecasting topic distinct from WRF-JAX’s model implementation.

    Abstract

    Multiple configurations of the Geophysical Fluid Dynamics Laboratory vortex tracker are tested to determine a setup that produces the best representation of a model forecast tropical cyclone center fix for the purpose of providing track guidance with the highest degree of accuracy and availability. Details of the tracking algorithms are provided, including descriptions of both the Barnes analysis used for center-fixing most variables and a separate scheme used for center-fixing wind circulation. The tracker is tested by running multiple configurations on all storms from the 2015-2017 hurricane seasons in the Atlantic and eastern Pacific Basins using forecasts from two operational National We…

  3. Related Broader context
    More accuracy with less precision
    S. Lang, A. Dawson, M. Diamantakis et al. · 2021 · Quarterly Journal of the Royal Meteorological Society · cited 47 times · Not summarized yet

    This paper evaluates single-precision forecasts in ECMWF’s IFS, providing context for WRF-JAX’s numerical-precision and performance comparisons.

    Abstract

    Reducing the numerical precision of the forecast model of the Integrated Forecasting System (IFS) of the European Centre for Medium‐Range Weather Forecasts (ECMWF) from double to single precision results in significant computational savings without negatively affecting forecast accuracy. The computational savings allow to increase the vertical resolution of the operational ensemble forecasts from 91 to 137 levels earlier than anticipated and before the next upgrade of ECMWF's high‐performance computing facility. This upgrade to 137 levels harmonises the vertical resolution of the medium‐range deterministic forecasts and the medium‐range and extended‐range ensemble forecasts. Increasing the v…

  4. Related* Groundwork for this paper
    Improved Representation of Boundary Layer Clouds over the Southeast Pacific in ARW-WRF Using a Modified Tiedtke Cumulus Parameterization Scheme*
    Chunxi Zhang, Yu-Qing Wang, K. Hamilton · 2011 · Monthly Weather Review · cited 486 times · Not summarized yet

    This study modifies WRF’s Tiedtke cumulus scheme, a model-physics component within the scope of WRF-JAX’s physics implementation.

  5. Related Shared data, tool or method Used in depth by this paper
    A new ensemble-based consistency test for the Community Earth System Model (pyCECT v1.0)
    A. Baker, D. Hammerling, M. Levy et al. · 2015 · Geoscientific Model Development · cited 69 times · Not summarized yet

    pyCECT provides an ensemble-based software-consistency test for CESM, a verification resource for climate models rather than a weather-model reimplementation.

    Abstract

    Abstract. Climate simulation codes, such as the Community Earth System Model (CESM), are especially complex and continually evolving. Their ongoing state of development requires frequent software verification in the form of quality assurance to both preserve the quality of the code and instill model confidence. To formalize and simplify this previously subjective and computationally expensive aspect of the verification process, we have developed a new tool for evaluating climate consistency. Because an ensemble of simulations allows us to gauge the natural variability of the model's climate, our new tool uses an ensemble approach for consistency testing. In particular, an ensemble of CESM cl…

How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 2 November 2026.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.