wiki:PDAFomi_set_icoeff_p

Version 3 (modified by lnerger, 7 days 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 allocates and fills 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, icoeff_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
    REAL, INTENT(in) :: icoeff_p(nobs_p, npts)      ! Array of interpolation coefficients

Note:

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