The diathermohaline stream function method for investigating the water mass transformation of the global ocean circulation (v2026.1)
Abstract. In this work, we present a source code for computing the diathermohaline stream function, enabling the analysis of Water Mass Transformation from gridded ocean data within the thermohaline framework. This implementation extends previous versions by increasing the precision of the projection from geographical to thermohaline space. Using Helmholtz decomposition, the stream function represents the rotational component of thermohaline transformation vectors, while the divergent component defines the tendency potential. We show that the dominant global driver of the tendency potential is the net freshwater imbalance across the ocean boundary. Together, the tendency potential and the diathermohaline stream function provide a powerful yet underutilized method for comparing global Water Mass Transformation across ocean models. We demonstrate the utility of this framework using data from a coupled climate model, hindcast simulations, and an ocean reanalysis product, all based on the NEMO ocean model and spanning multiple spatial resolutions. The implementation is modular and user friendly, facilitating straightforward application to a wide range of oceanographic data sets. The code can also be applied to study water mass transformation using any tracer coordinates and to compute the meridional overturning stream function for generalised coordinates.
Dear authors,
Unfortunately, after checking your manuscript, it has come to our attention that it does not comply with our "Code and Data Policy".
https://www.geoscientific-model-development.net/policies/code_and_data_policy.html
To access several of the datasets used in your manuscript you provide in the "Code and Data Availability" section many links that do not point to suitable repositories for scientific publication. Only two of the datasets are stored in repositories acceptable according to the policy of the journal, namely, the ESGF and Zenodo. None of the others is valid because:
- They do not appear to have a published policy for data preservation over many years or decades (some flexibility exists over the precise length of preservation, but the policy must exist).
- They do not appear to have a published mechanism for preventing authors from unilaterally removing material. Archives must have a policy which makes removal of materials only possible in exceptional circumstances and subject to an independent curatorial decision,
- They do not appear to issue a persistent identifier such as a DOI or Handle for each precise dataset.
If we have missed a published policy which does in fact address this matter satisfactorily, please post a response linking to it. If you have any questions about this issue, please post them in a reply.
The GMD review and publication process depends on reviewers and community commentators being able to access, during the discussion phase, the code and data on which a manuscript depends, and on ensuring the provenance of replicability of the published papers for years after their publication. Please, therefore, publish your code and data in one of the appropriate repositories and reply to this comment with the relevant information (link and a permanent identifier for it (e.g. DOI)) as soon as possible. We cannot have manuscripts under discussion that do not comply with our policy.
Later, if the Topical Editor decides to continue with the review or publication process of your manuscript and you are requested to upload a new version of it, then The 'Code and Data Availability’ section of your manuscript must also be modified to cite the new repository locations, and corresponding references added to the bibliography.
I must note that if you do not fix this problem, we cannot continue with the peer-review process or accept your manuscript for publication in GMD.
Juan A. Añel
Geosci. Model Dev. Executive Editor