climpred.classes.PerfectModelEnsemble.verify¶
-
PerfectModelEnsemble.
verify
(metric=None, comparison=None, dim=None, reference=None, **metric_kwargs)[source]¶ Verify initialized predictions against a configuration of other ensemble members.
Note
The configuration of the other ensemble members is based off of the
comparison
keyword argument.- Parameters
metric (str,
Metric
) – Metric to apply in the comparison. See metrics.comparison (str,
Comparison
) – How to compare the initialized prediction ensemble with itself, see comparisons.dim (str, list of str) – Dimension(s) over which to apply
metric
.dim
is passed on to xskillscore.{metric} and includes xskillscore’smember_dim
.dim
should containmember
whencomparison
is probabilistic but should not containmember
whencomparison=e2c
. Defaults toNone
meaning that all dimensions other thanlead
are reduced.reference (str, list of str) – Type of reference forecasts with which to verify. One or more of [‘persistence’, ‘uninitialized’].
**metric_kwargs (optional) – Arguments passed to
metric
.
- Returns
Dataset of comparison results with
skill
dimension for verification results for the initialized ensemble (init
) and any reference forecasts verified.