the Creative Commons Attribution 4.0 License.
the Creative Commons Attribution 4.0 License.
A Fortran-Python Interface for Integrating Machine Learning Parameterization into Earth System Models
Abstract. Parameterizations in Earth System Models (ESMs) are subject to biases and uncertainties arising from subjective empirical assumptions and incomplete understanding of the underlying physical processes. Recently, the growing representational capability of machine learning (ML) in solving complex problems has spawned immense interests in climate science applications. Specifically, ML-based parameterizations have been developed to represent convection, radiation and microphysics processes in ESMs by learning from observations or high-resolution simulations, which have the potential to improve the accuracies and alleviate the uncertainties. Previous works have developed some surrogate models for these processes using ML. These surrogate models need to be coupled with the dynamical core of ESMs to investigate the effectiveness and their performance in a coupled system. In this study, we present a novel Fortran-Python interface designed to seamlessly integrate ML parameterizations into ESMs. This interface showcases high versatility by supporting popular ML frameworks like PyTorch, TensorFlow, and Scikit-learn. We demonstrate the interface's modularity and reusability through two cases: a ML trigger function for convection parameterization and a ML wildfire model. We conduct a comprehensive evaluation of memory usage and computational overhead resulting from the integration of Python codes into the Fortran ESMs. By leveraging this flexible interface, ML parameterizations can be effectively developed, tested, and integrated into ESMs.
- Preprint
(4010 KB) - Metadata XML
- BibTeX
- EndNote
Status: open (extended)
-
CEC1: 'Comment on gmd-2024-79', Juan Antonio Añel, 20 Jun 2024
reply
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.htmlWe have detected two main problems. The first one is that you have archived the E3SM code on GitHub. However, GitHub is not a suitable repository for scientific publication. GitHub itself instructs authors to use other alternatives for long-term archival and publishing, such as Zenodo.Â
The second problem is that given that your manuscript deals with machine learning techniques, you need to publish the training data to assure the replicability of your work. Again, the training datasets must be published in one of the repositories mentioned in our policy.
Therefore, please, publish your code and data in one of the appropriate repositories, and reply to this comment with the relevant information (link and DOI) as soon as possible, as we can not accept manuscripts in Discussions that do not comply with our policy. Therefore, the current situation with your manuscript is irregular. If you do not fix this problem, we will have to reject your manuscript for publication in our journal.
Finally, the Code and Data Availability section in your manuscript reads "Data Availability Statement". You have missed the part of the "Code", please, add it in any reviewed version.
Juan A. Añel
Geosci. Model Dev. Executive EditorCitation: https://doi.org/10.5194/gmd-2024-79-CEC1 -
AC1: 'Reply on CEC1', Tao Zhang, 22 Jun 2024
reply
Dear editor,Â
We have uploaded the E3SM codes and training data into zenodo. Please find the details:Â
1. E3SM codes: https://zenodo.org/records/12175988, https://doi.org/10.5281/zenodo.12175988
2. Dataset for machine learning trigger function: https://zenodo.org/records/12205917, https://doi.org/10.5281/zenodo.12205917
3. Dataset for machine learning wild fire: https://zenodo.org/records/12212258, https://doi.org/10.5281/zenodo.12212258
Â
Thanks,
Tao Â
Citation: https://doi.org/10.5194/gmd-2024-79-AC1
-
AC1: 'Reply on CEC1', Tao Zhang, 22 Jun 2024
reply
Viewed
HTML | XML | Total | BibTeX | EndNote | |
---|---|---|---|---|---|
452 | 123 | 16 | 591 | 11 | 14 |
- HTML: 452
- PDF: 123
- XML: 16
- Total: 591
- BibTeX: 11
- EndNote: 14
Viewed (geographical distribution)
Country | # | Views | % |
---|
Total: | 0 |
HTML: | 0 |
PDF: | 0 |
XML: | 0 |
- 1