climpred.comparisons._m2c
climpred.comparisons._m2c#
- climpred.comparisons._m2c(initialized: xarray.Dataset, metric: climpred.metrics.Metric, verif: Optional[xarray.Dataset] = None) Tuple[xarray.Dataset, xarray.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
initialized –
initialized
withmember
dimension.metric – if deterministic, forecast and verif both have member dim if probabilistic, only forecast has
member
dimverif – not used in
PerfectModelEnsemble
- Returns
forecast, verification