= PDAF_generate_obs_offline = This page documents the routine `PDAF_generate_obs_offline` of PDAF. The routine is used for the offline coupled mode of PDAF, which is described on the page: [wiki:OfflineImplementationGuide Implementation Guide for Offline Coupling]. The interface is the following: {{{ SUBROUTINE PDAF_generate_obs_offline(U_init_dim_obs_f, U_obs_op_f, U_get_obs_f, & U_init_obserr_f, U_prepoststep, status_pdaf) }}} with the following arguments: * `U_init_dim_obs_f`: The name of the user-supplied routine that provides the size of the full observation vector * `U_obs_op_f`: The name of the user-supplied routine that acts as the full observation operator on some state vector * `U_get_obs_f`: The name of the user-supplied routine that receives the full vector of generated synthetic observations from PDAF * `U_init_obserr_f`: The name of the user-supplied routine that initializes the vector of observations error standard deviations for for full observation vector * `U_prepoststep`: The name of the pre/poststep routine as in `PDAF_get_state` * `status_pdaf`: The integer status flag. It is zero, if the routine is exited without errors. The user-supplied call-back routines are described on the [ImplementGenerateObs page on implementing the generation of synthetic observations]. It is recommended that the value of `status_pdaf` is checked in the program after the routine is executed. Only if its value is 0 the initialization was successful.