Changes between Version 3 and Version 4 of PDAFomi_init_dim_obs_l


Ignore:
Timestamp:
Apr 29, 2024, 2:12:42 PM (8 months ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PDAFomi_init_dim_obs_l

    v3 v4  
    1515    TYPE(obs_l), INTENT(inout) :: thisobs_l  ! Data type with local observation
    1616    REAL, INTENT(in) :: coords_l(:)          ! Coordinates of current local analysis domain
    17     INTEGER, INTENT(in) :: locweight         ! Type of localization function
    18     REAL, INTENT(in) :: cradius              ! Localization cut-off radius
    19     REAL, INTENT(in) :: sradius              ! Support radius of localization function
     17    INTEGER, INTENT(in) :: locweight         ! Type of localization function [scalar or vector, see below]
     18    REAL, INTENT(in) :: cradius              ! Localization cut-off radius [scalar or vector, see below]
     19    REAL, INTENT(in) :: sradius              ! Support radius of localization function [scalar or vector, see below]
    2020    INTEGER, INTENT(inout) :: dim_obs_l      ! Local dimension of current observation vector
    2121}}}
     
    3636}}}
    3737Here, the size `cradius` and `sradius` has to be equal to `thisobs%ncoords`.
     38
     39== Setting different weight functs for horizontal and vertical directions ==
     40
     41In case of the non-isotropic localization and can specify different weight functions for the vertical and horizontal directions. This should be particularly useful when using the 2D+1D factorized localization (see exaplanation of [wiki:OMI_observation_modules#thisobsdisttype possible choices of thisobs%disttype >]). The interface accepting separate weight functions is
     42{{{
     43    INTEGER, INTENT(in) :: locweight(2)         ! Type of localization function [scalar or vector, see below]
     44    REAL, INTENT(in) :: cradius(:)              ! Localization radius
     45    REAL, INTENT(in) :: sradius(:)              ! Support radius of localization function
     46
     47}}}
     48Now, `locweight(1)` specifies the localization function in the horizontal direction, while `locweight(2)` specifies the localization function in the vertical direction (see the [wiki:OMI_observation_modules#init_dim_obs_l_OBSTYPE the table of choices of localization functions]).