EGU26-1927, updated on 13 Mar 2026
https://doi.org/10.5194/egusphere-egu26-1927
EGU General Assembly 2026
© Author(s) 2026. This work is distributed under
the Creative Commons Attribution 4.0 License.
Oral | Thursday, 07 May, 14:05–14:15 (CEST)
 
Room -2.15
Differentiable Atmospheric Modelling with SpeedyWeather.jl 
Maximilian Gelbrecht1,2, Milan Klöwer3, Brian Groenke1, and Niklas Boers2,1,4
Maximilian Gelbrecht et al.
  • 1Potsdam Institute for Climate Impact Research, Potsdam, Germany (gelbrecht@pik-potsdam.de)
  • 2TUM School of Engineering and Design, Technical University of Munich, Ottobrun, Germany
  • 3Department of Physics, University of Oxford, Oxford, UK
  • 4University of Exeter, Exeter, UK

The current generation of hybrid machine learning and physics-informed machine learning is often limited by the missing availability of comprehensive differentiable models: either strongly simplified models have to be used or machine learning (ML) can’t be integrated natively into process-based models and must be trained separately. Here, we present the ongoing development of SpeedyWeather.jl: A general circulation model that’s differentiable, GPU-capable and ready for ML simulations. SpeedyWeather.jl is a spectral atmospheric GCM with a primitive equation core on flexible grid implementations from Gaussian to HEALPix. It contains simple yet interactive representations of ocean, land and sea ice for coupled climate simulations. With a user interface made for modularity and interactivity, it’s ideally suited as a framework for hybrid atmospheric models. For example, new parameterizations can be defined without any lines of code for GPU or differentiability specifics, yet integrate seamlessly into those. We document the process to achieve differentiability of our model using the general purpose automatic differentiation library Enzyme, problems we encountered and solutions we found. We demonstrate the differentiability with a sensitivity analysis of our model, initial developments of data-driven parameterizations, and give an outlook on the development of differentiable Earth system models. 

How to cite: Gelbrecht, M., Klöwer, M., Groenke, B., and Boers, N.: Differentiable Atmospheric Modelling with SpeedyWeather.jl , EGU General Assembly 2026, Vienna, Austria, 3–8 May 2026, EGU26-1927, https://doi.org/10.5194/egusphere-egu26-1927, 2026.