Retrieve NOAA heating/cooling degree day data for load forecasting

domain: noaa.gov · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Access NOAA's Climate Data Online (CDO) API at ncei.noaa.gov/cdo-web/api/v2/ using a free token requested at ncei.noaa.gov/cdo-web/token; the CDO API provides access to NOAA's full archive of historical station-level climate data including daily HDD and CDD.
  2. Query the GHCND (Global Historical Climatology Network - Daily) dataset for the target weather station using GET /data?datasetid=GHCND&stationid={stationid}&startdate={YYYY-MM-DD}&enddate={YYYY-MM-DD}&datatypeid=HDD,CDD&limit=1000; note that HDD and CDD in GHCND are computed relative to a 65°F (18.3°C) base temperature.
  3. Identify the nearest suitable weather station using the /stations endpoint filtered by location (latitude/longitude bounding box or FIPS code) and datasetid=GHCND; select a station with long record completeness and minimal missing data for the load forecasting period.
  4. For weekly and monthly aggregate degree day summaries and forecasts, supplement CDO data with NOAA's Climate Prediction Center (CPC) degree day products at cpc.ncep.noaa.gov/products/analysis_monitoring/cdus/degree_days/; these provide regional summaries and seasonal forecasts but without a JSON API.
  5. For custom base temperatures (e.g., 60°F for a particular building type), derive HDD and CDD from hourly dry-bulb temperature data using the NOAA ISD (Integrated Surface Data) dataset, available from ncei.noaa.gov/products/land-based-station/integrated-surface-database.
  6. Join degree day data to your load time series by date and station proximity; validate the degree day–load correlation before using in a forecasting model, as correlation degrades for highly insulated or process-dominated facilities.

Known gotchas

Related routes

Retrieve heating degree days from NOAA's Climate Data Online (CDO) API
www.ncdc.noaa.gov · 5 steps · unrated
Pull daily temperature data from NOAA's Climate Data Online (CDO) API v2 to compute heating/cooling degree days for utility weather-normalization
ncdc.noaa.gov · 5 steps · unrated
pull a multi-year historical hourly weather archive for a site using the Open-Meteo Historical Weather API to compute heating/cooling degree days
open-meteo.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans