All Things Spatial
ATS Labs · ATS Brand · React · experimental

ATS Forecast Anywhere

Click anywhere on Earth — a full 7-day forecast dashboard in seconds.

What it is

ATS Forecast Anywhere turns the whole planet into a weather query surface: click any point on Earth and an animated gold pin drops, a cyan pulse lands, and the right-rail glass panel refills with a complete 7-day Open-Meteo forecast — a "now-ish" hero with WMO condition icons, a clickable 7-day strip, a 48-hour canvas chart (temperature line, precipitation-probability bars, day/night shading, a NOW marker), and a details grid of UV, sunrise and sunset, gusts, and humidity. A type-ahead geocoder, a °F/°C toggle, a 12-city "Surprise me" pod, and session-memory recent-location chips round out the tool.

Everything is keyless: Open-Meteo's forecast and geocoding APIs are free with open CORS, and the basemap is Esri's anonymous streets-night vector style — the one app in this set on a night-city ground rather than dark gray. It boots on Detroit with the panel open, deliberately avoiding geolocation permission friction, and runs with an empty .env.

The engineering story is about correctness in the small: timezone-safe time math for any point on Earth, a single-fetch unit system, and a full WMO weather-code vocabulary.

The experience

The app boots on Detroit, pin already dropped, panel already open, header clock ticking in local Detroit time. From there the planet is one click away:

Like every app in the ATS branded line, the interface follows the house standard: React 19 and Tailwind 4 drive a dark glass shell, every control is a Lucide-iconed glass pod designed for this app, and there is no Esri widget chrome anywhere on screen. The map engine is Esri; the experience is ATS — designed, not assembled.

The data — where it comes from

Both services are live, keyless, and CORS-open (verified with Origin-header checks on build day); the basemap is the only Esri dependency.

SourceWhat it providesRefreshCostAttribution
Open-Meteo Forecast API (api.open-meteo.com)7-day / 168-hour model forecast: temperature, precipitation, wind, humidity, UV, weather codes, sunrise/sunset, with timezone=auto metadataLive; one fetch per selected placeFree (keyless)Open-Meteo.com, CC BY 4.0
Open-Meteo Geocoding API (geocoding-api.open-meteo.com)Type-ahead place search: name, country, admin region, population, coordinates, timezoneLive; debounced per keystrokeFree (keyless)Open-Meteo.com, CC BY 4.0
Esri streets-night vector basemapAnonymous legacy v4 night basemapEsri-hostedFree (anonymous)Esri

How it was assembled

The application is a fully static single-page app — no backend, no database, no server-side rendering. The stack is the shared ATS Labs branded-app baseline:

Module map — the codebase is small and deliberate; each file owns one concern:

Key engineering decisions