Journal Title /掲載ジャーナル名 |
Journal of Advances in Modeling Earth Systems |
Publication Year and Month /掲載年月 |
August, 2025 |
Paper Title /論文タイトル |
tmm4py: Global Ocean Biogeochemical Modeling in Python With the Transport Matrix Method |
DOI /論文DOI |
10.1029/2025MS005028 |
Author of Waseda University /本学の著者 |
KHATIWALA, Samar Prakash(Professor, Faculty of International Research and Education, School of International Liberal Studies):Lead Author, Correspoinding Author |
Related Websites /関連Web |
– |
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. |