wiki:PDAFomi_set_disttype

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

--

PDAFomi_set_disttype

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

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

The interface is:

  SUBROUTINE PDAFomi_set_disttype(thisobs, disttype)

    TYPE(obs_f), INTENT(inout) :: thisobs     ! Observation type
    INTEGER, INTENT(in) :: disttype           ! Type of distance calculation

Note:

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