earthkit.climate.atmos.temperature.tn90p¶
- earthkit.climate.atmos.temperature.tn90p(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['>', '>=', 'gt', 'ge'] = '>', **kwargs: Any) Any¶
Days with minimum temperature above the 90th percentile.
Number of days with minimum temperature above the 90th percentile.
Units:
tn90p: days
This function wraps xclim.indicators.atmos.tn90p.
- Parameters:
tasmin (
xarray.DataArray | str) – Minimum daily temperature.tasmin_per (
xarray.DataArray | str) – 90th 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[``’>’, ``'>=','gt','ge']) – Comparison operation. Default: “>”.ds (
xarray.Dataset | Any) – Input dataset.**kwargs (
Any) – Additional keyword arguments.
- Returns:
The computed index.
- Return type:
Any