Version 4 (modified by 8 days ago) ( diff ) | ,
---|
PDAF_local_type
This page documents the function PDAF_local_type
of PDAF, which was introduced with PDAF 3.0.
The function is an alternative to the routine PDAF_get_local_type. With PDAF_local_type
the return value of the function canbe directly used, while for PDAF_get_local_type
the return value is an argument of the routine.
The function returns the information on the localization type of the selected filter. With this one can distinguish filters using domain localization (LESTKF, LETKF, LSEIK, LNETF), covariance localization (LEnKF), or covariance localization with observation handling like domain localization (ENSRF/EAKF).
The function can be called in init_dim_obs_OBSTYPE
, of each observation module to control whether PDAFomi_set_localize_covar is called to initialize covariance localization.
The interface is:
INTEGER FUNCTION PDAF_local_type()
without arguments. The return value is
- (0) no localization; global filter
- (1) domain localization (LESTKF, LETKF, LNETF, LSEIK)
- (2) covariance localization (LEnKF)
- (3) covariance localization, but observation handling like domain localization (ENSRF/EAKF)
Notes:
- The function can also be used as an alternative to
PDAF_localfilter
inassimilate_pdaf
. - The return value can be directly used, e.g. as
IF (PDAF_local_type() > 0) THEN CALL PDAFomi_set_localize_covar(...)