= PDAFomi_set_obs_diag = This page documents the routine `PDAFomi_set_obs_daig` of PDAF, which was introduced with PDAF V3.0. This is part of the 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. A common place is to call the routine in `init_pdaf` afer the initialization of PDAF in `PDAF_init`. The interface is the following: {{{ SUBROUTINE PDAFomi_set_obs_diag(diag) }}} with the following arguments: {{{ INTEGER, INTENT(in) :: diag ! Value for observation diagnostics mode ! >0 activates observation diagnostics }}}