Calculate growing degree days
get_growing_degree_daysCompute growing degree days (GDD) over a date range to monitor crop heat accumulation and forecast maturity or pest emergence. Supports historical and forecast data up to 16 days.
Instructions
Calculate accumulated growing degree days (GDD) over a date range using the modified method (floors Tmin at the base temperature, optionally caps Tmax). GDD tracks crop heat accumulation and is commonly used to predict development stage, maturity, and pest/disease emergence windows. Supports past dates (via historical reanalysis) and future dates (via forecast, up to 16 days out).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | End date, YYYY-MM-DD (inclusive). | |
| latitude | Yes | Latitude in decimal degrees. | |
| longitude | Yes | Longitude in decimal degrees. | |
| start_date | Yes | Start date, YYYY-MM-DD. | |
| base_temp_c | No | Base temperature in Celsius below which no development occurs. Defaults to 10 (common for corn/soybean). | |
| upper_cap_c | No | Optional upper cap on Tmax before averaging, e.g. 30 for corn. Uncapped if omitted. | |
| floor_tmin_at_base | No | Floor Tmin at base_temp_c before averaging (the standard modified method). Defaults to true. |