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’s member_dim. dim should contain member when comparison is probabilistic but should not contain member when comparison=e2c. Defaults to None meaning that all dimensions other than lead 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.