Preprints
https://doi.org/10.5194/egusphere-2024-1078
https://doi.org/10.5194/egusphere-2024-1078
11 Jun 2024
 | 11 Jun 2024

A Python interface to the Fortran-based Parallel Data Assimilation Framework: pyPDAF v1.0.0

Yumeng Chen, Lars Nerger, and Amos S. Lawless

Abstract. Data assimilation (DA) is an essential component of numerical weather and climate prediction. Efficient implementation of DA benefits both operational prediction and research. Currently, a variety of DA software programs are available. One of the notable DA libraries is the Parallel Data Assimilation Framework (PDAF) designed for ensemble data assimilation. The DA framework is widely used with complex high-dimensional climate models and is applied for research on atmosphere, ocean, sea ice and marine ecosystem modelling, as well as operational ocean forecasting. Meanwhile, there exists increasing need for flexible and efficient DA implementations using Python due to the increasing amount of intermediate complexity models as well as machine learning based models coded in Python. To accommodate for such needs, here, we introduce a Python interface to PDAF, pyPDAF. The Python interface allows for flexible DA system development while retaining the efficient implementation of the core DA algorithms in the Fortran-based PDAF. The ideal use-case of pyPDAF is a DA system where the model integration is independent from the DA program, which reads the model forecast ensemble, produces a model analysis and update the restart files of the model, or a DA system where the model can be used in Python. With implementations of both PDAF and pyPDAF, this study demonstrates the use of pyPDAF and PDAF for coupled data assimilation (CDA) in a coupled atmosphere and ocean model, the Modular Arbitrary-Order Ocean-Atmosphere Model (MAOOAM). Using both weakly and strongly CDA, we demonstrate that pyPDAF allows for the utilisation of Python-based user-supplied functions in the Fortran-based DA framework. We also show that the Python-based user-supplied routine can be a main reason for the slow-down of the DA system based on pyPDAF. Our CDA experiments confirm the benefit of strongly coupled data assimilation compared to the weakly coupled data assimilation. We also demonstrate that the CDA not only improves the instantaneous analysis but also the long-term trend of the coupled dynamical system.

Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this paper. While Copernicus Publications makes every effort to include appropriate place names, the final responsibility lies with the authors. Views expressed in the text are those of the authors and do not necessarily reflect the views of the publisher.
Share

Journal article(s) based on this preprint

05 Nov 2025
A Python interface to the Fortran-based Parallel Data Assimilation Framework: pyPDAF v1.0.2
Yumeng Chen, Lars Nerger, and Amos S. Lawless
Geosci. Model Dev., 18, 8235–8252, https://doi.org/10.5194/gmd-18-8235-2025,https://doi.org/10.5194/gmd-18-8235-2025, 2025
Short summary
Yumeng Chen, Lars Nerger, and Amos S. Lawless

Interactive discussion

Status: closed

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on egusphere-2024-1078', Anonymous Referee #1, 12 Jun 2024
  • RC2: 'Comment on egusphere-2024-1078', Anonymous Referee #2, 03 Jul 2024
  • AC1: 'Comment on egusphere-2024-1078', Yumeng Chen, 30 Sep 2024

Interactive discussion

Status: closed

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on egusphere-2024-1078', Anonymous Referee #1, 12 Jun 2024
  • RC2: 'Comment on egusphere-2024-1078', Anonymous Referee #2, 03 Jul 2024
  • AC1: 'Comment on egusphere-2024-1078', Yumeng Chen, 30 Sep 2024

Peer review completion

AR: Author's response | RR: Referee report | ED: Editor decision | EF: Editorial file upload
AR by Yumeng Chen on behalf of the Authors (03 Oct 2024)  Author's response   Author's tracked changes   Manuscript 
ED: Referee Nomination & Report Request started (22 Nov 2024) by Shu-Chih Yang
RR by Anonymous Referee #1 (04 Dec 2024)
RR by Anonymous Referee #2 (04 Dec 2024)
RR by Anonymous Referee #3 (13 Feb 2025)
ED: Reject (23 Dec 2024) by Shu-Chih Yang
ED: Reconsider after major revisions (13 Mar 2025) by Shu-Chih Yang
AR by Yumeng Chen on behalf of the Authors (22 May 2025)  Author's response   Author's tracked changes   Manuscript 
ED: Referee Nomination & Report Request started (06 Jun 2025) by Shu-Chih Yang
RR by Anonymous Referee #3 (03 Jul 2025)
ED: Publish subject to minor revisions (review by editor) (14 Aug 2025) by Shu-Chih Yang
AR by Yumeng Chen on behalf of the Authors (19 Aug 2025)  Author's response   Author's tracked changes   Manuscript 
ED: Publish as is (02 Oct 2025) by Shu-Chih Yang
AR by Yumeng Chen on behalf of the Authors (06 Oct 2025)  Manuscript 

Journal article(s) based on this preprint

05 Nov 2025
A Python interface to the Fortran-based Parallel Data Assimilation Framework: pyPDAF v1.0.2
Yumeng Chen, Lars Nerger, and Amos S. Lawless
Geosci. Model Dev., 18, 8235–8252, https://doi.org/10.5194/gmd-18-8235-2025,https://doi.org/10.5194/gmd-18-8235-2025, 2025
Short summary
Yumeng Chen, Lars Nerger, and Amos S. Lawless

Model code and software

yumengch/PDAF-MAOOAM: Submitted version Yumeng Chen https://doi.org/10.5281/zenodo.11367123

yumengch/pyPDAF: pyPDAF v1.0.0 Yumeng Chen https://doi.org/10.5281/zenodo.10950129

PDAF V2.1 Lars Nerger https://doi.org/10.5281/zenodo.7861829

Yumeng Chen, Lars Nerger, and Amos S. Lawless

Viewed

Total article views: 997 (including HTML, PDF, and XML)
HTML PDF XML Total BibTeX EndNote
694 174 129 997 63 76
  • HTML: 694
  • PDF: 174
  • XML: 129
  • Total: 997
  • BibTeX: 63
  • EndNote: 76
Views and downloads (calculated since 11 Jun 2024)
Cumulative views and downloads (calculated since 11 Jun 2024)

Viewed (geographical distribution)

Total article views: 965 (including HTML, PDF, and XML) Thereof 965 with geography defined and 0 with unknown origin.
Country # Views %
  • 1
1
 
 
 
 
Latest update: 05 Nov 2025
Download

The requested preprint has a corresponding peer-reviewed final revised paper. You are encouraged to refer to the final revised version.

Short summary
In this paper, we present pyPDAF, a Python interface to the parallel data assimilation framework (PDAF) allowing for coupling with Python-based models. We demonstrate the capability and efficiency of pyPDAF under a coupled data assimilation setup.
Share