Changes between Version 3 and Version 4 of ImplementAnalysis_Hyb3DVar_until_PDAF221


Ignore:
Timestamp:
Jun 10, 2025, 2:24:29 PM (7 days ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ImplementAnalysis_Hyb3DVar_until_PDAF221

    v3 v4  
    3737== Overview ==
    3838
    39 This documentation describes the implementation of 3D variational assimilation methods with OMI as it was standard since their introduction in PDAF version 2.0 and until and including PDAF version 2.2.1. With PDAF 2.3 we introduced the [wiki:PDAFlocal_overview PDAFlocal interface], which simplifies the implemenation of the local analysis. This approach is described on the current page on the [wiki:ImplementAnalysis_Hyb3DVar Implementation of the Analysis Step for hybrid 3D Var with OMI].
     39This documentation describes the implementation of 3D variational assimilation methods with OMI as it was standard since their introduction in PDAF version 2.0 and until and including PDAF version 2.2.1. With PDAF 2.3 we introduced the [wiki:PDAFlocal_overview PDAFlocal interface], which simplifies the implemenation of the local analysis. This approach is described on the current page on the [wiki:ImplementAnalysis_Hyb3DVar_PDAF23 Implementation of the Analysis Step for hybrid 3D Var with OMI].
    4040
    4141With Version 2.0 with introduced 3D variational assimilation methods to PDAF. There are genenerally three different variants of 3D variational assimilation methods in PDAF: parameterized 3D-Var, 3D Ensemble Var, and hybrid (parameterized + ensemble) 3D-Var.
     
    5252== Analysis Routines ==
    5353
    54 The general aspects of the filter (or solver) specific routines `PDAF_assimilate_*` have been described on the page [ModifyModelforEnsembleIntegration Modification of the model code for the ensemble integration] and its sub-page on [InsertAnalysisStep inserting the analysis step]. The routine is used in the fully-parallel implementation variant of the data assimilation system. When the 'flexible' implementation variant is used, the routines `PDAF_put_state_*` is used as described further below. Here, we list the full interface of the routine. Subsequently, the user-supplied routines specified in the call is explained.
     54The general aspects of the filter (or solver) specific routines `PDAF_assimilate_*` have been described on the page [wiki:ModifyModelforEnsembleIntegration_PDAF23 Modification of the model code for the ensemble integration] and its sub-page on [wiki:InsertAnalysisStep_PDAF23 inserting the analysis step]. The routine is used in the fully-parallel implementation variant of the data assimilation system. When the 'flexible' implementation variant is used, the routines `PDAF_put_state_*` is used as described further below. Here, we list the full interface of the routine. Subsequently, the user-supplied routines specified in the call is explained.
    5555
    5656There are two variants that either compute the transformataion of the ensemble transformation using the local LESTKF method, or the global ESTKF.
     
    9090
    9191Note:
    92  * If your code shows a call to `PDAFlocalomi_assimilate_hyb3dvar_lestkf`, it uses the implementation variant with PDAFlocal. This is documented on the page on [wiki:ImplementAnalysis_Hyb3DVar Implementing the Analysis Step for hybrid 3D Var with OMI with PDAFlocal (from V2.3 of PDAF)].
     92 * If your code shows a call to `PDAFlocalomi_assimilate_hyb3dvar_lestkf`, it uses the implementation variant with PDAFlocal. This is documented on the page on [wiki:ImplementAnalysis_Hyb3DVar_PDAF23 Implementing the Analysis Step for hybrid 3D Var with OMI with PDAFlocal (from V2.3 of PDAF)].
    9393
    9494=== `PDAFomi_assimilate_hyb3dvar_estkf` ===
     
    124124=== `PDAFomi_put_state_hyb3dvar_lestkf` ===
    125125
    126 When the 'flexible' implementation variant is chosen for the assimilation system, the routine `PDAFomi_put_state_*` has to be used instead of `PDAFomi_assimilate_*`. The general aspects of the filter specific routines `PDAF_put_state_*` have been described on the page [ModifyModelforEnsembleIntegration Modification of the model code for the ensemble integration]. The interface of the routine is identical with that of `PDAF_assimilate_*` with the exception the specification of the user-supplied routines `U_distribute_state` and `U_next_observation` are missing.
     126When the 'flexible' implementation variant is chosen for the assimilation system, the routine `PDAFomi_put_state_*` has to be used instead of `PDAFomi_assimilate_*`. The general aspects of the filter specific routines `PDAF_put_state_*` have been described on the page [wiki:ModifyModelforEnsembleIntegration_PDAF23 Modification of the model code for the ensemble integration]. The interface of the routine is identical with that of `PDAF_assimilate_*` with the exception the specification of the user-supplied routines `U_distribute_state` and `U_next_observation` are missing.
    127127
    128128The interface when using one of the global filters is the following:
     
    137137
    138138Note:
    139  * If your code shows a call to `PDAFlocalomi_put_state_hyb3dvar_lestkf`, it uses the implementation variant with PDAFlocal. This is documented on the page on [wiki:ImplementAnalysis_Hyb3DVar Implementing the Analysis Step for hybrid 3D Var with OMI with PDAFlocal (from V2.3 of PDAF)].
     139 * If your code shows a call to `PDAFlocalomi_put_state_hyb3dvar_lestkf`, it uses the implementation variant with PDAFlocal. This is documented on the page on [wiki:ImplementAnalysis_Hyb3DVar_PDAF23 Implementing the Analysis Step for hybrid 3D Var with OMI with PDAFlocal (from V2.3 of PDAF)].
    140140
    141141=== `PDAFomi_put_state_hyb3dvar_estkf` ===
     
    154154== User-supplied routines ==
    155155
    156 Here all user-supplied routines are described that are required in the call to the assimilation routines for hybrid 3D-Var. For some of the generic routines, we link to the page on [ModifyModelforEnsembleIntegration modifying the model code for the ensemble integration].
     156Here all user-supplied routines are described that are required in the call to the assimilation routines for hybrid 3D-Var. For some of the generic routines, we link to the page on [wiki:ModifyModelforEnsembleIntegration_PDAF23 modifying the model code for the ensemble integration].
    157157
    158158To indicate user-supplied routines we use the prefix `U_`. In the template directory `templates/` as well as in the tutorial implementations in `tutorial/` these routines exist without the prefix, but with the extension `_pdaf.F90`. The user-routines relating to OMI are collected in the file `callback_obs_pdafomi.F90`. In the section titles below we provide the name of the template file in parentheses.
     
    165165This routine is independent of the filter algorithm used.
    166166
    167 See the page on [InsertAnalysisStep#U_collect_statecollect_state_pdaf.F90 inserting the analysis step] for the description of this routine.
     167See the page on [wiki:InsertAnalysisStep_PDAF23#U_collect_statecollect_state_pdaf.F90 inserting the analysis step] for the description of this routine.
    168168
    169169
     
    172172This routine is independent of the filter algorithm used.
    173173
    174 See the page on [InsertAnalysisStep#U_distribute_statedistribute_state_pdaf.F90 inserting the analysis step] for the description of this routine.
     174See the page on [wiki:InsertAnalysisStep_PDAF23#U_distribute_statedistribute_state_pdaf.F90 inserting the analysis step] for the description of this routine.
    175175
    176176
     
    179179This is a call-back routine for PDAF-OMI initializing the observation information. The routine just calls a routine from the observation module for each observation type.
    180180
    181 See the [wiki:OMI_Callback_obs_pdafomi documentation on callback_obs_pdafomi.F90] for more information.
     181See the [wiki:OMI_Callback_obs_pdafomi_PDAF23 documentation on callback_obs_pdafomi.F90] for more information.
    182182
    183183
     
    187187This is a call-back routine for PDAF-OMI applying the observation operator to the state vector. The routine calls a routine from the observation module for each observation type.
    188188
    189 See the [wiki:OMI_Callback_obs_pdafomi documentation on callback_obs_pdafomi.F90] for more information.
     189See the [wiki:OMI_Callback_obs_pdafomi_PDAF23 documentation on callback_obs_pdafomi.F90] for more information.
    190190
    191191
     
    279279This is a call-back routine for PDAF-OMI applying the linearized observation operator to the state vector. The routine calls a routine from the observation module for each observation type. If the full observation operator is lineaer the same operator can be used here.
    280280
    281 See the [wiki:OMI_Callback_obs_pdafomi documentation on callback_obs_pdafomi.F90] for more information.
     281See the [wiki:OMI_Callback_obs_pdafomi_PDAF23 documentation on callback_obs_pdafomi.F90] for more information.
    282282
    283283
     
    286286This is a call-back routine for PDAF-OMI applying the adjoint observation operator to some vector inthe observation space. The routine calls a routine from the observation module for each observation type.
    287287
    288 See the [wiki:OMI_Callback_obs_pdafomi documentation on callback_obs_pdafomi.F90] for more information.
     288See the [wiki:OMI_Callback_obs_pdafomi_PDAF23 documentation on callback_obs_pdafomi.F90] for more information.
    289289
    290290
     
    331331This is a call-back routine for PDAF-OMI that initializes the local observation vector. The routine calls a routine from the observation module for each observation type.
    332332
    333 See the [wiki:OMI_Callback_obs_pdafomi documentation on callback_obs_pdafomi.F90] for more information.
     333See the [wiki:OMI_Callback_obs_pdafomi_PDAF23 documentation on callback_obs_pdafomi.F90] for more information.
    334334
    335335
     
    381381The routine has already been described for modifying the model for the ensemble integration and for inserting the analysis step.
    382382
    383 See the page on [InsertAnalysisStep#U_prepoststepprepoststep_ens_pdaf.F90 inserting the analysis step] for the description of this routine.
     383See the page on [wiki:InsertAnalysisStep_PDAF23#U_prepoststepprepoststep_ens_pdaf.F90 inserting the analysis step] for the description of this routine.
    384384
    385385
     
    388388This routine is independent of the filter algorithm used.
    389389
    390 See the page on [InsertAnalysisStep#U_next_observationnext_observation_pdaf.F90 inserting the analysis step] for the description of this routine.
     390See the page on [wiki:InsertAnalysisStep_PDAF23#U_next_observationnext_observation_pdaf.F90 inserting the analysis step] for the description of this routine.
    391391
    392392
     
    416416 1. [#U_prepoststepprepoststep_ens_pdaf.F90 U_prepoststep] (Call to act on the analysis ensemble, called with (positive) value of the time step)
    417417
    418 The iterative optimization abovve computes an updated ensemble mean state. Subsequently, the ensemble perturbations are updated using the LESTKF or ESTKF. The execution of the routines for these filters is described for the LESTKF on the [wiki:ImplementAnalysisLocal page on implementing the local filter analysis step] and for the ESTKF on the [wiki:ImplementAnalysisGlobal page on implementing the global filter analysis step].
     418The iterative optimization abovve computes an updated ensemble mean state. Subsequently, the ensemble perturbations are updated using the LESTKF or ESTKF. The execution of the routines for these filters is described for the LESTKF on the [wiki:ImplementAnalysisLocal_PDAF23 page on implementing the local filter analysis step] and for the ESTKF on the [wiki:ImplementAnalysisGlobal_PDAF23 page on implementing the global filter analysis step].
    419419
    420420In case of the routine `PDAFomi_assimilate_*`, the following routines are executed after the analysis step: