Changes between Version 1 and Version 2 of PDAFomi_set_localize_covar


Ignore:
Timestamp:
Mar 25, 2025, 7:45:39 PM (7 days ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PDAFomi_set_localize_covar

    v1 v2  
    11= PDAFomi_set_localize_covar =
    22
    3 This page documents the routine `PDAFomi_set_localize_covar`` of PDAF-OMI, which are introduced with PDAF3.0.
     3This page documents the routine `PDAFomi_set_localize_covar` of PDAF-OMI, which was introduced with PDAF V3.0.
    44
    55The routine has to be called in `init_dim_obs_OBSTYPE` in each observation module if the localized EnKF or the ENSRF/EAKF with localization are used. It initializes the information for covariance localization.
     
    1111  SUBROUTINE PDAFomi_set_localize_covar(thisobs, dim, ncoords, coords, &
    1212       locweight, cradius, sradius)
    13 }}}
    14 with arguments:
    15 {{{
     13
    1614    TYPE(obs_f), INTENT(inout) :: thisobs       ! Data type with full observation
    1715    INTEGER, INTENT(in) :: dim                  ! State dimension
     
    2523'''Notes:'''
    2624 * The routine allows to specify the localization radius and support radius (`lradius`, `sradius`) and localization function (`locweight`) individually for each observation type.
    27  * The coordinate array `coords` specified the coordinates of each element in the state vector. The units have to be consistent with those used to specify the coordinates of observations.
     25 * The coordinate array `coords` specifies the coordinates of each element in the state vector. The coordinate units have to be consistent with those used to specify the coordinates of observations.
    2826 * The routine only supports a fixed localization radius throughout the domain.
    2927 * One can also directly call the routine `PDAFomi_set_localize_covar_iso`, e.g. when calling from a program coded in C.
     
    3230== `PDAFomi_set_localize_covar` for non-isotropic localization ==
    3331
    34 There is an alternative interface for non-isotropic localization. In this variant `cradius` and `sradius` are specified as vectors holding a value of localization radius for each coordinate direction. This permits for non-isotropic localization.
     32There is an alternative interface for non-isotropic localization. In this variant `cradius` and `sradius` are specified as vectors holding a value of the localization radius for each coordinate direction. This permits for non-isotropic localization.
    3533
    3634{{{
    3735  SUBROUTINE PDAFomi_set_localize_covar(thisobs, dim, ncoords, coords, &
    3836       locweight, cradius, sradius)
    39 }}}
    40 with arguments:
    41 {{{
     37
    4238    TYPE(obs_f), INTENT(inout) :: thisobs       ! Data type with full observation
    4339    INTEGER, INTENT(in) :: dim                  ! State dimension
     
    5753== `PDAFomi_set_localize_covar` for non-isotropic localization with different weight functions ==
    5854
    59 There is an alternative interface for non-isotropic localization which further allows to specify different weight functions for each direction. This allows, for example to use a constant weight in the vertical direction, but smoother decaying weight in the horizontal directions. In this variant `cradius` and `sradius` are specified as vectors holding a value of localization radius for each coordinate direction. In addition `locweight` is specified as a vector holding the localization function index for each coordinate direction.
     55There is also an alternative interface for non-isotropic localization which further allows to specify different weight functions for each direction. This allows, for example, to use a constant weight in the vertical direction, but smooth decaying weight in the horizontal directions. In this variant of the interface `cradius` and `sradius` are specified as vectors holding a value of localization radius for each coordinate direction. In addition `locweight` is specified as a vector holding the localization function index for each coordinate direction.
    6056
    6157{{{
    6258  SUBROUTINE PDAFomi_set_localize_covar(thisobs, dim, ncoords, coords, &
    6359       locweight, cradius, sradius)
    64 }}}
    65 with arguments:
    66 {{{
     60
    6761    TYPE(obs_f), INTENT(inout) :: thisobs       ! Data type with full observation
    6862    INTEGER, INTENT(in) :: dim                  ! State dimension