How it's made
Why
Most advice on what to wear for a run comes down to a temperature table and the rule to dress 15 to 20°F warmer than it is. That rule is folklore. It dresses a still, sunny 40°F the same as a wet one in a 15 mph wind, and an easy jog the same as a race.
I wanted the answer worked out from the body, not looked up.
What it does
Comfort on a run is a balance: the heat you make against the heat the weather takes. Your pace sets the first. Air, wind, sun, humidity and rain set the second. Attune works out both for the hour you run and picks the outfit that is neither too cold into the wind nor too sweaty with it behind you.
The answer is the words. Each garment's name is set heavier the warmer it is, and the runner beside it wears the same outfit through that hour's weather.
After a run, Too cold or Too warm moves one number by 2°F, kept on your device. It stands in for how your body differs from the model's.
The rule
A piece goes on the list only if it makes the run faster, more efficient or possible at all. Looking after your skin or eyes is not enough on its own. Sun cover makes the list because a burn impairs sweating.
It leans light, because runners are fastest a little cool. For the same reason the best hour on the bar is the one that feels nearest 50°F, where races are run fastest.
The model is checked against six outfits experienced runners would pick, from winter dark to summer sun. When the two disagree, I decide which is wrong, the science or the runners, and write down why. Nothing is tuned quietly.
Each piece opens to the study behind it. Every equation, constant and study is in How Attune decides.
What I left out
- An effort setting. Easy, workout and race buttons say less than a pace does, so pace is the only thing you tell it about yourself.
- Questions about your body. Weight, height and sex each move the answer several degrees. The feedback number covers all three without asking.
- Sunglasses. Nothing shows they make a runner faster.
- A location prompt on load. A prompt nobody asked for is the creepy part and the slow part. The first answer is for the town your connection suggests, and it says so.
- Icons and cards. The words carry the answer, and nothing competes with them.
Where the data comes from
- Open-Meteo. The hourly forecast: NOAA's HRRR model on a 3 km grid, re-run every hour. It is the one free source with the direct and scattered sunlight the model needs. Its geocoder turns a ZIP or town into a place.
- National Weather Service stations. The latest reading at the nearest one, usually an airport, because for the present a measurement beats a forecast. The forecast is pulled to it, fading over 6 hours, so the temperature matches the thermometer. The air temperature is always shown beside how it feels, so any number can be checked against another weather app.
- National Weather Service alerts. Active warnings where you are.
- EPA AirNow. Air quality from the nearest monitor, because measured beats modeled. Open-Meteo's model stands in where none is close.
- The body. Gagge's two-node model of core and skin, the model behind ASHRAE's comfort standard, checked against the pythermalcomfort reference code. Heat thresholds from the American College of Sports Medicine; wind chill from the National Weather Service, for bare skin only.
How it's built
It is a page you glance at before a run, so it is small: about 32 kB of code, with its styling inside the page so the first screen takes one request. A small server on Vercel fetches the weather and keeps it by rounded location and hour, so runners near each other share one request. A build that fails the tests does not ship.
What it can't see
- Your route. It assumes open road and open sky. A shaded or sheltered route runs milder than it says.
- Your season. The same runner is modeled in April and August. Too cold and Too warm are how it catches up.
- Intervals. The run is modeled at one steady pace.
What it keeps
No account. Your place, pace and feedback number stay on this device. On a first visit the town is guessed from your connection; the guess is not kept or logged, and a location is rounded before any request. Visits are counted without cookies.