earthkit.climate.atmos.precipitation.high_precip_low_temp¶
- earthkit.climate.atmos.precipitation.high_precip_low_temp(pr: xarray.DataArray | str = 'pr', tas: xarray.DataArray | str = 'tas', ds: xarray.Dataset | Any = None, *, pr_thresh: Any = '0.4 mm/d', tas_thresh: Any = '-0.2 degC', freq: str = 'YS', **kwargs: Any) Any¶
Days with precipitation and cold temperature.
Number of days with precipitation above a given threshold and temperature below a given threshold.
Units:
high_precip_low_temp: days
This function wraps xclim.indicators.atmos.high_precip_low_temp.
- Parameters:
pr (
xarray.DataArray | str) – Mean daily precipitation flux.tas (
xarray.DataArray | str) – Daily mean, minimum or maximum temperature.pr_thresh (
Any) – Precipitation threshold to exceed.tas_thresh (
Any) – Temperature threshold not to exceed.freq (
str) – Resampling frequency.ds (
xarray.Dataset | Any) – Input dataset.**kwargs (
Any) – Additional keyword arguments.
- Returns:
The computed index.
- Return type:
Any