earthkit.climate.atmos.temperature.growing_season_start

earthkit.climate.atmos.temperature.growing_season_start(tas: xarray.DataArray | str = 'tas', ds: xarray.Dataset | Any = None, *, thresh: Any = '5.0 degC', mid_date: str | None = '07-01', window: int = 5, freq: str = 'YS', op: Literal['>', 'gt', '>=', 'ge'] = '>=', **kwargs: Any) Any

Growing season start.

The first day when the temperature exceeds a certain threshold for a given number of consecutive days.

Units:

  • growing_season_start: dimensionless

This function wraps xclim.indicators.atmos.growing_season_start.

Parameters:
  • tas (xarray.DataArray | str) – Mean daily temperature.

  • thresh (Any) – Threshold temperature on which to base evaluation.

  • mid_date (str | None) – Date of the year before which the season must start. Should have the format ‘%m-%d’. None removes that constraint.

  • window (int) – Minimum number of days with temperature above threshold needed for evaluation.

  • freq (str) – Resampling frequency.

  • 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