earthkit.climate.atmos.cool_night_index

earthkit.climate.atmos.cool_night_index(tasmin: xarray.DataArray | str = 'tasmin', lat: xarray.DataArray | str | None = None, ds: xarray.Dataset | Any = None, *, freq: Literal['YS', 'YS-JAN'] = 'YS', **kwargs: Any) Any

Cool night index.

A night coolness variable which takes into account the mean minimum night temperatures during the month when ripening usually occurs beyond the ripening period.

Units:

  • cool_night_index: degC

This function wraps xclim.indicators.atmos.cool_night_index.

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

  • lat (xarray.DataArray | str | None) – Latitude coordinate as an array, float or string. If None, a CF-conformant “latitude” field must be available within the passed DataArray.

  • freq (Literal[``’YS’, ``'YS-JAN']) – Resampling frequency.

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

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

Returns:

The computed index.

Return type:

Any