Get growing degree days
get_growing_degree_daysGrowing Degree Units (GDU / GDD) for a US location (CONUS, Alaska, Hawaii), computed from daily max/min temperatures. Pass a crop id (e.g. "corn", "soybean", "wheat") to use calibrated base/upper thresholds, or crop="custom" with base_temp_c (and optional upper_temp_c / method). Without season_start you get per-day GDU across the forecast horizon; WITH season_start (YYYY-MM-DD) you get the cumulative season-to-date total (observed history + today + forecast) plus a per-day cumulative series -- the number a grower tracks against crop milestones. Answers "how many growing degree days has my corn accumulated since May 1?" and "what's the GDU forecast this week?".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude in decimal degrees (-90 to 90). Most tools also accept a `location` place-name string instead of lat/lon. | |
| lon | Yes | Longitude in decimal degrees (-180 to 180). For continental US use negative values (west of the prime meridian). | |
| crop | Yes | Crop id from the catalog (e.g. "corn", "soybean", "wheat") or "custom" to supply your own thresholds via base_temp_c. | |
| days | No | Forecast horizon in days (default 10). | |
| unit | No | Unit system for GDU + temps. Default imperial (°F-days). | |
| method | No | GDU method for custom crops. Defaults from whether upper_temp_c is set. | |
| base_temp_c | No | Custom base threshold in °C. Required when crop="custom". | |
| season_start | No | Season/planting start as YYYY-MM-DD (local date). Presence switches the response to a cumulative season-to-date GDU total. Must be within the ~180-day observed window. | |
| upper_temp_c | No | Custom upper cutoff in °C (enables the modified method). Optional. | |
| day_definition | No | Daily boundary: "nws" (default; NBM MaxT/MinT period extremes) or "local_calendar" (midnight-to-midnight local day). | |
| include_milestones | No | Include the crop's growth-stage GDU milestones in the response. |