Changes between Version 10 and Version 11 of LnDevel


Ignore:
Timestamp:
Sep 3, 2010, 3:47:09 PM (14 years ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LnDevel

    v10 v11  
    3636For the analysis step of the SEIK filter different operations related to the observations are needed. These operations are requested by PDAF by calling user-supplied routines. Intentionally, the operations are split into separate routines in order to keep the operations rather elementary. This procedure should simplify the implementation. The names of the required routines are specified in the call to the routine `PDAF_put_state_seik` that was discussed before. With regard to the parallelization, all these routines are executed by the filter processes (`filterpe=1`) only.
    3737
    38 For completeness we discuss here all user-supplied routines that are specified in the interface to PDAF_put_state_seik. Thus, some of the user-supplied that are explained on the page explaining the modification of the model code for the ensemlbe integration are repeated here.
     38For completeness we discuss here all user-supplied routines that are specified in the interface to PDAF_put_state_seik. Thus, some of the user-supplied that are explained on the page explaining the modification of the model code for the ensemble integration are repeated here.
    3939
    4040== `PDAF_put_state_seik` ==
     
    5555 * [#U_prodRinvAprodrinva.F90 U_prodRinvA]: The name of the user-supplied routine that computes the product of the inverse of the observation error covariance matrix with some matrix provided to the routine by PDAF. This operation occurs during the analysis step of the SEIK filter.
    5656 * [#U_init_obsvarinit_obsvar.F90 U_init_obsvar]: The name of the user-supplied routine that provides a mean observation error variance to PDAF (This routine will only be executed, if an adaptive forgetting factor is used)
    57  * `status`: The integer status flag. It is zero, if PDAF_get_state is exited without errors.
     57 * `status`: The integer status flag. It is zero, if `PDAF_put_state_seik` is exited without errors.
    5858
    5959
     
    187187== Execution order of user-supplied routines ==
    188188
    189 For the SEIK filter, the user-supplied routines are essentially executed in the order they are listed in the interface to `PDAF_put_state_seik`. The order can be important as some routines can perform preparatory work for later routines. For example, `U_init_dim_obs` can prepare an index array that provides the information for executing the observation operator in `PDAF_obs_obs`.
    190 
    191 
     189For the SEIK filter, the user-supplied routines are essentially executed in the order they are listed in the interface to `PDAF_put_state_seik`. The order can be important as some routines can perform preparatory work for later routines. For example, `U_init_dim_obs` can prepare an index array that provides the information for executing the observation operator in `PDAF_obs_op`.
     190
     191Before the analysis step is called the following is executed:
     192 1. [#U_collect_statecollect_state.F90 U_collect_state]
     193
     194When the ensemble integration of the forecast is completed the analysis step is executed. During the analysis step the following routines are executed:
     195 1. [#U_prepoststepprepoststep_seik.F90 U_prepoststep] (call to handle the forecast, called with negative value of the time step)
     196 1. [#U_init_dim_obsinit_dim_obs.F90 U_init_dim_obs]
     197 1. [#U_obs_opobs_op.F90 U_obs_op] (One call to operate on the ensemble mean state)
     198 1. [#U_init_obsinit_obs.F90 U_init_obs]
     199 1. [#U_obs_opobs_op.F90 U_obs_op] (`dim_ens` calls; one call for each ensemble member)
     200 1. [#U_init_obsvarinit_obsvar.F90 U_init_obsvar] (Only executed, if the adaptive forgetting factor is used (`type_forget=1` in the example implemention))
     201 1. [#U_prodRinvAprodrinva.F90 U_prodRinvA]
     202 1. [#U_prepoststepprepoststep_seik.F90 U_prepoststep] (call to handle the analysis, called with (positive) value of the time step)
     203