DJ4Earth: Differentiable, and Performance‐Portable Earth System Modeling via Program Transformations

Journal of Advances in Modeling Earth Systems American Geophysical Union (AGU) 18:5 (2026)

Authors:

William S Moses, Gong Cheng, Valentin Churavy, Maximilian Gelbrecht, Milan Klöwer, Joseph Kump, Mathieu Morlighem, Sarah Williamson, Dhruv Apte, Paul Berg, Mosè Giordano, Christopher Hill, Nora Loose, Alexis Montoison, Sri Hari Krishna Narayanan, Avik Pal, Michel Schanen, Simone Silvestri, Greg Wagner, Patrick Heimbach

Abstract:

Abstract Differentiable Earth system models (ESMs) enable powerful applications such as sensitivity analysis, gradient‐based calibration, state estimation, boundary flux inversions, uncertainty quantification, and online machine learning. Reverse‐mode automatic differentiation (AD) efficiently provides gradients for such tasks, yet models have rarely included this capability because of complex, bespoke numerical algorithms. As part of the Differentiable programming in Julia for Earth system modeling (DJ4Earth) initiative, we present improved capabilities of the AD tool Enzyme.jl and the new compiler transpilation tool Reactant.jl, augmented by sophisticated checkpointing algorithms, which, together make general‐purpose AD tractable and efficient for full‐fledged ESM components written in Julia. Operating at the low‐level virtual machine intermediate representation or multi‐level intermediate representation compiler levels, these frameworks support mutable memory, custom kernels, and compiler optimizations before and after differentiation. Julia‐specific challenges related to just‐in‐time compilation and garbage collection are handled efficiently. Reactant further enables automatic performance portability across central processing units, graphics processing units, and tensor processing units, facilitating use of emerging AI‐customized high‐performance computing architectures. We demonstrate these frameworks on four Julia‐based ESM components featuring diverse spatial discretizations and numerical algorithms: the rotating‐sphere shallow water model ShallowWaters.jl, the finite‐volume ocean model Oceananigans.jl, the finite‐element ice sheet model DJUICE.jl, and the spectral atmospheric model SpeedyWeather.jl. Across these ESM components, our tools compute efficient and correct gradients. These results establish a foundation for differentiable, high‐performance and performance‐portable ESMs that can integrate neural networks for unresolved processes, trained online, enabling next‐generation hybrid physics–machine learning ESMs constrained by physical dynamics and observations. Plain Language Summary Earth system models are computer programs that simulate how Earth's atmosphere, ocean, ice, and biosphere interact and evolve. These models consist of millions of lines of code and rely on uncertain inputs. To improve accuracy, scientists adjust these inputs to minimize the difference between simulations and observations, measured by a “cost function.” Another computer program can efficiently determine how changes in each input affect the outcome. This calculation, called the gradient of the cost function, would be extremely time‐consuming to code manually. Instead, we use an automatic differentiation (AD) tool called Enzyme, which computes these gradients efficiently and updates them automatically whenever the model changes. As computing systems evolve rapidly, especially those optimized for artificial intelligence (AI), another tool called Reactant enables models to run efficiently across different hardware, from central processing units to graphics processing units and AI accelerators. We demonstrate these methods on four Earth system model components written in the modern programming language Julia: a shallow water model, an ocean model, an ice sheet model, and an atmospheric model. For each, the code generated via AD produces correct gradients of the cost function. This work lays the foundation for combining these differentiated models with machine learning to improve model accuracy efficiently. Key Points Four Earth system model components are successfully differentiated using the reverse mode of the automatic differentiation tool Enzyme The Julia‐based, graphics processing unit‐enabled models use bespoke numerics, with finite‐volume, finite‐element, and spectral spatial discretization schemes The compiler transpilation tool Reactant enables optimized, portable performance across diverse ML‐customized HPC architectures

Spatial Patterns of Shallow Clouds: Challenging the Concept of Defined Regimes

Geophysical Research Letters Wiley 53:8 (2026) e2025GL119921

Authors:

Giovanni Biagioli, Giulio Mandorli, Lilli Johanna Freischem, Alejandro Casallas, Adrian Mark Tompkins

Abstract:

Plain Language Summary: The representation of tropical shallow cloud systems is a major source of uncertainty in climate models. Shallow clouds have previously been observed to organize in a variety of patterns. Four distinct classes—fish, flowers, sugar, and gravel—were identified, each with differing spatial scales of cloud organization. Here we analyze high‐resolution geostationary visible and infrared satellite images using a function that can objectively assess organization of cloudy pixels across all spatial scales. We see that examples of the four “classical” patterns are clearly identifiable using this function, but that they do not show up as clearly preferred regimes, but rather as way‐markers in a smoothly evolving sea of cloud patterns. This means that representing these patterns in parameterization schemes might be challenging.

