Content area

Abstract

Marine biogeochemical models are important tools in the quest to understand the cycling of chemical and biological tracers such as nutrients, carbon and oxygen, as well as key components of the Earth System Models used to project climate change. Historically, given the need for speed, global scale modeling has been performed in compiled languages like Fortran. However, as high level scripting languages such as Python and Julia gain popularity, the need for models and tools accessible from them has become imperative. This paper introduces tmm4py, a Python interface to a redesigned version of the Transport Matrix Method (TMM) software, a computationally efficient numerical scheme for “offline” simulation of marine geochemical and biogeochemical tracers. The TMM provides a convenient framework for developing and testing new biogeochemical parameterizations, as well as running existing complex models driven by circulations derived from state‐of‐the‐art physical models. tmm4py exposes all of the TMM library's functionality in Python, including transparent parallelization, allowing users to not only interactively use models written in compiled languages, but also develop complex models in pure Python with performance similar to compiled code. tmm4py enables users to exploit the large Python‐based scientific software ecosystem, including libraries for machine learning and deploying models on Graphics Processing Units. The various features of tmm4py are described and illustrated through practical examples, including a full‐fledged biogeochemical model written entirely in Python.

Details

1009240
Title
tmm4py: Global Ocean Biogeochemical Modeling in Python With the Transport Matrix Method
Author
Khatiwala, Samar 1   VIAFID ORCID Logo 

 School of International Liberal Studies, Waseda University, Tokyo, Japan 
Publication title
Volume
17
Issue
8
Number of pages
19
Publication year
2025
Publication date
Aug 1, 2025
Section
Research Article
Publisher
John Wiley & Sons, Inc.
Place of publication
Washington
Country of publication
United States
Publication subject
e-ISSN
19422466
Source type
Scholarly Journal
Language of publication
English
Document type
Journal Article
Publication history
 
 
Online publication date
2025-08-09
Milestone dates
2025-07-02 (manuscriptRevised); 2025-08-09 (publishedOnlineFinalForm); 2025-02-16 (manuscriptReceived); 2025-07-15 (manuscriptAccepted)
Publication history
 
 
   First posting date
09 Aug 2025
ProQuest document ID
3243747988
Document URL
https://www.proquest.com/scholarly-journals/tmm4py-global-ocean-biogeochemical-modeling/docview/3243747988/se-2?accountid=208611
Copyright
© 2025. This work is published under http://creativecommons.org/licenses/by/4.0/ (the "License"). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.
Last updated
2025-09-29
Database
ProQuest One Academic