Search NASA⌕ Search

DOE OSTI · 3030799

Best practices in software development for robust and reproducible geoscientific models based on insights from the Global Carbon Budget's dynamic vegetation models

Gregor, Konstantin [Technical Univ. of Munich (Germany)] (ORCID:0000000335133607)·Meyer, Benjamin F. [Technical Univ. of Munich (Germany)] (ORCID:0000000261932923)·Gaida, Tillmann [Goto10 GmbH, Munich (Germany)]·Justo Vasquez, Victor [Thoughtworks GmbH, Hamburg (Germany)]·Bett-Williams, Karina [Univ. of Exeter, Devon (United Kingdom); United Kingdom Meteorological Office, Exeter, Devon (United Kingdom)] (ORCID:000000021185535X)·Forrest, Matthew [Seckenberg Biodiversity and Climate Research Centre, Frankfurt (Germany)] (ORCID:0000000318583489)·Darela-Filho, João P. [Technical Univ. of Munich (Germany)] (ORCID:0000000202770370)·Rabin, Sam [National Center for Atmospheric Research (NCAR), Boulder, CO (United States)] (ORCID:0000000340951129)·Longo, Marcos [Lawrence Berkeley National Laboratory (LBNL), Berkeley, CA (United States); National Inst. for Space Research (Brazil)] (ORCID:0000000150626245)·Melton, Joe R. [Environment and Climate Change Canada, Victoria, BC (Canada)] (ORCID:000000029414064X)·Nord, Johan [Lund Univ. (Sweden)]·Anthoni, Peter [Karlsruhe Inst. of Technology (KIT) (Germany)] (ORCID:0000000154596506)·Bastrikov, Vladislav [Science Partners, Paris (France)]·Colligan, Thomas [Univ. of Maryland, College Park, MD (United States); NASA Goddard Space Flight Center (GSFC), Greenbelt, MD (United States)]·Delire, Christine [Univ. of Toulouse (France)] (ORCID:0000000261143211)·Dietze, Michael C. [Boston Univ., MA (United States)] (ORCID:0000000223242518)·Hurtt, George [Univ. of Maryland, College Park, MD (United States)] (ORCID:000000017278202X)·Ito, Akihiko [Univ. of Tokyo (Japan)] (ORCID:0000000152650791)·Keetz, Lasse T. [Univ. of Oslo (Norway)] (ORCID:0000000280404122)·Knauer, Jürgen [Univ. of Technology, Sydney (Australia)] (ORCID:0000000249477067)·Köster, Johannes [University of Duisburg-Essen (Germany)]·Lin, Tzu-Shun [National Center for Atmospheric Research (NCAR), Boulder, CO (United States)] (ORCID:0000000257418585)·Ma, Lei [Univ. of Maryland, College Park, MD (United States)]·Minvielle, Marie [Univ. of Toulouse (France)]·Olin, Stefan [Lund Univ. (Sweden)]·Ostberg, Sebastian [Potsdam Institute for Climate Impact Research (PIK) (Germany)] (ORCID:0000000223687015)·Shi, Hao [University of Chinese Academy of Sciences, Beijing (China)] (ORCID:0000000182500567)·Schnur, Reiner [Max Planck Inst. for Meteorology, Hamburg (Germany)] (ORCID:0000000273808313)·Sun, Qing [Univ. of Bern (Switzerland)] (ORCID:0000000307674721)·Thornton, Peter E. [Oak Ridge National Laboratory (ORNL), Oak Ridge, TN (United States)] (ORCID:0000000247595158)·Rammig, Anja [Technical Univ. of Munich (Germany)] (ORCID:0000000154258718)

Abstract

