| 1 | = PDAFomi_diag_dimobs = |
| 2 | |
| 3 | This page documents the routine `PDAFomi_diag_dimobs` of PDAF, which was introduced with PDAF V3.0. This is part of the PDAF-OMI observation diagnostics module. |
| 4 | |
| 5 | The routine returns a pointer to a vector of the observation dimension for each active observation type. |
| 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_dimobs(dim_obs_ptr) |
| 12 | }}} |
| 13 | with the following argument: |
| 14 | {{{ |
| 15 | INTEGER, POINTER, INTENT(inout) :: dim_obs_ptr(:) ! Pointer to observation dimensions |
| 16 | }}} |
| 17 | |
| 18 | **Note:** |
| 19 | * In Fortran user code the pointer should be declared in the form[[BR]] `INTEGER, POINTER :: dim_obs_ptr(:)`[[BR]] It does not need to be allocated |
| 20 | * If the observation diagnostics have not be activated by using [wiki:PDAFomi_set_obs_diag] the pointer array will have length 1 and the observation dimension is returned as 0 |
| 21 | |
| 22 | |