wiki:PDAFomi_set_obs_err_type

Version 4 (modified by lnerger, 7 days ago) (diff)

--

PDAFomi_set_obs_err_type

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

The routine sets thisobs%obs_err_type. 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%obs_err_type see the documentation of OMI observation modules.

The interface is:

  SUBROUTINE PDAFomi_set_obs_err_type(thisobs, obs_err_type)

    TYPE(obs_f), INTENT(inout) :: thisobs    ! Observation type
    INTEGER, INTENT(in) :: obs_err_type      ! Type of observation error

Note:

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