earthkit.meteo.extreme.array.sot¶
- earthkit.meteo.extreme.array.sot(clim, ens, perc, eps=-10000.0, clim_dim=0, ens_dim=0)¶
Compute Shift of Tails (SOT).
From climatology percentiles (sorted) and ensemble forecast (not sorted).
The reduction axis (ensemble and quantiles) is configurable by the user, but the other dimensions of clim and ens must be aligned and match.
- Parameters:
clim (
array-like) – Model climatology (percentiles). The reduction axis is set byclim_dim.ens (
array-like) – Ensemble forecast. The reduction axis is set byens_dim.perc (
int) – Percentile value (typically 10 or 90)eps (
(float)) – Epsilon factor for zero valuesclim_dim (
int) – Dimension index of the climatology/quantile dimension inclim. Default is 0.ens_dim (
int) – Dimension index of the ensemble/member dimension inens. Default is 0.
- Returns:
SOT values.
- Return type:
array-like