the Creative Commons Attribution 4.0 License.
the Creative Commons Attribution 4.0 License.
A hybrid framework for the spin-up and initialization of distributed coupled ecohydrological-biogeochemical models
Abstract. Accurate initialization is a critical step in fully distributed ecohydrological and soil biogeochemical modeling applications, yet often hindered by the computational cost of achieving steady-state conditions across large spatial domains. This study presents a novel initialization framework that combines a flux-tracking 1D spin-up with a random forest (RF) algorithm to efficiently generate spatially heterogeneous and topography-informed initial conditions accounting for lateral fluxes of water, carbon, and nutrients. The framework first performs a limited number of 1D simulations to obtain steady-state conditions in a subset of representative cells, then uses RF to extrapolate these results across the catchment. Applied to T&C-BG-2D, a fully coupled distributed ecohydrological-soil biogeochemical model, the scheme reconstructs spatial variability of soil carbon and nutrient patterns while reducing computational demands by up to 90 % compared to a fully distributed spin-up procedure. A sensitivity analysis across multiple simulation scenarios reveals that the number of tracked cells required, varying from 20 % to 40 % of total domain grid cells, depends on the catchment’s spatial complexity and the environmental covariates embedded in the RF predictors. The framework developed here can be easily applied to other spatially distributed models and across diverse catchments, enabling large-scale distributed ecohydrological-biogeochemical model initializations under constrained computational budgets.
- Preprint
(8598 KB) - Metadata XML
-
Supplement
(12741 KB) - BibTeX
- EndNote
Status: open (until 10 Feb 2026)
-
CEC1: 'Comment on egusphere-2025-4796 - No compliance with the policy of the journal', Juan Antonio Añel, 24 Dec 2025
reply
-
AC1: 'Reply on CEC1', Sara Bonetti, 30 Dec 2025
reply
Dear Prof. Dr. Juan A. Añel,
Thank you for your feedback and the detailed instructions on the GMD Code and Data Policy. We have now carefully revised the Code and Data Availability section of the manuscript to comply with these requirements. The main revisions are summarized below:
- For the T&C-BG-2D model, we have archived the exact model code used in this study in a persistent Zenodo repository (https://doi.org/10.5281/zenodo.18084473), thereby ensuring long-term availability, proper version control, and reproducibility.
- The existing Zenodo repository (https://doi.org/10.5281/zenodo.17213868) already contained all configuration files and spin-up codes for the T&C-BG-2D simulations. In the revised version, we have extended this repository to additionally include the exact code and configuration files used for the plot-scale simulations (T&C-BG) presented in this manuscript. A new version of the Zenodo repository has been created, and the README file has been updated to clearly document the contents and usage of these files.
- We used publicly available meteorological datasets provided by WSL as the original data source. We understand your concern regarding long-term availability of this data and the reproducibility of our results. Although according to the Envidat policy (https://www.envidat.ch/#/about/policies), deposited data are preserved as long as Envidat exists and arbitrary removal of material is prohibited, we further ensured reproducibility by archiving the actual forcing data used in the model simulations. Specifically, the meteorological data were pre-processed to generate the input file ‘Data_Erlenbach_run.mat’, which is the actual forcing used by the model. This file is also archived in the Zenodo repository (https://doi.org/10.5281/zenodo.17213868). As a result, any potential future changes in the original data source will not affect the reproducibility of the simulations presented in this manuscript. We have clarified this in the revised Code and Data availability section.
The revised Code and Data Availability section now reads as follows: The T&C-BG-2D model code is available in Zenodo (Lian et al., 2025a). The accompanying initialization procedures and setup files for both the two-dimensional and plot-scale simulations, as well as processed meteorological forcing used by the model and derived from publicly available datasets (Stähli, 2018), are also archived in Zenodo (Lian et al., 2025c).
We thank you for your help, and remain at your disposal for any further clarifications and questions.
Kind regards,
Taiqi Lian and Sara Bonetti (on behalf of all co-authors)
References
Lian, T., Fatichi, S., and Bonetti, S.: TeC_BG_2D Ecohydrological Model: V1.0.0, https://doi.org/10.5281/ZENODO.18084473, 2025a.
Lian, T., Zhang, Z., Paschalis, A., and Bonetti, S.: TeC_BG_2D_Spin_up: V2.0.0, https://doi.org/10.5281/ZENODO.17213868, 2025c.
Stähli, M.: Longterm hydrological observatory alptal (central switzerland), https://doi.org/http://dx.doi.org/10.16904/envidat.380, 2018.
Citation: https://doi.org/10.5194/egusphere-2025-4796-AC1 -
CEC2: 'Reply on AC1', Juan Antonio Añel, 30 Dec 2025
reply
Dear authors,
Many thanks for your reply. The code that you have provided is in the M Language; as this is a language which usually needs an interpreter, it would be good if you clarify in the Code and Data Availability section the interpreter that you have used (e.g. GNU Octave) and its version, to ensure the replicability of the work. It could be that instead you had used a proprietary interpreter (e.g. Matlab), which does not ensure compatibility of code between its versions and have documented numerous bugs that could affect the computations performed. In this way, knowing the exact version can be useful in the future.
Juan A. Añel
Geosci. Model Dev. Executive Editor
Citation: https://doi.org/10.5194/egusphere-2025-4796-CEC2 -
AC2: 'Reply on CEC2', Sara Bonetti, 31 Dec 2025
reply
Dear Editor,
Thank you for pointing this out. All simulations are based on MATLAB R2024b - we will clarify this in the Code and Data Availability Section.
Best,
Sara Bonetti
Citation: https://doi.org/10.5194/egusphere-2025-4796-AC2
-
AC2: 'Reply on CEC2', Sara Bonetti, 31 Dec 2025
reply
-
AC1: 'Reply on CEC1', Sara Bonetti, 30 Dec 2025
reply
Viewed
| HTML | XML | Total | Supplement | BibTeX | EndNote | |
|---|---|---|---|---|---|---|
| 119 | 54 | 17 | 190 | 29 | 8 | 6 |
- HTML: 119
- PDF: 54
- XML: 17
- Total: 190
- Supplement: 29
- BibTeX: 8
- EndNote: 6
Viewed (geographical distribution)
| Country | # | Views | % |
|---|
| Total: | 0 |
| HTML: | 0 |
| PDF: | 0 |
| XML: | 0 |
- 1
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
Your manuscript fails to comply regarding several issues.
First, to access the T&C-BG-2D model code you cite a paper, not a repository, and this paper points to a site GitHub to access the code. However, GitHub is not a suitable repository for scientific publication, as it does not allow to identify the exact version of the code used, and in addition, such code can be deleted. GitHub itself instructs authors to use other long-term archival and publishing alternatives, such as Zenodo. For the T&C model code, for which you link a site hosted in codeocean.com, something similar happens, and we can not accept that you provide codeocean as an storage solution for the assets necessary to replicate your work.
In addition, you have archived the data used and produced in your work in the WSL data portal; however, the WSL data portal does not fulfil GMD’s requirements for a persistent data archive because:
* It does 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).
* It does 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,
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.
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.
The 'Code and Data Availability’ section 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