A Fortran–Python interface for integrating machine learning parameterization into earth system models

Parameterizations in earth system models (ESMs) are subject to biases and uncertainties arising from subjective empirical assumptions and incomplete understanding of the underlying physical processes. Recently, the growing representational capability of machine learning (ML) in solving complex probl...

Full description

Saved in:
Bibliographic Details
Published inGeoscientific Model Development Vol. 18; no. 6; pp. 1917 - 1928
Main Authors Zhang, Tao, Morcrette, Cyril, Zhang, Meng, Lin, Wuyin, Xie, Shaocheng, Liu, Ye, Van Weverberg, Kwinten, Rodrigues, Joana
Format Journal Article
LanguageEnglish
Published Katlenburg-Lindau Copernicus GmbH 24.03.2025
Copernicus Publications, EGU
Copernicus Publications
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:Parameterizations in earth system models (ESMs) are subject to biases and uncertainties arising from subjective empirical assumptions and incomplete understanding of the underlying physical processes. Recently, the growing representational capability of machine learning (ML) in solving complex problems has spawned immense interests in climate science applications. Specifically, ML-based parameterizations have been developed to represent convection, radiation, and microphysics processes in ESMs by learning from observations or high-resolution simulations, which have the potential to improve the accuracies and alleviate the uncertainties. Previous works have developed some surrogate models for these processes using ML. These surrogate models need to be coupled with the dynamical core of ESMs to investigate the effectiveness and their performance in a coupled system. In this study, we present a novel Fortran–Python interface designed to seamlessly integrate ML parameterizations into ESMs. This interface showcases high versatility by supporting popular ML frameworks like PyTorch, TensorFlow, and scikit-learn. We demonstrate the interface's modularity and reusability through two cases: an ML trigger function for convection parameterization and an ML wildfire model. We conduct a comprehensive evaluation of memory usage and computational overhead resulting from the integration of Python codes into the Fortran ESMs. By leveraging this flexible interface, ML parameterizations can be effectively developed, tested, and integrated into ESMs.
Bibliography:ObjectType-Article-1
SourceType-Scholarly Journals-1
ObjectType-Feature-2
content type line 14
USDOE Office of Science (SC), Basic Energy Sciences (BES). Scientific User Facilities (SUF)
AC05-76RL01830; AC52-07NA27344; SC0012704; A05-76RL01830
USDOE Laboratory Directed Research and Development (LDRD) Program
PNNL-SA-197330
USDOE Office of Science (SC), Biological and Environmental Research (BER)
ISSN:1991-9603
1991-959X
1991-962X
1991-9603
1991-962X
DOI:10.5194/gmd-18-1917-2025