#errorCatcher Echo ## ## Specifying an encoding of UTF-8 is usually safe, but if your text is ## actually in Latin-1, then you should replace the string "UTF-8" with "latin-1" ## If you do this, you should also change the 'Content-Type' metadata below. #encoding UTF-8 ## #set global $page = "home" #include "header.html.tmpl"

$obs.label.home_page_header

$obs.label.powered_by
#if $social_html != "" $social_html #end if
#if $Extras.has_key("forecast_alert_enabled") and $Extras.forecast_alert_enabled == '1'
#end if
#if $Extras.has_key("forecast_enabled") and $Extras.forecast_enabled == '1' and $current_obs_icon != "" #end if
$current.outTemp.formatted$unit.label.outTemp
$current_obs_summary
#if $Extras.has_key("aqi_enabled") and $Extras.aqi_enabled == '1'
$obs.label.aqi: $aqi ($aqi_category) #if $Extras.has_key("aqi_location_enabled") and $Extras.aqi_location_enabled == '1'
$aqi_location
#end if
#end if
#if $current.appTemp.has_data
$obs.label.feels_like: $current.appTemp
#end if
$obs.label.highest_temperature $obs.label.lowest_temperature
$day.outTemp.max $day.outTemp.min
#if $current.windDir.ordinal_compass == "N/A" -- #else $current.windDir.ordinal_compass #end if #if $current.windDir.raw is None: - #else $current.windDir.format("%.0f") #end if
#if $Extras.has_key("beaufort_category") and $Extras.beaufort_category == '1' #end if
$obs.label.wind_speed $obs.label.wind_gust
$current.windSpeed.toString(addLabel=False, NONE_string="--")   $current.windGust.toString(addLabel=False, NONE_string="--")
$unit.label.windSpeed
#if os.path.exists("index_hook_after_wind_table.inc")
#include "index_hook_after_wind_table.inc"
#end if
$station_obs_html
#if os.path.exists("index_hook_after_station_observations.inc")
#include "index_hook_after_station_observations.inc"
#end if
#if $obs.label.sun_and_moon and $obs.label.sun_and_moon != ''
$obs.label.sun_and_moon
#end if

#echo $almanac.moon_phase.title()#
$almanac.moon_fullness% $obs.label.moon_visible
#if $Extras.has_key("almanac_extras") and $Extras.almanac_extras == '1' and $almanac.hasExtras #end if
#if os.path.exists("index_radar.inc") #include "index_radar.inc" #else
$radar_html
#end if
#if os.path.exists("index_hook_after_station_info.inc")
#include "index_hook_after_station_info.inc"
#end if #if $Extras.has_key("forecast_enabled") and $Extras.forecast_enabled == '1' and (($Extras.has_key("forecast_interval_hours") and $Extras.forecast_interval_hours != '0') or not ($Extras.has_key("forecast_interval_hours")))
$obs.label.forecast_header
$obs.label.forecast_interval_caption
1
3
24
#if $Extras.has_key("forecast_interval_hours") and $Extras.forecast_interval_hours != '0' #if $Extras.has_key("forecast_interval_hours") and $Extras.forecast_interval_hours == '1' #end if #end if #if $Extras.has_key("forecast_interval_hours") and $Extras.forecast_interval_hours == '3' #end if #if ($Extras.has_key("forecast_interval_hours") and $Extras.forecast_interval_hours == '24') or not ($Extras.has_key("forecast_interval_hours")) #end if
#end if #if os.path.exists("index_hook_after_forecast.inc")
#include "index_hook_after_forecast.inc"
#end if
#if $Extras.has_key('earthquake_enabled') and $Extras.earthquake_enabled == '1'
#else
#end if
$obs.label.weather_snapshots $obs.label.weather_snapshots_link
$obs.label.snapshot_high: $day.outTemp.max $obs.label.snapshot_low: $day.outTemp.min
$obs.label.snapshot_today_avg_wind: $day.wind.avg $obs.label.snapshot_today_high_wind: $day.wind.max
$obs.label.snapshot_today_rain: $day.rain.sum $obs.label.snapshot_today_rainrate: $day.rainRate.max
$obs.label.snapshot_high: $month.outTemp.max $obs.label.snapshot_low: $month.outTemp.min
$obs.label.snapshot_month_avg_wind: $month.wind.avg $obs.label.snapshot_month_high_wind: $month.wind.max
$obs.label.snapshot_month_rain: $month.rain.sum $obs.label.snapshot_month_rainrate: $month.rainRate.max
#if $Extras.has_key('earthquake_enabled') and $Extras.earthquake_enabled == '1'
$obs.label.earthquake_title
#if $earthquake_place != ''
$earthquake_place
$obs.label.earthquake_magnitude $earthquake_magnitude
$earthquake_distance_away $earthquake_distance_label $earthquake_bearing
#end if
#end if
#if os.path.exists("index_hook_after_snapshot.inc")
#include "index_hook_after_snapshot.inc"
#end if #if $Extras.has_key('highcharts_enabled') and $Extras.highcharts_enabled == '1'
$graphpage_titles_dict[$Extras.highcharts_homepage_graphgroup] $obs.label.homepage_graphs_link
#end if
#if os.path.exists("index_hook_after_charts.inc")
#include "index_hook_after_charts.inc"
#end if
#include "footer.html.tmpl"