Changes between Initial Version and Version 1 of U_init_obs_f


Ignore:
Timestamp:
Jan 21, 2016, 2:15:46 PM (8 years ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • U_init_obs_f

    v1 v1  
     1= U_init_obs_f =
     2
     3The page document the user-supplied call-back routine `U_init_obs_f`.
     4
     5The routine `U_init_obs_f` is a call-back routine that has to be provided by the user. In the simplified interface the predefined name of the routine is `init_obs_f_pdaf`, but in the full interface, the user can choose the name of the routine.
     6This routine is used by all filter algorithms with domain-localization (LSEIK, LETKF, LESTKF) and is independent of the particular algorithm.
     7The routine is called during the analysis step before the loop over the local analysis domains is entered. It has to provide the full vector of observations for the current time step. The caller is the routine that computes an adaptive forgetting factor (PDAF_set_forget).
     8
     9The routine is only called if the globally adaptive forgetting factor is used (`type_forget=1` in the example implementation). For the local filters there is also the alternative to use locally adaptive forgetting factors (`type_forget=2` in the example implementation).
     10
     11The interface is the following:
     12{{{
     13SUBROUTINE U_init_obs_f(step, dim_obs_f, observation_f)
     14}}}
     15with
     16 * `step` : `integer, intent(in)`[[BR]] Current time step
     17 * `dim_obs_f` : `integer, intent(in)`[[BR]] Size of the full observation vector
     18 * `observation_f` : `real, intent(out), dimension(dim_obs_p)`[[BR]] Full vector of observations
     19
     20Hints:
     21 * As for the other 'full' routines: While the global counterpart of this routine (`U_init_obs`) has to initialize the observation vector only for the local model sub-domain, the 'full' routine has to include observations that spatially belong to neighboring model sub-domains. As an easy choice one can simply initialize a vector of all globally available observations.
     22 * If the adaptive forgetting factor is not used, this routine only has to exist. However, no functionality is required.