Weather alerts, timing & caching
Official Weather Alerts & Real Timing
Section titled “Official Weather Alerts & Real Timing”Route Weather displays official government weather alerts returned by Apple Weather (WeatherKit) — covering the National Weather Service (US), Environment Canada, Met Office, European MeteoAlarm, Japan Meteorological Agency and more.
- US NWS Onset & End Enrichment: Apple’s WeatherKit alert object omits official onset and expiration timestamps. Whenever WeatherKit reports a National Weather Service alert for a US checkpoint, Route Weather queries the public-domain NWS active alerts feed (
api.weather.gov) for that grid cell to recover the exactonsetandendswindow. A watch that begins tomorrow morning will not falsely score today’s clear drive as severe. - Until Further Notice: For NWS warnings published without an explicit end time (such as river Flood Warnings), Route Weather keeps the official onset, shows Until further notice, and scores through the active horizon.
- Badge Clarity: Alerts render WATCH, ADVISORY or WARNING matching the official alert headline, with a Details link to the issuing agency’s official bulletin.
Quota-Safe Spatial & Time Caching
Section titled “Quota-Safe Spatial & Time Caching”- Standard route checkpoints snap to a 0.15° grid (~15 km) and mountain passes snap to a tighter 0.04° grid (~4 km) so summit microclimates stay distinct from valley floors.
- Each cached cell stores 8 days of hourly forecasts for 60 minutes (and alerts for 20 minutes).
- Scrubbing departure times, comparing overlapping alternate highways, switching to a Return leg, or undoing edits reuses cached cells with zero extra weather calls.
- If live weather cannot be reached, Route Weather shows your route, ETAs and 30 m elevation profile honestly without fabricating synthetic weather.

