fd353ab732
api/storm-polygons.js — Vercel proxy that fetches historical NWS storm-based warnings (severe thunderstorm + tornado) from IEM for WFO FWD (Fort Worth), covering Collin County / Plano TX. Filters to local bounding box, derives severity from polygon area (area2163 km²), estimates impacted homes from density, derives area name from centroid. Cached 12h on Vercel edge. useStormEvents.js — switched to real IEM data (USE_MOCK=false). Fetches full 36-month dataset once on mount; all range/type/severity filtering stays client-side in useMemo for instant UI response. Falls back to MOCK_STORM_EVENTS when /api routes are unavailable (local vite dev).