XML Files for data
We designed MetStats to be flexible, so that you can customize it in whatever way suits you. For that reason, we've saved the samples in XML format, which is easy to process.
Our data looks like this:
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="current-weather.xsl"?>
<current-conditions location="postcode">
<sample date='12/11/2009 20:45:00'
ivl='5'
temp='13.0'
hum='94'
pressure='995.6'
dir='SSE'
gust='2.4'
apparentTemp='8.4'
dewpoint='12.1'
rain1hr='1.5'
rainToday='23.7'
minTemp='0.7'
minTempTime='12/11/2009 15:28:00'
maxTemp='16.0'
maxTempTime='12/11/2009 11:13:00'
maxgust='4.8'
maxGustTime='12/11/2009 18:53:00'
pressuremax='1002.8'
pressuremin='995.8' />
</current-conditions>
All units and times are stored in a standardized form, described on our Units page