earthkit.climate.atmos.corn_heat_units¶
- earthkit.climate.atmos.corn_heat_units(tasmin: xarray.DataArray | str = 'tasmin', tasmax: xarray.DataArray | str = 'tasmax', ds: xarray.Dataset | Any = None, *, thresh_tasmin: Any = '4.44 degC', thresh_tasmax: Any = '10 degC', **kwargs: Any) Any¶
Corn heat units.
A temperature-based index used to estimate the development of corn crops. Corn growth occurs when the daily minimum and maximum temperatures exceed given thresholds.
Units:
chu: dimensionless
This function wraps xclim.indicators.atmos.corn_heat_units.
- Parameters:
tasmin (
xarray.DataArray | str) – Minimum daily temperature.tasmax (
xarray.DataArray | str) – Maximum daily temperature.thresh_tasmin (
Any) – The minimum temperature threshold needed for corn growth.thresh_tasmax (
Any) – The maximum temperature threshold needed for corn growth.ds (
xarray.Dataset | Any) – Input dataset.**kwargs (
Any) – Additional keyword arguments.
- Returns:
The computed index.
- Return type:
Any