earthkit.climate.atmos.temperature.frost_free_season_end¶
- earthkit.climate.atmos.temperature.frost_free_season_end(tasmin: xarray.DataArray | str = 'tasmin', ds: xarray.Dataset | Any = None, *, thresh: Any = '0 degC', window: int = 5, mid_date: str | None = '07-01', op: Literal['>', 'gt', '>=', 'ge'] = '>=', freq: str = 'YS', **kwargs: Any) Any¶
Frost free season end.
First day when the temperature is below a given threshold for a given number of consecutive days after a median calendar date.
Units:
frost_free_season_end: dimensionless
This function wraps xclim.indicators.atmos.frost_free_season_end.
- Parameters:
tasmin (
xarray.DataArray | str) – Minimum daily temperature.thresh (
Any) – Threshold temperature on which to base evaluation.window (
int) – Minimum number of days with temperature above/under the threshold to start/end the season.mid_date (
str | None) – A date what must be included in the season. None removes that constraint.op (
Literal[``’>’, ``'gt','>=','ge']) – How to compare tasmin and the threshold.freq (
str) – Resampling frequency.ds (
xarray.Dataset | Any) – Input dataset.**kwargs (
Any) – Additional keyword arguments.
- Returns:
The computed index.
- Return type:
Any