## exfoliation for weewx - Copyright 2012-2013 Matthew Wall ## $Id: forecast.html.tmpl 1764 2017-10-10 11:17:07Z mwall $ # errorCatcher Echo # encoding UTF-8 #set $desired_forecasts = ['WU', 'Aeris', 'OWM', 'WWO', 'NWS', 'UKMO'] #set $forecast_info = {'WU': 'Weather Underground', 'Aeris': 'Aeris', 'OWM': 'Open WeatherMap', 'WWO': 'World Weather Online', 'NWS': 'US National Weather Service', 'UKMO': 'UK Met Office'} #set $desired_formats = ['iconic', 'table', 'strip', 'cmp'] #set $format_label = {'iconic': 'Iconic', 'table': 'Table', 'strip': 'Strip', 'cmp': 'Compare'} #set $forecast_settings = dict() #set $forecast_settings['num_periods'] = 300 #set $forecast_settings['show_legend'] = 1 #set $forecast_settings['show_hourly'] = 1 #set $forecast_settings['show_day'] = 1 #set $forecast_settings['show_date'] = 1 #set $forecast_settings['show_outlook'] = 1 #set $forecast_settings['show_temp'] = 1 #set $forecast_settings['show_dewpoint'] = 1 #set $forecast_settings['show_wind'] = 1 #set $forecast_settings['show_tides'] = 1 #set $forecast_settings['show_sun'] = 1 #set $forecast_settings['show_moon'] = 1 #set $forecast_settings['show_moonphase'] = 1 #set $forecast_settings['show_pop'] = 1 #set $forecast_settings['show_precip'] = 1 #set $forecast_settings['show_obvis'] = 1 #set $forecast_settings['orientation'] = 'horizontal' ## Override settings with anything specified in extras #if 'forecast_sources' in $Extras #set $desired_forecasts = $Extras['forecast_sources'] #end if #if 'forecast_formats' in $Extras #set $desired_formats = $Extras['forecast_formats'] #end if #if 'forecast_page_forecast_settings' in $Extras #for $v in $Extras.forecast_page_forecast_settings #set $forecast_settings[$v] = $Extras.forecast_page_forecast_settings[$v] #end for #end if $station.location Forecast #include "header.inc"
#if 'iconic' in $desired_formats

#for $forecast_id in $desired_forecasts #set $forecast_settings['source'] = $forecast_id #set global $forecast_iconic_settings = $forecast_settings
#include "forecast_iconic.inc"
#end for
#end if #if 'table' in $desired_formats

#for $forecast_id in $desired_forecasts #set $forecast_settings['source'] = $forecast_id #set global $forecast_table_settings = $forecast_settings
#include "forecast_table.inc"
#end for
#end if #if 'strip' in $desired_formats
#for $forecast_id in $desired_forecasts #set $forecast_settings['source'] = $forecast_id #set global $forecast_strip_settings = $forecast_settings #include "forecast_strip.inc" #end for
#end if #if 'cmp' in $desired_formats

Temperatures Compared

Probability of Precipitation Compared

Wind Speed Compared

WU Temperatures

WU Probability of Precipitation

WU Wind Speed

Aeris Temperatures

Aeris Probability of Precipitation

Aeris Wind Speed

NWS Temperatures

NWS Probability of Precipitation

NWS Wind Speed

#end if
#include "footer.inc"