| 1 | = PDAFomi_set_icoeff_p = |
| 2 | |
| 3 | This page documents the routine `PDAFomi_set_icoeff_p` of PDAF. The routine was introduced by PDAF version 2.3.1. |
| 4 | |
| 5 | The routine sets thisobs%icoeff_p. It avoids to directly initialize elements of the data type 'thisobs' in the code, which can be problematic in some programming languages. |
| 6 | |
| 7 | For details on 'thisobs%icoeff_p' see the [wiki:OMI_observation_modules documentation of OMI observation modules]. |
| 8 | |
| 9 | The interface is: |
| 10 | {{{ |
| 11 | SUBROUTINE PDAFomi_set_icoeff_p(thisobs, nobs_p, ntps, id_obs_p) |
| 12 | |
| 13 | TYPE(obs_f), INTENT(inout) :: thisobs ! Observation type |
| 14 | INTEGER, INTENT(in) :: nobs_p ! number of process-local observations |
| 15 | INTEGER, INTENT(in) :: npts ! number of points used in observation operator |
| 16 | INTEGER, INTENT(in) :: id_obs_p(nobs_p, npts) ! Observation index array |
| 17 | }}} |
| 18 | |
| 19 | '''Note: ''' |
| 20 | * When using Fortran, one can also initialize thisobs%icoeff_p directly |