| 1 | = init_obserr_f_pdaf = |
| 2 | |
| 3 | The page documents the user-supplied call-back routine `init_obserr_f_pdaf`. |
| 4 | |
| 5 | The routine `init_obserr_f_pdaf` (called `U_init_obserr` inside the PDAF core routines) is a call-back routine that has to be provided by the user. |
| 6 | This routine is used for generating synthetic observations with PDAF using [PDAF_generate_obs] or [PDAF_put_state_generate_obs]. |
| 7 | The routine is called by PDAF during the observation generation. Its purpose is to fill the provided vector of observation error standard deviations. |
| 8 | |
| 9 | The interface is the following: |
| 10 | {{{ |
| 11 | SUBROUTINE init_obserr_f_pdaf(step, dim_obs_f, obs_f, rms_obs) |
| 12 | }}} |
| 13 | with |
| 14 | * `step` : `integer, intent(in)`[[BR]] Current time step |
| 15 | * `dim_obs_f` : `integer, intent(in)`[[BR]] Size of full observation vector |
| 16 | * `obs_f` : `real, intent(in), dimension(dim_obs_f)`[[BR]] Full vector of observations |
| 17 | * `rms_obs` : `real, intent(out), dimension(dim_obs_f)`[[BR]] Full vector of observation error standard deviations |
| 18 | |
| 19 | Notes: |
| 20 | * The routines handles the 'full' observation vector as in localizated filters. As described for the observation generation functionality one can also use it for global filters. In this case the 'full' vector would just contain the observations local to a process sub=domain. |
| 21 | * The observation vector `obs_f` is provided to the routine for the case that the observation error is relative to the value of the observations. |