| 1 | = `init_obs_pdaf`= |
| 2 | |
| 3 | The page document the user-supplied call-back routine `init_obs_pdaf`. |
| 4 | |
| 5 | The routine `init_obs_pdaf` (called `U_init_obs` inside the PDAF core routines) is a call-back routine that has to be provided by the user. 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. |
| 6 | |
| 7 | The interface is the following: |
| 8 | {{{ |
| 9 | SUBROUTINE init_obs(step, dim_obs_p, observation_p) |
| 10 | }}} |
| 11 | with |
| 12 | * `step` : `integer, intent(in)`[[BR]] Current time step |
| 13 | * `dim_obs_p` : `integer, intent(in)`[[BR]] Size of the observation vector |
| 14 | * `observation_p` : `real, intent(out), dimension(dim_obs_p)`[[BR]] Vector of observations |
| 15 | |
| 16 | Note: |
| 17 | * For a model using domain decomposition, `observation_p` is the vector of observations that exist on the model sub-domain for the calling process. |