Get degree-days for a location
climate_degree_daysCalculate heating, cooling, or growing degree-days for any GPS point or city over a date range using Copernicus ERA5 data, helping you size HVAC demand, settle energy contracts, or model crop growth.
Instructions
Before your agent sizes heating or cooling demand, settles an energy contract or models crop growth: heating, cooling and growing degree-days (HDD/CDD/GDD) for any GPS point or city over a date range, computed from Copernicus ERA5 daily mean temperature (rolling 30-year window) with the NWS/EIA/WMO mean-temperature method. Price: $0.01 per call First call each day free (trial). Docs: https://invoket.com/docs/api/climate-degree-days
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| lat | Yes | Latitude in decimal degrees. Alternative: pass city=<name> (alias location=, optional country= ISO 3166 alpha-2) instead of lat+lon — resolved via the embedded GeoNames gazetteer (exact match, most populous wins) and echoed back as data.location | |
| lon | Yes | ||
| base | Yes | ||
| from | Yes | ||
| kind | Yes |