climpred.comparisons._e2c¶
-
climpred.comparisons.
_e2c
(ds, metric=None)[source]¶ Compare ensemble mean forecast to single member verification. If the initialized dataset is concatinated in a way that the first member is taken from the control simulation, this compares the member mean of all other member forecasts to the control simulation.
- Parameters
ds (xarray object) – xr.Dataset/xr.DataArray with member and ensemble dimension.
metric (Metric) – needed for probabilistic metrics. therefore useless in e2c comparison, but expected by internal API.
- Returns
forecast, reference.
- Return type
xr.object