wiki:PDAFomi_set_dim_obs_l

Version 1 (modified by lnerger, 2 months ago) (diff)

--

PDAFomi_set_dim_obs_l

This page documents the routine PDAFomi_set_dim_obs_l of PDAF-OMI.

This routine is used for the case that a user implements a user-provided alternative for the routine PDAFomi_init_dim_obs_l, which initializes the local observation information for PDAF-OMI in thisobs_l for a single local analysis domain.

The routine has to be called in init_dim_obs_l_OBSTYPE in each observation module if a domain-localized filter (LESTKF/LETKF/LNETF/LSEIK/LKNETF)is used.

See the page on user-provided initialization of local observations for the full description of a user-provided routine to intialize local observations.

The interface is:

  SUBROUTINE PDAFomi_set_dim_obs_l(thisobs_l, thisobs, cnt_obs_l_all, cnt_obs_l)

    TYPE(obs_f), INTENT(inout) :: thisobs    ! Data type with full observation
    TYPE(obs_l), INTENT(inout) :: thisobs_l  ! Data type with local observation
    INTEGER, INTENT(inout) :: cnt_obs_l_all  ! Local dimension of observation vector over all obs. types
    INTEGER, INTENT(inout) :: cnt_obs_l      ! Local dimension of single observation type vector

Notes:

  • cnt_obs_l_all is the input/output argument dim_obs_l of init_dim_obs_l_OBSTYPE. It counts the number of localization over all observation types
  • cnt_obs_l is the counter number of observations of the single observation type of the observation module in which this routine is called.