wiki:PDAFomi_set_use_global_obs

Version 2 (modified by lnerger, 3 hours ago) (diff)

--

PDAFomi_set_use_global_obs

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

The routine sets thisobs%use_global_obs. 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%use_global_obs' see the documentation on using domain-limited observations.

The interface is:

  SUBROUTINE PDAFomi_set_use_global_obs(thisobs, use_global_obs)

    TYPE(obs_f), INTENT(inout) :: thisobs    ! Observation type
    INTEGER, INTENT(in) :: use_global_obs    ! (1) to use global full observations; (0) to use domain-limited full observations

Note:

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