{% set is_day = data["current_weather"]["is_day"] %}
{% set weather_code = data["current_weather"]["weathercode"] %}
{{ weather_codes[weather_code] }}
{{ data["current_weather"]["temperature"]}}°F
Wind: {{ data["current_weather"]["windspeed"] }} MPH
Sunrise: {{ data["daily"]["sunrise"][0] }}
Sunset: {{ data["daily"]["sunset"][0] }}
Hourly Forecast
{% for i in range(hour, hour + 24) %}
{% endfor %}
{{ data["hourly"]["time"][i] }}
{{ weather_codes[data["hourly"]["weathercode"][i]] }}
{% if data["hourly"]["weathercode"][i] > 50 %}
({{ data["hourly"]["precipitation"][i] }}in, {{ data["hourly"]["precipitation_probability"][i] }}%)
{% endif %}
{{ data["hourly"]["temperature_2m"][i]}}°F
Humidity: {{ data["hourly"]["relativehumidity_2m"][i] }}%
Wind: {{ data["hourly"]["windspeed_10m"][i] }}MPH
Daily Forecast
{% for i in range(7) %}
{% endfor %}
{{ data["daily"]["time"][i] }}
{{ weather_codes[data["daily"]["weathercode"][i]] }}
{% if data["daily"]["weathercode"][i] > 50 %}
({{ data["daily"]["precipitation_sum"][i] }}in, {{ data["daily"]["precipitation_probability_max"][i] }}%)
{% endif %}
High: {{ data["daily"]["temperature_2m_max"][i] }}°F
Low: {{ data["daily"]["temperature_2m_min"][i] }}°F
Sunrise: {{ data["daily"]["sunrise"][i] }}
Sunset: {{ data["daily"]["sunset"][i] }}