#! 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">
  <tr>
    <th rowspan="2">24 hours ending</th>
    <th colspan="2">Temperature</th>
    <th colspan="3">Wind</th>
    <th rowspan="2">Rainfall</th>
  </tr>
  <tr>
    <th>day max</th>
    <th>night min</th>
    <th>dir</th>
    <th>average</th>
    <th>max gust</th>
  </tr>
#timezone local#
#roundtime True#
#daily#
#jump -7#
#loop 7#
  <tr>
    <td>#idx "%Y/%m/%d %H:%M %Z"#</td>
    <td>#temp_out_max "%.1f &deg;C"#</td>
    <td>#temp_out_min "%.1f &deg;C"#</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>
  </tr>
#jump 1#
#endloop#
</table>
