earthkit.climate.atmos.maximum_consecutive_frost_free_days

earthkit.climate.atmos.maximum_consecutive_frost_free_days(tasmin: xarray.DataArray | str = 'tasmin', ds: xarray.Dataset | Any = None, *, thresh: Any = '0 degC', freq: str = 'YS', resample_before_rl: bool = True, **kwargs: Any) Any

Maximum consecutive frost free days.

Maximum number of consecutive frost-free days: where the daily minimum temperature is above or equal to 0°C

Units:

  • consecutive_frost_free_days: days

This function wraps xclim.indicators.atmos.maximum_consecutive_frost_free_days.

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

  • thresh (Any) – Threshold temperature.

  • freq (str) – Resampling frequency.

  • resample_before_rl (bool) – Determines if the resampling should take place before or after the run length encoding (or a similar algorithm) is applied to runs.

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

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

Returns:

The computed index.

Return type:

Any