Version 1 (modified by 13 days ago) ( diff ) | ,
---|
PDAF_diag_compute_moments
This page documents the routine PDAF_diag_compute_moments
of PDAF, which was introduced with PDAF V3.0.
This routine computes the mean, the unbiased variance, the unbiased skewness, and the unbiased excess kurtosis from an ensemble. All moments are stored in a single array. kmax
controls the highest order that should be computed.
The routine can be called in the pre/poststep routine of PDAF both before and after the analysis step to compute the ensemble statistics.
The interface is the following:
SUBROUTINE PDAF_diag_compute_moments(dim_p, dim_ens, ens, kmax, moments)
with the following arguments:
-
dim_p
: INTEGER, INTENT(IN)
Size of the state vector
-
dim_ens
: INTEGER, INTENT(IN)
Ensemble size
-
ens
: REAL, DIMENSION(dim_p,dim_ens), INTENT(IN)
Ensemble matrix
-
kmax
: INTEGER, INTENT(IN)
Highest order of statistical moment (1-4)
-
moments
: REAL, DIMENSION(dim_p,kmax), INTENT(OUT)
The statistical moments up to orderkmax
with- column 1: mean
- column 2: variance
- column 3: skewness
- colmnu 4: excess kurtosis
Note:
See TracWiki
for help on using the wiki.