climpred.metrics._std_ratio

climpred.metrics._std_ratio(forecast, verif, dim=None, **metric_kwargs)[source]

Ratio of standard deviations of the forecast over the verification data.

\text{std ratio} = \frac{\sigma_f}{\sigma_o},

where \sigma_{f} and \sigma_{o} are the standard deviations of the forecast and the verification data over the experimental period, respectively.

Parameters
  • forecast (xarray object) – Forecast.

  • verif (xarray object) – Verification data.

  • dim (str) – Dimension(s) to perform metric over.

  • metric_kwargs (dict) – see xarray.std

Details:

minimum

0.0

maximum

perfect

1.0

orientation

N/A

Reference:

Example

>>> HindcastEnsemble.verify(metric='std_ratio', comparison='e2o',
...     alignment='same_verifs', dim='init')
<xarray.Dataset>
Dimensions:  (lead: 10)
Coordinates:
  * lead     (lead) int32 1 2 3 4 5 6 7 8 9 10
    skill    <U11 'initialized'
Data variables:
    SST      (lead) float64 0.7567 0.8801 0.9726 1.055 ... 1.075 1.094 1.055