climpred.comparisons._m2c¶
-
climpred.comparisons.
_m2c
(ds, metric=None)[source]¶ Compare all other member forecasts to a single member verification. 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.
- Parameters
ds (xarray object) – xr.Dataset/xr.DataArray with member and ensemble dimension.
metric (Metric) – if deterministic, forecast and reference both have member dim if probabilistic, only forecast has member dim
- Returns
forecast, reference.
- Return type
xr.object