wiki:ImplementationofAnalysisStep_PDAF3

Implementing the analysis step

This page can be reached from different
parts of the documentation:

Back to Offline Mode: Implementation Guide

Back to Online Mode: Implementation Guide

Back to PDAF-OMI Guide

The implementation of the analysis step requires that the user-supplied routines that are arguments in the call to the routine for the analysis step are implemented with full functionality.

While different routines are used for the online and offline modes of PDAF, the implementation of the analysis is generally generic. As such we combine this here for both the online and offline modes.

Ensemble filter methods

To get an overview of the required routines for the analysis step see:

  • [Implement3DVarAnalysisOverviewPDAF3 General overview of routines required to implement the analysis step for ensemble filters].

There are universal routines that call the filter analysis step for all ensemble filter methods.

For more specific cases, there are further routines

3D-Var methods

To get an overview of the required routines for the analysis step of 3D-Var methods see:

For the application of the 3D-Var methods there are universal routines for all methods:

For more specific cases, there are further routines

  1. Implementation of the analysis for 3D-Var with parameterized background covariance matrix
  2. Implementation of the analysis for 3D Ensemble Var
  3. Implementation of the analysis for hybrid 3D-Var

Implementation variants before PDAF3

Analysis step using PDAF-OMI without PDAFlocal

This variant refers to the PDAFomi_ routines to call the analysis step.

Before releasing PDAF V3.0 with its now PDAF3-interface routines for the analysis step, using the PDAF Observation Module Interface (PDAF-OMI) was recommended. PDAFlocal was introduced with PDAF V2.3 in September 2024 as an add-on to PDAF-OMI for local filters. With PDAFlocal we simplified the localization of the state vector. Implementations done before the release of PDAF V2.3 likely use PDAF-OMI without PDAFlocal. This mean they call user-provided routines g2l_state_pdaf and l2g_state_pdaf.

For reference we provide the documentation on the implementation of the analysis step with PDAF-OMI not using PDAFlocal.

Analysis step using PDAF-OMI and PDAFlocal

This variant refers to the PDAFlocalomi_ routines to call the analysis step.

PDAFlocal was introduced with PDAF V2.3 in September 2024 as an add-on to PDAF-OMI for local filters. With PDAFlocal we simplified the implementation of localization of the state vector. without PDAFlocal. This mean they call user-procided routines g2l_state_pdaf and l2g_state_pdaf. Even so, the period between the introduction of PDAFlocal and the PDAF3 interface was short, there are possible implementations using PDAFlocal. The PDAF3 interface bases on both PDAF-OMI and PDAFlocal, so that it should be very easy to port a code to using the universal PDAF3 interface described above. See the explanation for porting von PDAF2 to PDAF3.

For reference we provide the documentation on the implementation of the analysis step with PDAF-OMI and PDAFlocal.

Analysis step using PDAF's full interface

This variant refers to the PDAF_ routines to call the analysis step.

The full interface omits the use of PDAF-OMI for the observation handling, and PDAFlocal for the simplified handling of localization. Using the full interface is an 'expert mode' because it requires to implement a larger number of call-back routines. Nonetheless, assimilation systems implemented before the introduction of PDAF-OMI with Version 1.16 in November 2020 might still use this approach.

For reference we provide the documentation on the implementation of the analysis step without PDAF-OMI, which is still possible.

Testing the full implementation

After the implementation of the user-supplied routines for the analysis step, the data assimilation system is fully implemented. Thus, one an now test its full functionality including the analysis step.

Last modified 11 hours ago Last modified on May 29, 2025, 5:59:00 PM
Note: See TracWiki for help on using the wiki.