Computational models play an increasingly vital role in scientific research by enabling the numerical simulation of complex processes. Such models are also fundamental in geosciences. For instance, they offer critical insights into the impacts of global change on the Earth system today and in the future. Beyond their value as research tools, models are also software products and should therefore adhere to certain established software engineering standards. However, scientists are rarely trained as software developers, which can lead to potential deficiencies in software quality like unreadable, inefficient, or erroneous code. The complexity of models, coupled with their integration into broader workflows, also often makes it challenging to reproduce results, evaluate processes, and build upon them. In this paper, we review the state and current practices of the development processes of the state-of-the-art land surface models used by the Global Carbon Budget. We combine the experience of modelers from the respective research groups with the expertise of software engineers from tech companies to outline key principles and tools for improving software quality in research. We explore four main areas: (1) model testing and validation, (2) scientific, technical, and user documentation, (3) version control, continuous integration, and code review, and (4) the portability and reproducibility of workflows. Our review reveals that while modeling communities are incorporating many best practices, significant room for improvement remains in areas such as automated testing, automated documentation, and reproducibility. Therefore, we here identify and promote essential software engineering practices, including numerous examples of practices from within the community that can serve as guidelines for other models and could help streamline processes across the entire community. We conclude with an open-source example implementation of these principles, demonstrating portable and reproducible data flows, a continuous integration setup, and web-based visualizations. This example may serve as a practical resource for model developers, users, and all scientists engaged in scientific programming.

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Gregor, Konstantin [Technical Univ. of Munich (Germany)] (ORCID:0000000335133607), Meyer, Benjamin F. [Technical Univ. of Munich (Germany)] (ORCID:0000000261932923), Gaida, Tillmann [Goto10 GmbH, Munich (Germany)], Justo Vasquez, Victor [Thoughtworks GmbH, Hamburg (Germany)], Bett-Williams, Karina [Univ. of Exeter, Devon (United Kingdom); United Kingdom Meteorological Office, Exeter, Devon (United Kingdom)] (ORCID:000000021185535X), Forrest, Matthew [Seckenberg Biodiversity and Climate Research Centre, Frankfurt (Germany)] (ORCID:0000000318583489), Darela-Filho, João P. [Technical Univ. of Munich (Germany)] (ORCID:0000000202770370), Rabin, Sam [National Center for Atmospheric Research (NCAR), Boulder, CO (United States)] (ORCID:0000000340951129), Longo, Marcos [Lawrence Berkeley National Laboratory (LBNL), Berkeley, CA (United States); National Inst. for Space Research (Brazil)] (ORCID:0000000150626245), Melton, Joe R. [Environment and Climate Change Canada, Victoria, BC (Canada)] (ORCID:000000029414064X), Nord, Johan [Lund Univ. (Sweden)], Anthoni, Peter [Karlsruhe Inst. of Technology (KIT) (Germany)] (ORCID:0000000154596506), Bastrikov, Vladislav [Science Partners, Paris (France)], Colligan, Thomas [Univ. of Maryland, College Park, MD (United States); NASA Goddard Space Flight Center (GSFC), Greenbelt, MD (United States)], Delire, Christine [Univ. of Toulouse (France)] (ORCID:0000000261143211), Dietze, Michael C. [Boston Univ., MA (United States)] (ORCID:0000000223242518), Hurtt, George [Univ. of Maryland, College Park, MD (United States)] (ORCID:000000017278202X), Ito, Akihiko [Univ. of Tokyo (Japan)] (ORCID:0000000152650791), Keetz, Lasse T. [Univ. of Oslo (Norway)] (ORCID:0000000280404122), Knauer, Jürgen [Univ. of Technology, Sydney (Australia)] (ORCID:0000000249477067), Köster, Johannes [University of Duisburg-Essen (Germany)], Lin, Tzu-Shun [National Center for Atmospheric Research (NCAR), Boulder, CO (United States)] (ORCID:0000000257418585), Ma, Lei [Univ. of Maryland, College Park, MD (United States)], Minvielle, Marie [Univ. of Toulouse (France)], Olin, Stefan [Lund Univ. (Sweden)], Ostberg, Sebastian [Potsdam Institute for Climate Impact Research (PIK) (Germany)] (ORCID:0000000223687015), Shi, Hao [University of Chinese Academy of Sciences, Beijing (China)] (ORCID:0000000182500567), Schnur, Reiner [Max Planck Inst. for Meteorology, Hamburg (Germany)] (ORCID:0000000273808313), Sun, Qing [Univ. of Bern (Switzerland)] (ORCID:0000000307674721), Thornton, Peter E. [Oak Ridge National Laboratory (ORNL), Oak Ridge, TN (United States)] (ORCID:0000000247595158), Rammig, Anja [Technical Univ. of Munich (Germany)] (ORCID:0000000154258718). 2026-03-25. Best practices in software development for robust and reproducible geoscientific models based on insights from the Global Carbon Budget's dynamic vegetation models. https://doi.org/10.5194/gmd-19-2407-2026

Cite the original work for its findings. Save a collection to share your selection of sources.