| 1 | = `U_init_obs`= |
| 2 | |
| 3 | The page document the user-supplied call-back routine `U_init_obs`. |
| 4 | |
| 5 | The routine `U_init_obs` 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_pdaf, but in the full interface, the user can choose the name of the routine. |
| 6 | The routine is used with all global filters. The routine is called during the filter analysis step. When the routine is called PDAF provides an array for the vector of observation, which needs to be filled with the observation values in this routine. |
| 7 | |
| 8 | The interface is the following: |
| 9 | {{{ |
| 10 | SUBROUTINE U_init_obs(step, dim_obs_p, observation_p) |
| 11 | }}} |
| 12 | with |
| 13 | * `step` : `integer, intent(in)`[[BR]] Current time step |
| 14 | * `dim_obs_p` : `integer, intent(in)`[[BR]] Size of the observation vector |
| 15 | * `observation_p` : `real, intent(out), dimension(dim_obs_p)`[[BR]] Vector of observations |
| 16 | |
| 17 | Note: |
| 18 | * For a model using domain decomposition, `observation_p` is the vector of observations that exist on the model sub-domain for the calling process. |