#! pywws - Python software for USB Wireless Weather Stations                       #
#! http://github.com/jim-easterbrook/pywws                                         #
#! Copyright (C) 2008-13  Jim Easterbrook  jim@jim-easterbrook.me.uk               #
#!                                                                                 #
#! This program is free software; you can redistribute it and/or                   #
#! modify it under the terms of the GNU General Public License                     #
#! as published by the Free Software Foundation; either version 2                  #
#! of the License, or (at your option) any later version.                          #
#!                                                                                 #
#! This program is distributed in the hope that it will be useful,                 #
#! but WITHOUT ANY WARRANTY; without even the implied warranty of                  #
#! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                   #
#! GNU General Public License for more details.                                    #
#!                                                                                 #
#! You should have received a copy of the GNU General Public License               #
#! along with this program; if not, write to the Free Software                     #
#! Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA. #
<table border="1" rules="all">
  <col />
  <col />
  <col align="char" char="." />
  <col align="char" char="." />
  <col />
  <col />
  <col align="char" char="m" />
  <col align="char" char="m" />
  <col align="char" char="." />
  <col align="char" char="," />
  <tr>
    <th colspan="2" rowspan="2">Date &amp; time</th>
    <th rowspan="2">Temp</th>
    <th rowspan="2">Feels like</th>
    <th rowspan="2">Humidity</th>
    <th colspan="3">Wind</th>
    <th rowspan="2">Rain</th>
    <th rowspan="2">Pressure</th>
  </tr>
  <tr>
    <th>dir</th>
    <th>ave</th>
    <th>gust</th>
  </tr>
#timezone local#
#roundtime True#
#hourly#
#jump -6#
#loop 7#
  <tr>
    <td>#idx "%Y/%m/%d" "" "[None, x][x.hour == 0 or loop_count == 7]"#</td>
    <td>#idx "%H%M %Z"#</td>
    <td>#temp_out "%.1f &deg;C"#</td>
    <td>#calc "apparent_temp(data['temp_out'], data['hum_out'], data['wind_ave'])" "%.1f &deg;C"#</td>
    <td>#hum_out "%d%%"#</td>
    <td>#wind_dir "%s" "-" "winddir_text(x)"#</td>
    <td>#wind_ave "%.0f mph" "" "wind_mph(x)"#</td>
    <td>#wind_gust "%.0f mph" "" "wind_mph(x)"#</td>
    <td>#rain "%0.1f mm"#</td>
    <td>#rel_pressure "%.1f hPa"#, #pressure_trend "%s" "" "pressure_trend_text(x)"#</td>
  </tr>
#jump 1#
#endloop#
</table>
