Changes between Initial Version and Version 1 of PDAFomi_init_dim_obs_l


Ignore:
Timestamp:
Dec 18, 2021, 12:41:18 PM (3 years ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PDAFomi_init_dim_obs_l

    v1 v1  
     1= PDAFomi_init_dim_obs_l =
     2
     3This page documents the routine `PDAFomi_init_dim_obs_l`` of PDAF-OMI.
     4
     5The routine has to be called in `init_dim_obs_l_OBTYPE` in each observation module if a domain-localized filter (LESTKF/LETKF/LNETF/LSEIK)is used. It initializes the local observation information for PDAF-OMI for a single local analysis domain
     6
     7|| See the [wiki:OMI_observation_modules page describing PDAF-OMI observation modules] for the full documentation of OMI observation modules.||
     8
     9The interface is:
     10{{{
     11  SUBROUTINE PDAFomi_init_dim_obs_l(thisobs_l, thisobs, coords_l, locweight, lradius, &
     12       sradius, dim_obs_l)
     13
     14    TYPE(obs_f), INTENT(inout) :: thisobs    ! Data type with full observation
     15    TYPE(obs_l), INTENT(inout) :: thisobs_l  ! Data type with local observation
     16    REAL, INTENT(in) :: coords_l(:)          ! Coordinates of current local analysis domain
     17    INTEGER, INTENT(in) :: locweight         ! Type of localization function
     18    REAL, INTENT(in) :: lradius              ! Localization radius
     19    REAL, INTENT(in) :: sradius              ! Support radius of localization function
     20    INTEGER, INTENT(inout) :: dim_obs_l      ! Local dimension of current observation vector
     21}}}
     22
     23'''Notes:'''
     24 * The output value `dim_obs_l` of the routine is the number of local observations for the local analysis domain for which the routine is called.
     25 * The coordinate vector `coords_l` has be set consistently with the observation coordinates specified in `init_dim_obs_OBSTYPE`.
     26 * a convenient place to initialize `coords_l` is in `init_dim_l`. The templates and tutorial codes show this approach. (see the [wiki:ImplementAnalysisLocal page on implementing the local analysis step])
     27 * `locweight`, `lradius` and `sradius` can be set to the same values for all local analysis domains. However, the interface allows the user to specify different localization radii and weight functions for each single local analysis domain depending on the index `domain_p` or the coordinates `coords_l`.