Location Is All You Need: Continuous Spatiotemporal Neural Representations of Earth Observation Data

ArXiv 2604.07092 (2026)

Authors:

Mojgan Madadikhaljan, Jonathan Prexl, Isabelle Wittmann, Conrad M Albrecht, Michael Schmitt

Aerosol effects on deep convective cloud microphysics and anvil lifecycle during TRACER using ICON HAM-lite

Copernicus Publications (2026)

Authors:

Maor Sela, Mathilde Ritman, Sadhitro De, Philip Stier

Abstract:

The radiative response of deep convective anvil clouds to anthropogenic aerosols is a major source of uncertainty. While aerosol-cloud interactions (ACI) in the convective core have been extensively studied, the microphysical mechanisms governing the full anvil lifecycle, from detrainment to dissipation, remain poorly constrained.This study examines the Cloud Radiative Effect (CRE) of deep convection through a microphysical process-rate lens. We perform three regional simulations with interactive aerosol using ICON-HAM-lite, comprising baseline, clean, and polluted runs. The simulations follow the TRACER-MIP protocol for a sea-breeze event over Houston, Texas. Using Lagrangian tracking with the tobac cloud tracking algorithm, we isolate individual convective cells and track their evolution from convective onset to the detrainment and dissipation of the resulting anvils. We then assess aerosol-cloud interactions over the lifecycle of the tracked cells by aligning their evolution with the onset of freezing, to ensure a consistent lifecycle comparison.Our results show that a 9-fold increase in aerosol concentration leads to a 2.5-fold increase in cloud droplet number concentration (CDNC). This suppresses warm-rain processes and enhances upward mass flux above the melting layer. As a result, it also lofts higher droplet concentrations, which can shape anvil characteristics by modulating the total ice surface area available for deposition and the net cross-section for riming. This creates a competition between enhanced riming, which promotes mass fallout, and increased vapour deposition, which sustains smaller ice crystals aloft. We conclude by investigating how these competing factors change the lifetime of the anvil and its net CRE.

Anthropogenic perturbations to anvil cloud radiative effects?

Copernicus Publications (2026)

Authors:

Philip Stier, William Jones, Mathilde Ritman, Maor Sela, Sadhitro De

Abstract:

The top-of-atmosphere net radiative effect of convective anvils is estimated to be close to zero and arises from a balance of significant short-wave cooling and long-wave warming over a complex diurnal cycle. When anvils are optically thick, the cooling due to daytime scattering of shortwave solar radiation dominates. In contrast, optically thin anvils have weaker scattering of solar radiation, so longwave warming becomes the dominant effect. Hence, it is essential to understand the controls of anvil radiative properties over the convective lifecycle, which arises from a complex interplay of convective cloud dynamics and microphysics. The convective mass flux modulates anvil extent, and changes in ice crystal size and morphology affect anvil lifetime and radiative properties. Convective anvils have been proposed to respond to global warming (cloud feedbacks) and anthropogenic aerosols (aerosol-cloud interactions). However, the associated uncertainties remain large and key relevant processes are not represented in the current generation of climate models. Emerging kilometre-scale climate models present new opportunities to examine these effects at the process level.In this work we bring together multiple research strands to quantify the controls of convective anvil clouds and associated radiative effects over the convective lifecycle towards understanding its sensitivity to climate and air pollution changes. We use the tobac cloud tracking framework to track convective cores and associated anvils in 4D across regional and global km-scale ICON model simulations which allows us to quantify the link between convective mass flux, anvil extent and anvil radiative properties. We apply this framework to regional high-resolution simulation of ICON coupled to HAM-lite, our reduced complexity aerosol model derived from the microphysical aerosol scheme HAM [Weiss et al., GMD, 2025], to explore the sensitivity of anvils and their radiative effects to aerosol perturbations in the context of the ORCHESTRA/EarthCARE Model Intercomparison Project (ECOMIP) as well as the TRACER campaign MIP. We find that an increase in aerosol increases cloud droplet numbers, suppresses warm rain formation, increases convective mass flux and thereby upper tropospheric ice water content and will discuss how these changes translate into anvil cloud radiative effects. Prototype next generation km-scale climate models are implicitly already including such anvil radiative effects; however, these currently remain unconstrained by observations. We develop novel observational constraints on the convective anvil cloud lifecycle through consistent tracking of convection using the tobac-flow cloud tracking framework [Jones et al., 2024] between MSG SEVIRI observations and forward simulated geostationary satellite radiances from ICON model output.  This reveals that deep convective systems in ICON grow too fast and show a faster dissipation of thick to thin anvils than observations, which affects their radiative effects. Our work provides novel approaches to improve our understanding of aerosol effects on convective clouds and climate.