climpred.comparisons._m2c

Contents

climpred.comparisons._m2c#

climpred.comparisons._m2c(initialized: Dataset, metric: Metric, verif: Dataset | None = None) Tuple[Dataset, Dataset][source]#

Compare all other member forecasts to a single member verification.

Verification member is the first member. If the initialized dataset is concatinated in a way that the first member is taken from the control simulation, this compares all other member forecasts to the control simulation.

Comparisons for PerfectModelEnsemble

Parameters:
  • initializedinitialized with member dimension.

  • metric – if deterministic, forecast and verif both have member dim if probabilistic, only forecast has member dim

  • verif – not used in PerfectModelEnsemble

Returns:

forecast, verification