Add a 0-5 severity to the object returned by getCurrentWeather(), derived at read time as the max of wind speed (already on the 0-5 wind scale), a precipitation score, and a temperature-extreme score. No new preset fields; calm-weather hazards like fog and extreme heat must still score above zero.
Add a 0-5
severityto the object returned bygetCurrentWeather(), derived at read time as the max of wind speed (already on the 0-5 wind scale), a precipitation score, and a temperature-extreme score. No new preset fields; calm-weather hazards like fog and extreme heat must still score above zero.