wiki:PDAFomi_set_icoeff_p

Version 1 (modified by lnerger, 4 hours ago) (diff)

--

PDAFomi_set_icoeff_p

This page documents the routine PDAFomi_set_icoeff_p of PDAF. The routine was introduced by PDAF version 2.3.1.

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.

For details on 'thisobs%icoeff_p' see the documentation of OMI observation modules.

The interface is:

  SUBROUTINE PDAFomi_set_icoeff_p(thisobs, nobs_p, ntps, id_obs_p)

    TYPE(obs_f), INTENT(inout) :: thisobs           ! Observation type
    INTEGER, INTENT(in) :: nobs_p                   ! number of process-local observations
    INTEGER, INTENT(in) :: npts                     ! number of points used in observation operator
    INTEGER, INTENT(in) :: id_obs_p(nobs_p, npts)   ! Observation index array

Note:

  • When using Fortran, one can also initialize thisobs%icoeff_p directly