= Implementation of the analysis step with OMI (PDAF2) =
{{{
#!html
}}}
{{{
#!html
}}}
{{{
#!html
}}}
|| This page describes the implementation approach of PDAF2. This is intended for reference for existing implementations performed for PDAF2. See the [wiki:ImplementationofAnalysisStep_PDAF3 page on implementing the analysis step with PDAF3] for the updated recommendations. ||
The implementation of the analysis step requires that the user-supplied routines whose names are given in the call to the filter-specific put-state routine are implemented with full functionality.
With PDAF-OMI many of the routines are general and hence usable for all filter algorithms. There are some differences between the local and global filters and the LEnKF. The general routines will be repeated, but they are marked as general.
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.
There are three different routines that call the filter analysis step.
* [wiki:ImplementFilterAnalysisOverview_PDAF23 General overview] of routines required to implement the analysis step for ensemble filters.
1. [wiki:ImplementAnalysisGlobal_PDAF23 Implementation of the analysis for Global Filters]
1. [wiki:ImplementAnalysisLocal_PDAF23 Implementation of the analysis for Local Filters]
1. [wiki:ImplementAnalysislenkfOmi_PDAF23 Implementation of the analysis for the LEnKF using covariance localization]
For the application of the 3D-Var methods there are separate routines (added with PDAF 2.0):
* [wiki:Implement3DVarAnalysisOverview_PDAF23 General overview] of routines required to implement the analysis step for 3D-Var.
1. [wiki:ImplementAnalysis_3DVar_PDAF23 Implementation of the analysis for 3D-Var with parameterized background covariance matrix]
1. [wiki:ImplementAnalysis_3DEnVar_PDAF23 Implementation of the analysis for 3D Ensemble Var ]
1. [wiki:ImplementAnalysis_Hyb3DVar_PDAF23 Implementation of the analysis for hybrid 3D-Var]
== Implementation of the analysis step without OMI ==
PDAF-OMI was introduced with version 1.16 of PDAF. While we recommend using OMI, the [wiki:ImplementationofAnalysisStep_noOMI implementation of the analysis step without OMI] using PDAF's full interface 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. In order to test the program one has to compile it without setting 'PDAF_NO_UPDATE'.