<?xml version="1.0" encoding="ISO-8859-1"?>
<graph>
  <!--
  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.
  -->
  <size>600, 800</size>
  <duration>weeks=4</duration>
  <xformat>%Y/%m/%d</xformat>
  <dateformat></dateformat>
  <plot>
    <title>Temperature (°C)</title>
    <yrange>-10, 45</yrange>
    <source>daily</source>
    <boxwidth>boxwidth / 2</boxwidth>
    <subplot>
      <style>box</style>
      <colour>1</colour>
      <title>Daytime max</title>
      <xcalc>data['start'] + timedelta(hours=18)</xcalc>
      <ycalc>data['temp_out_max']</ycalc>
    </subplot>
    <subplot>
      <style>box</style>
      <colour>3</colour>
      <title>Nighttime min</title>
      <xcalc>data['start'] + timedelta(hours=6)</xcalc>
      <ycalc>data['temp_out_min']</ycalc>
    </subplot>
  </plot>
  <plot>
    <title>Wind speed (mph)</title>
    <yrange>0, 30</yrange>
    <source>hourly</source>
    <subplot>
      <colour>4</colour>
      <ycalc>wind_mph(data['wind_gust'])</ycalc>
      <title>gust</title>
    </subplot>
    <subplot>
      <colour>3</colour>
      <ycalc>wind_mph(data['wind_ave'])</ycalc>
      <title>average</title>
    </subplot>
  </plot>
  <plot>
    <yrange>0, 30</yrange>
    <source>daily</source>
    <subplot>
      <colour>5</colour>
      <style>box</style>
      <xcalc>data['start'] + timedelta(hours=12)</xcalc>
      <ycalc>data['rain']</ycalc>
      <title>Daily rainfall (mm)</title>
    </subplot>
  </plot>
  <plot>
    <source>hourly</source>
    <subplot>
      <colour>2</colour>
      <ycalc>data['rel_pressure']</ycalc>
      <title>Pressure (hPa)</title>
    </subplot>
    <yrange>960, 1050</yrange>
  </plot>
</graph>
