earthkit.meteo.extreme.sot_unsorted

earthkit.meteo.extreme.sot_unsorted(clim: ArrayLike, ens: ArrayLike, perc: int, eps: float = -10000.0, clim_dim: int | None = None, ens_dim: int | None = None) ArrayLike
earthkit.meteo.extreme.sot_unsorted(clim: xarray.DataArray, ens: xarray.DataArray, perc: int, eps: float = -10000.0, clim_dim: str | None = None, ens_dim: str | None = None) xarray.DataArray

Compute Shift of Tails (SOT) from climatology percentiles (sorted) and ensemble forecast (not sorted).

Parameters:
  • clim (array-like or xarray.DataArray) – Model climatology (percentiles). The reduction dimension is set by clim_dim.

  • ens (array-like or xarray.DataArray) – Ensemble forecast. The reduction dimension is set by ens_dim.

  • perc (int) – Percentile value (typically 10 or 90)

  • eps ((float)) – Epsilon factor for zero values

  • clim_dim (str or int, optional) – Name (or dimension index for array-like) of the climatology/quantile dimension in clim.

  • ens_dim (str or int, optional) – Name (or dimension index for array-like) of the ensemble/member dimension in ens.

Returns:

SOT values.

Return type:

array-like or xarray.DataArray

Implementations

sot_unsorted() calls one of the following implementations depending on the type of the input arguments:

The function returns an object of the same type as the input arguments.