This page documents the routine PDAFomi_gather_obs of PDAF-OMI.

The routine has to be called in init_dim_obs_OBTYPE in each observation module. It initializes the observation information for PDAF-OMI.

See the page describing PDAF-OMI observation modules for the full documentation of OMI observation modules.

The interface is:

  SUBROUTINE PDAFomi_gather_obs(thisobs, dim_obs_p, obs_p, ivar_obs_p, ocoord_p, &
       ncoord, lradius, dim_obs)

    TYPE(obs_f), INTENT(inout) :: thisobs   ! Data type with full observation information
    INTEGER, INTENT(in) :: dim_obs_p        ! Number of process-local observations
    REAL, INTENT(in) :: obs_p(:)            ! Vector of process-local observations
    REAL, INTENT(in) :: ivar_obs_p(:)       ! Vector of process-local inverse observation error variance
    REAL, INTENT(in) :: ocoord_p(:,:)       ! Array of process-local observation coordinates
    INTEGER, INTENT(in) :: ncoord           ! Number of rows (first index) of coordinate array
    REAL, INTENT(in) :: lradius             ! Typical localization radius (the maximum radius used in this process domain) 
    INTEGER, INTENT(out) :: dim_obs         ! Full number of observations


  • The only direect output is dim_obs, which is then returned to init_dim_obs_pdafomi in callback_obs_pdafomi.F90.
  • The value of lradius can be some maximum value. It is only utilized if domain-limited observations are activated (see page on using the option `use_global_obs`)
Last modified 12 months ago Last modified on Dec 18, 2021, 12:25:39 PM