Changes between Initial Version and Version 1 of init_obscovar_pdaf

Jan 21, 2016, 1:24:55 PM (5 years ago)



  • init_obscovar_pdaf

    v1 v1  
     1= init_obscovar_pdaf =
     3The page documents the user-supplied call-back routine `init_obscovar_pdaf`.
     5The routine `init_obscovar_pdaf` (called `U_init_obs_covar` inside the PDAF core routines) is a call-back routine that has to be provided by the user.
     6The routine is used only with the EnKF. The routine is called during the analysis step and is required for the generation of an ensemble of observations. It has to initialize the global observation error covariance matrix. In addition, a flag has to be initialized to provide the information, whether the observation error covariance matrix is diagonal.
     9The interface is the following:
     11SUBROUTINE init_obscovar_pdaf(step, dim_obs, dim_obs_p, covar, obs_p, isdiag)
     14 * `step` : `integer, intent(in)`[[BR]] Current time step
     15 * `dim_obs` : `integer, intent(in)`[[BR]] Global size of observation vector
     16 * `dim_obs_p` : `integer, intent(in)`[[BR]] Size of process-local observation vector
     17 * `covar` : `real, intent(out)`[[BR]] Observation error covariance matrix
     18 * `obs_p` : `real, intent(in), dimension(dim_obs_p)`[[BR]] Process-local vector of observations
     19 * `isdiag` : `logical, intent(out)`[[BR]]  Flag whether the observation error covar. matrix is diagonal
     22The initialization of `covar` is for the global observation space. Thus, it is independent of whether the filter is executed with or without parallelization.
     25 * The local observation vector `obs_p` is provided to the routine for the case that the observation errors are relative to the value of the observation.