Version 3 (modified by 6 days ago) ( diff ) | ,
---|
PDAFomi_diag_get_HXmean
This page documents the routine PDAFomi_diag_get_HXmean
of PDAF, which was introduced with PDAF V3.0. This is part of the PDAF-OMI observation diagnostics module.
The routine returns a pointer to a vector of the observed ensemble mean state for the specified observation type (id_obs
).
Usually all PDAFomi_diag routines are called in prepoststep_pdaf
where the observation information can be retrieved and analyzed.
The interface is:
SUBROUTINE PDAFomi_diag_get_HXmean(id_obs, dim_obs_diag, HXmean_p_ptr) INTEGER, INTENT(in) :: id_obs ! Index of observation type to return INTEGER, INTENT(out) :: dim_obs_p_diag ! Observation dimension REAL, POINTER, INTENT(out) :: HXmean_p_ptr(:) ! Pointer to observed ensemble mean
Notes:
- In case of a parallelized model, the vector
HXmean_p_prt
contains the observed ensemble mean for the process-sub-domain - In Fortran user code the pointer to the observed ensemble mean should be declared in the form
REAL, POINTER :: HXmean_p_ptr(:)
It does not need to be allocated. The target vector has the lengthdim_obs_p_diag
- If the observation diagnostics have not be activated by using PDAFomi_set_obs_diag the pointer will not be set and
dim_obs_diag=0
will be returned. This value can be checked before assessing the pointer array.
Note:
See TracWiki
for help on using the wiki.