Initialize global observation error covariance matrix
The routine is called during the analysis step when an ensemble of observations is generated by PDAF_enkf_obs_ensemble. It has to initialize the global observation error covariance matrix.
This routine assumes a diagonal observation error covariance matrix, but allows for varying observation error variances.
The routine can be applied with either all observations of different types at once, or separately for each observation type. The operation is done with all process-local observations
Revision history: * 2020-03 - Lars Nerger - Initial code from restructuring observation routines * Later revisions - see repository log
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(obs_f), | intent(inout) | :: | thisobs | |||
integer, | intent(in) | :: | nobs_all | |||
real, | intent(inout) | :: | covar(:,:) | |||
logical, | intent(out) | :: | isdiag |