| | 1 | = PDAFomi_diag_nobs = |
| | 2 | |
| | 3 | This page documents the routine `PDAFomi_set_obs_diag` of PDAF, which was introduced with PDAF V3.0. This is part of the PDAF-OMI observation diagnostics module. |
| | 4 | |
| | 5 | The routine returns the number of observation types that are active in an assimilation run. |
| | 6 | |
| | 7 | Usually all PDAFomi_diag routines are called in `prepoststep_pdaf` where the observation information can be retrieved and analyzed. |
| | 8 | |
| | 9 | The interface is the following: |
| | 10 | {{{ |
| | 11 | SUBROUTINE PDAFomi_diag_nobs(nobstypes) |
| | 12 | }}} |
| | 13 | with the following argument: |
| | 14 | {{{ |
| | 15 | INTEGER, INTENT(inout) :: nobstypes ! Number of observation types |
| | 16 | }}} |
| | 17 | |
| | 18 | *Note:** |
| | 19 | * `nobstypes` is commonly used as the upper limit of a loop running over all observation types |
| | 20 | |
| | 21 | |