EGU25-14018, updated on 15 Mar 2025
https://doi.org/10.5194/egusphere-egu25-14018
EGU General Assembly 2025
© Author(s) 2025. This work is distributed under
the Creative Commons Attribution 4.0 License.
Poster | Tuesday, 29 Apr, 10:45–12:30 (CEST), Display time Tuesday, 29 Apr, 08:30–12:30
 
Hall X5, X5.101
A composable climate model in pure Julia 
Simone Silvestri, Gregory Wagner, Milan Klower, Maximilian Gelbrecht, and Navid Constantinou
Simone Silvestri et al.
  • Massachusetts Institute of Technology

Coupled general circulation models of atmosphere and ocean form the heart of every earth-system model. Currently,  the only languages used to write a model at that complexity are Fortran and C, which are limited by traditional programming patterns. However, modern languages like Python and Julia shine with interactivity, accessibility, and extensibility, yet a coupled model of that complexity, written in a modern language, has not yet been attempted. Here, we present a coupled climate model implemented entirely in the Julia programming language. The model integrates an atmospheric component based on the SpeedyWeather.jl library with the ClimaOcean.jl package for ocean and sea-ice dynamics. This approach leverages Julia's strengths combining computational efficiency with a high-level programming interface. The result is a climate modeling framework that maintains computational efficiency without sacrificing flexibility. The dynamical core employs high-order numerical methods, combining Weighted Essentially Non-Oscillatory (WENO) advection schemes in the ocean and spectral methods in the atmosphere, ensuring a robust and accurate representation of transport processes. A high-level interface for coupling the codes is introduced, which is distinctly more flexible than traditional couplers. This interface allows running coupled simulations on laptops as well as high-performance computing (HPC) resources. We will present initial results from coupled idealized simulations, highlighting key features such as boundary currents in the ocean, convective patterns in the atmosphere, and air-sea interactions.

How to cite: Silvestri, S., Wagner, G., Klower, M., Gelbrecht, M., and Constantinou, N.: A composable climate model in pure Julia , EGU General Assembly 2025, Vienna, Austria, 27 Apr–2 May 2025, EGU25-14018, https://doi.org/10.5194/egusphere-egu25-14018, 2025.