earthkit.climate.atmos.temperature.tn10p

earthkit.climate.atmos.temperature.tn10p(tasmin: xarray.DataArray | str = 'tasmin', tasmin_per: xarray.DataArray | str = 'tasmin_per', ds: xarray.Dataset | Any = None, *, freq: str = 'YS', bootstrap: bool = False, op: Literal['<', '<=', 'lt', 'le'] = '<', **kwargs: Any) Any

Days with minimum temperature below the 10th percentile.

Number of days with minimum temperature below the 10th percentile.

Units:

  • tn10p: days

This function wraps xclim.indicators.atmos.tn10p.

Parameters:
  • tasmin (xarray.DataArray | str) – Mean daily temperature.

  • tasmin_per (xarray.DataArray | str) – 10th percentile of daily minimum temperature.

  • freq (str) – Resampling frequency.

  • bootstrap (bool) – Flag to run bootstrapping of percentiles. Used by percentile_bootstrap decorator. Bootstrapping is only useful when the percentiles are computed on a part of the studied sample. This period, common to percentiles and the sample must be bootstrapped to avoid inhomogeneities with the rest of the time series. Do not enable bootstrap when there is no common period, otherwise it will provide the wrong results. Note that bootstrapping is computationally expensive.

  • op (Literal[``’<’, ``'<=', 'lt', 'le']) – Comparison operation. Default: “<”.

  • ds (xarray.Dataset | Any) – Input dataset.

  • **kwargs (Any) – Additional keyword arguments.

Returns:

The computed index.

Return type:

Any