earthkit.climate.atmos.temperature.frost_free_season_length

earthkit.climate.atmos.temperature.frost_free_season_length(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 length.

Duration of the frost free season, defined as the period when the minimum daily temperature is above 0°C without a freezing window of N days, with freezing occurring after a median calendar date.

Units:

  • frost_free_season_length: days

This function wraps xclim.indicators.atmos.frost_free_season_length.

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