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>14.56</TemperatureCurrent>
   <TemperatureFeelsLike>17.2</TemperatureFeelsLike>
   <TemperatureAllTimeMin>-5.2</TemperatureAllTimeMin>
   <TemperatureAllTimeMinDateTime>8/Jul/2007 07:58:00</TemperatureAllTimeMinDateTime>
   <TemperatureAllTimeMax>34.9</TemperatureAllTimeMax>
   <TemperatureAllTimeMaxDateTime>6/Feb/2011 03:44:00</TemperatureAllTimeMaxDateTime>
   <TemperatureThisYearMin>4.2</TemperatureThisYearMin>
   <TemperatureThisYearMinDateTime>27/Jan/2012 05:26:00</TemperatureThisYearMinDateTime>
   <TemperatureThisYearMax>28.4</TemperatureThisYearMax>
   <TemperatureThisYearMaxDateTime>5/Jan/2012 04:20:00</TemperatureThisYearMaxDateTime>
   <TemperatureTrend>Rising</TemperatureTrend>
   <HeatIndexMax>14.6</HeatIndexMax>
   <HeatIndexMin>14.3</HeatIndexMin>
   <HeatIndex>14.6</HeatIndex>
   <UV>0.0</UV>
   <Barometer>1016.2</Barometer>
   <BarometerTrend>Rising</BarometerTrend>
   <Humidex>17.8</Humidex>
   <Humidity>95</Humidity>
   <HumidityTrend>Falling</HumidityTrend>
   <DewPoint>13.8</DewPoint>
   <WindAvgSpeed>1.1</WindAvgSpeed>
   <WindChill>14.6</WindChill>
   <WindChillMin>14.3</WindChillMin>
   <WindChillMax>14.6</WindChillMax>
   <WindDirection>57</WindDirection>
   <WindDirectionAverage>57</WindDirectionAverage>
   <RainToday>0.0</RainToday>
   <CloudHeight>405.2</CloudHeight>
   <SunRise>6:34AM</SunRise>
   <SunSet>8:53PM</SunSet>
   <MoonRise>6:06PM</MoonRise>
   <MoonSet>3:23AM</MoonSet>
   <MoonPhase>89</MoonPhase>
   <Weather>Dawn/Dry</Weather>
   <Icon>5</Icon>
   <Forecast>increasing clouds with little temp. change. precipitation possible within 24 to 48 hrs.</Forecast>
   <ForecastIcon>5</ForecastIcon>
   <Date>5/Feb/2012</Date>
   <Time>07:03:27</Time>
   <Reading>Sunday, 5 Feb, 2012 07:03:27</Reading>
   <ReadingTime>7:03 AM</ReadingTime>
   <StationName>Fendalton-7:03:27 AM</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>14.56</TemperatureCurrent>
   <TemperatureFeelsLike>17.2</TemperatureFeelsLike>
   <TemperatureAllTimeMin>-5.2</TemperatureAllTimeMin>
   <TemperatureAllTimeMinDateTime>8/Jul/2007 07:58:00</TemperatureAllTimeMinDateTime>
   <TemperatureAllTimeMax>34.9</TemperatureAllTimeMax>
   <TemperatureAllTimeMaxDateTime>6/Feb/2011 03:44:00</TemperatureAllTimeMaxDateTime>
   <TemperatureThisYearMin>4.2</TemperatureThisYearMin>
   <TemperatureThisYearMinDateTime>27/Jan/2012 05:26:00</TemperatureThisYearMinDateTime>
   <TemperatureThisYearMax>28.4</TemperatureThisYearMax>
   <TemperatureThisYearMaxDateTime>5/Jan/2012 04:20:00</TemperatureThisYearMaxDateTime>
   <TemperatureTrend>Rising</TemperatureTrend>
   <HeatIndexMax>14.6</HeatIndexMax>
   <HeatIndexMin>14.3</HeatIndexMin>
   <HeatIndex>14.6</HeatIndex>
   <UV>0.0</UV>
   <Barometer>1016.2</Barometer>
   <BarometerTrend>Rising</BarometerTrend>
   <Humidex>17.8</Humidex>
   <Humidity>95</Humidity>
   <HumidityTrend>Falling</HumidityTrend>
   <DewPoint>13.8</DewPoint>
   <WindAvgSpeed>1.1</WindAvgSpeed>
   <WindChill>14.6</WindChill>
   <WindChillMin>14.3</WindChillMin>
   <WindChillMax>14.6</WindChillMax>
   <WindDirection>57</WindDirection>
   <WindDirectionAverage>57</WindDirectionAverage>
   <RainToday>0.0</RainToday>
   <CloudHeight>405.2</CloudHeight>
   <SunRise>6:34AM</SunRise>
   <SunSet>8:53PM</SunSet>
   <MoonRise>6:06PM</MoonRise>
   <MoonSet>3:23AM</MoonSet>
   <MoonPhase>89</MoonPhase>
   <Weather>Dawn/Dry</Weather>
   <Icon>5</Icon>
   <Forecast>increasing clouds with little temp. change. precipitation possible within 24 to 48 hrs.</Forecast>
   <ForecastIcon>5</ForecastIcon>
   <Date>5/Feb/2012</Date>
   <Time>07:03:27</Time>
   <Reading>Sunday, 5 Feb, 2012 07:03:27</Reading>
   <ReadingTime>7:03 AM</ReadingTime>
   <StationName>Fendalton-7:03:27 AM</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 14.56

 


Currently 15°C with a barometric pressure of 1016.2 hPa