= PDAFomi_set_obs_diag = This page documents the routine `PDAFomi_set_obs_diag` of PDAF, which was introduced with PDAF V3.0. This is part of the [wiki:PDAFomi_observation_diagnostics PDAF-OMI observation diagnostics module]. The routine is used to activate or deactivate the observation diagnostics. The routine can be called by all processes, but it is sufficient to call it for those processes that handle observations, which usually are the filter processes. A common place is to call the routine in `init_pdaf` afer the initialization of PDAF in `PDAF_init`. The interface is: {{{ SUBROUTINE PDAFomi_set_obs_diag(diag) INTEGER, INTENT(in) :: diag ! Value for observation diagnostics mode ! >0 activates observation diagnostics }}}