Changes between Version 14 and Version 15 of ImplementAnalysisGlobal


Ignore:
Timestamp:
Nov 24, 2020, 10:56:23 AM (3 years ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ImplementAnalysisGlobal

    v14 v15  
    6868Here all user-supplied routines are described that are required in the call to `PDAFomi_assimilate_global`. For some of the generic routines, we link to the page on [ModifyModelforEnsembleIntegration modifying the model code for the ensemble integration].
    6969
    70 To 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`. In the section titles below we provide the name of the template file in parentheses.
     70To 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.
    7171
    7272In the subroutine interfaces some variables appear with the suffix `_p`. This suffix indicates that the variable is particular to a model sub-domain, if a domain decomposed model is used. Thus, the value(s) in the variable will be different for different model sub-domains.
     
    8787=== `U_init_dim_obs` (callback_obs_pdafomi.F90) ===
    8888
    89 The interface for this routine is:
    90 {{{
    91 SUBROUTINE init_dim_obs_pdafomi(step, dim_obs_p)
     89This is a call-back routine for PDAF-OMI. The routine just calls a routine from the observation module for each observation type.
     90See the [wiki:OMI_Callback_obs_pdafomi documentation on callback_obs_pdafomi.F90] for more information.
    9291
    93   INTEGER, INTENT(in)  :: step       ! Current time step
    94   INTEGER, INTENT(out) :: dim_obs_p  ! Dimension of observation vector
    95 }}}
    96 
    97 The routine is called at the beginning of each analysis step.  For PDAF, it has to initialize the size `dim_obs_p` of the observation vector according to the current time step. Without parallelization `dim_obs_p` will be the size for the full model domain. When a domain-decomposed model is used, `dim_obs_p` will be the size of the observation vector for the sub-domain of the calling process.
    98 
    99 With PDAF-OMI, the routine just calls a routine from the observation module for each observation type.
    10092
    10193