Changes between Initial Version and Version 1 of PDAF_diag_stddev


Ignore:
Timestamp:
Mar 21, 2025, 2:50:07 PM (12 days ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PDAF_diag_stddev

    v1 v1  
     1= PDAF_diag_stddev =
     2
     3This page documents the routine `PDAF_diag_stddev` of PDAF, which was introduced with PDAF V3.0.
     4
     5This routine computes mean ensemble standard deviation taking into account domain-decomposition for parallelized models.
     6
     7The routine can be called in the pre/poststep routine of PDAF both before and after the analysis step to compute the ensemble statistics. This variant computes the standard deviation for the provided ensemble over the full decomposed domain of a parallel model. The variant without parallelization is [wiki:PDAF_diag_stddev_nompi].
     8
     9The interface is the following:
     10{{{
     11SUBROUTINE PDAF_diag_stddev(dim, dim_ens, &
     12     state, ens, stddev, do_mean, COMM_filter, status)
     13}}}
     14with the following arguments:
     15{{{
     16  INTEGER, INTENT(in) :: dim_p                 ! process-local state dimension
     17  INTEGER, INTENT(in) :: dim_ens               ! Ensemble size
     18  REAL, INTENT(inout) :: state_p(dim_p)        ! process-local state vector
     19  REAL, INTENT(in)    :: ens_p(dim_p, dim_ens) ! process-local state ensemble
     20  REAL, INTENT(out)   :: stddev_g              ! Global mean standard deviation of ensemble
     21  INTEGER, INTENT(in) :: do_mean               ! Whether to compute ensemble mean
     22  INTEGER, INTENT(in) :: COMM_filter           ! Filter communicator
     23  INTEGER, INTENT(out) :: status               ! Status flag (0=success)
     24}}}
     25
     26**Note:**
     27 * The ensemble standard deviation is a common measure of the estimate model root mean square error. It is typically computed in `prepoststep_pdaf` to monitor the assimilation process.