Search Wind
- •Parse the time range.
- •Call
query_weather:
sql
SELECT mean(windspeedmph), max(windgustmph), last(winddir), last(maxdailygust) FROM weather WHERE time > now() - 24h GROUP BY time(1h)
- •Convert
winddirdegrees to compass bearing (N/NE/E/SE/S/SW/W/NW) when presenting. - •Highlight peak gust and time of peak gust.