wiki:PDAFomi_set_icoeff_p

Version 4 (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, nrows, dim_obs_p, id_obs_p)

    TYPE(obs_f), INTENT(inout) :: thisobs              ! Observation type
    INTEGER, INTENT(in) :: nrows                       ! Number of rows required in observation operator
    INTEGER, INTENT(in) :: dim_obs_p                   ! Number of process-local observations
    REAL, INTENT(in) :: icoeff_p(nrows, dim_obs_p)     ! Array of interpolation coefficients

Note:

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