Changes between Version 1 and Version 2 of PDAF_diag_histogram
- Timestamp:
- Dec 11, 2016, 9:52:00 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PDAF_diag_histogram
v1 v2 20 20 * `dim` : `integer, intent(in)`[[BR]] Size of state vector 21 21 * `dim_ens` : `integer, intent(in)`[[BR]] Ensemble size 22 * `element` : `integer, intent(in)`[[BR]] Element of state vector for which the histogram is computed. If element=0, the histogram is computed over the whole state vector22 * `element` : `integer, intent(in)`[[BR]] Element of state vector for which the histogram is computed. If `element=0`, the histogram is computed over the whole state vector 23 23 * `state` : `real, intent(in), dimension(dim)`[[BR]] State vector 24 24 * `ens` : `real, intent(in), dimension(dim, dim_ens)`[[BR]] State ensemble 25 * `hist` : `integer, intent(inout), dimension(dim, dim_ens+1)`[[BR]] Histogram about the state 26 * `delta` : `real, intent(out)`[[BR]] Deviation measure from flat histogram 27 * `status` : `integer, intent(out)`[[BR]] Status flag 25 28 26 29 Notes: 30 * The array `hist` has to be allocated and initialized with zeros before the first call to `PDAF_diag_histogram` 31 * The value of `delta` is >0 if the histogram is not flat. However, delta is not bounded and is hence difficult to interpret. 32 * An example of using `PDAF_diag_histogram` can be found in the Lorenz-96 model example (see testsuite/src/lorenz96/compute_truermse.F90).