A subset of the live weather details from our weather station have been exposed as an XML Web Service.

The url to the web service is http://weather.cobbnz.com/weatherservice/webservice.asmx

Another simple web page that returns XML has also been written that will allow you to simply extract relevant details
from our current weather data.

< weather >
   <TemperatureCurrent>15.83</TemperatureCurrent>
   <TemperatureFeelsLike>22.6</TemperatureFeelsLike>
   <TemperatureAllTimeMin>-5.2</TemperatureAllTimeMin>
   <TemperatureAllTimeMinDateTime>8/Jul/2007 07:58:00</TemperatureAllTimeMinDateTime>
   <TemperatureAllTimeMax>33.4</TemperatureAllTimeMax>
   <TemperatureAllTimeMaxDateTime>12/Jan/2008 01:42:00</TemperatureAllTimeMaxDateTime>
   <TemperatureThisYearMin>-3.2</TemperatureThisYearMin>
   <TemperatureThisYearMinDateTime>25/Jun/2008 04:33:00</TemperatureThisYearMinDateTime>
   <TemperatureThisYearMax>33.4</TemperatureThisYearMax>
   <TemperatureThisYearMaxDateTime>12/Jan/2008 01:42:00</TemperatureThisYearMaxDateTime>
   <TemperatureTrend>Rising</TemperatureTrend>
   <HeatIndexMax>16.3</HeatIndexMax>
   <HeatIndexMin>10.8</HeatIndexMin>
   <HeatIndex>15.8</HeatIndex>
   <UV>10.6</UV>
   <Barometer>1011.5</Barometer>
   <BarometerTrend>Falling</BarometerTrend>
   <Humidex>17.4</Humidex>
   <Humidity>71</Humidity>
   <HumidityTrend>Falling</HumidityTrend>
   <DewPoint>10.6</DewPoint>
   <WindAvgSpeed>7.4</WindAvgSpeed>
   <WindChill>15.8</WindChill>
   <WindChillMin>10.8</WindChillMin>
   <WindChillMax>16.3</WindChillMax>
   <WindDirection>56</WindDirection>
   <WindDirectionAverage>95</WindDirectionAverage>
   <RainToday>0.0</RainToday>
   <CloudHeight>2242.7</CloudHeight>
   <SunRise>5:49am</SunRise>
   <SunSet>8:41pm</SunSet>
   <MoonRise>2:49am</MoonRise>
   <MoonSet>1:59pm</MoonSet>
   <MoonPhase>38</MoonPhase>
   <Weather>Mostly sunny/Dry</Weather>
   <Icon>5</Icon>
   <Forecast> PARTLY CLOUDY. HIGH 22. UV INDEX UP TO 8. WIND EAST-NORTHEAST AROUND 17 KPH.</Forecast>
   <ForecastIcon>13</ForecastIcon>
   <Date>21/Nov/2008</Date>
   <Time>14:09:18</Time>
   <Reading>Friday, 21 Nov, 2008 02:09:18</Reading>
   <ReadingTime>2:09 PM</ReadingTime>
   <StationName>Fendalton-2:09:18 p.m.</StationName>
</weather>

The url to return just simple XML like shown above is:
http://weather.cobbnz.com/weatherservice/xml.aspx

Note: To display the data in this HTML page I used an XSL Stylesheet along with the XML data.

However you may specify a parameter to the URL ( WebServerURL) which is the path to someone else's client
raw data, this will allow you to use our service to get data from other sites and render that how you want.

< weather >
   <TemperatureCurrent>16.6</TemperatureCurrent>
   <TemperatureFeelsLike>23.0</TemperatureFeelsLike>
   <TemperatureAllTimeMin>-7.3</TemperatureAllTimeMin>
   <TemperatureAllTimeMinDateTime>4/Jul/2000 06:00:00</TemperatureAllTimeMinDateTime>
   <TemperatureAllTimeMax>41.8</TemperatureAllTimeMax>
   <TemperatureAllTimeMaxDateTime>19/Feb/1973 02:39:00</TemperatureAllTimeMaxDateTime>
   <TemperatureThisYearMin>-4.2</TemperatureThisYearMin>
   <TemperatureThisYearMinDateTime>25/Jun/2008 06:45:00</TemperatureThisYearMinDateTime>
   <TemperatureThisYearMax>34.6</TemperatureThisYearMax>
   <TemperatureThisYearMaxDateTime>12/Jan/2008 03:27:00</TemperatureThisYearMaxDateTime>
   <TemperatureTrend>Rising</TemperatureTrend>
   <HeatIndexMax>16.7</HeatIndexMax>
   <HeatIndexMin>11.3</HeatIndexMin>
   <HeatIndex>16.6</HeatIndex>
   <UV>0.0</UV>
   <Barometer>1012.1</Barometer>
   <BarometerTrend>Falling</BarometerTrend>
   <Humidex>18.3</Humidex>
   <Humidity>70</Humidity>
   <HumidityTrend>Falling</HumidityTrend>
   <DewPoint>11.1</DewPoint>
   <WindAvgSpeed>8.1</WindAvgSpeed>
   <WindChill>16.6</WindChill>
   <WindChillMin>10.4</WindChillMin>
   <WindChillMax>16.7</WindChillMax>
   <WindDirection>106</WindDirection>
   <WindDirectionAverage>96</WindDirectionAverage>
   <RainToday>0.0</RainToday>
   <CloudHeight>2298.9</CloudHeight>
   <SunRise>5:48am</SunRise>
   <SunSet>8:41pm</SunSet>
   <MoonRise>2:49am</MoonRise>
   <MoonSet>1:59pm</MoonSet>
   <MoonPhase>38</MoonPhase>
   <Weather>Sunny/Dry</Weather>
   <Icon>0</Icon>
   <Forecast>increasing clouds and cooler. precipitation possible and windy within 6 hrs.</Forecast>
   <ForecastIcon>2</ForecastIcon>
   <Date>21/Nov/2008</Date>
   <Time>14:09:39</Time>
   <Reading>Friday, 21 Nov, 2008 02:09:39</Reading>
   <ReadingTime>2:09 PM</ReadingTime>
   <StationName>Burwood -2:09:39 p.m.</StationName>
</weather>

The data above is coming from Weather Station - ZL3GP, Burwood, Christchurch, New Zealand

The url to return the XML data from ZL3GP is:
http://weather.cobbnz.com/weatherservice/xml.aspx?WebServerURL=http://www.zl3gp.co.nz

Here is an example of taking the data from here and processing it using XSL and rendering just the temperature.

XSL Document

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="html"/> 
  <xsl:template match="/Weather">
      The current weather temperature is <xsl:value-of select="TemperatureCurrent"></xsl:value-of>
  </xsl:template>
</xsl:stylesheet> 
Rendered Result

The current weather temperature is 15.83

 


Currently 16°C with a barometric pressure of 1011.5 hPa