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>16.56</TemperatureCurrent>
   <TemperatureFeelsLike>17.5</TemperatureFeelsLike>
   <TemperatureAllTimeMin>-5.2</TemperatureAllTimeMin>
   <TemperatureAllTimeMinDateTime>8/Jul/2007 07:58:00</TemperatureAllTimeMinDateTime>
   <TemperatureAllTimeMax>34.9</TemperatureAllTimeMax>
   <TemperatureAllTimeMaxDateTime>8/Jan/2009 02:58:00</TemperatureAllTimeMaxDateTime>
   <TemperatureThisYearMin>8.0</TemperatureThisYearMin>
   <TemperatureThisYearMinDateTime>11/Jan/2010 05:29:00</TemperatureThisYearMinDateTime>
   <TemperatureThisYearMax>32.3</TemperatureThisYearMax>
   <TemperatureThisYearMaxDateTime>2/Jan/2010 11:15:00</TemperatureThisYearMaxDateTime>
   <TemperatureTrend>Rising</TemperatureTrend>
   <HeatIndexMax>16.9</HeatIndexMax>
   <HeatIndexMin>14.1</HeatIndexMin>
   <HeatIndex>16.6</HeatIndex>
   <UV>0.0</UV>
   <Barometer>1007.6</Barometer>
   <BarometerTrend>Rising</BarometerTrend>
   <Humidex>19.2</Humidex>
   <Humidity>78</Humidity>
   <HumidityTrend>Falling</HumidityTrend>
   <DewPoint>12.7</DewPoint>
   <WindAvgSpeed>0.0</WindAvgSpeed>
   <WindChill>16.6</WindChill>
   <WindChillMin>14.1</WindChillMin>
   <WindChillMax>16.9</WindChillMax>
   <WindDirection>244</WindDirection>
   <WindDirectionAverage>244</WindDirectionAverage>
   <RainToday>0.0</RainToday>
   <CloudHeight>1666.1</CloudHeight>
   <SunRise>7:20AM</SunRise>
   <SunSet>8:00PM</SunSet>
   <MoonRise>2:24AM</MoonRise>
   <MoonSet>5:01PM</MoonSet>
   <MoonPhase>22</MoonPhase>
   <Weather>Night time/Dry</Weather>
   <Icon>1</Icon>
   <Forecast>mostly cloudy and cooler. precipitation possible within 12 hours, possibly heavy at times. windy.</Forecast>
   <ForecastIcon>0</ForecastIcon>
   <Date>11/Mar/2010</Date>
   <Time>06:43:06</Time>
   <Reading>Thursday, 11 Mar, 2010 06:43:06</Reading>
   <ReadingTime>6:43 AM</ReadingTime>
   <StationName>Fendalton-6:43:06 a.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.56</TemperatureCurrent>
   <TemperatureFeelsLike>17.4</TemperatureFeelsLike>
   <TemperatureAllTimeMin>-5.2</TemperatureAllTimeMin>
   <TemperatureAllTimeMinDateTime>8/Jul/2007 07:58:00</TemperatureAllTimeMinDateTime>
   <TemperatureAllTimeMax>34.9</TemperatureAllTimeMax>
   <TemperatureAllTimeMaxDateTime>8/Jan/2009 02:58:00</TemperatureAllTimeMaxDateTime>
   <TemperatureThisYearMin>8.0</TemperatureThisYearMin>
   <TemperatureThisYearMinDateTime>11/Jan/2010 05:29:00</TemperatureThisYearMinDateTime>
   <TemperatureThisYearMax>32.3</TemperatureThisYearMax>
   <TemperatureThisYearMaxDateTime>2/Jan/2010 11:15:00</TemperatureThisYearMaxDateTime>
   <TemperatureTrend>Rising</TemperatureTrend>
   <HeatIndexMax>16.9</HeatIndexMax>
   <HeatIndexMin>14.1</HeatIndexMin>
   <HeatIndex>16.6</HeatIndex>
   <UV>0.0</UV>
   <Barometer>1007.6</Barometer>
   <BarometerTrend>Rising</BarometerTrend>
   <Humidex>19.2</Humidex>
   <Humidity>78</Humidity>
   <HumidityTrend>Falling</HumidityTrend>
   <DewPoint>12.7</DewPoint>
   <WindAvgSpeed>0.2</WindAvgSpeed>
   <WindChill>16.6</WindChill>
   <WindChillMin>14.1</WindChillMin>
   <WindChillMax>16.9</WindChillMax>
   <WindDirection>252</WindDirection>
   <WindDirectionAverage>245</WindDirectionAverage>
   <RainToday>0.0</RainToday>
   <CloudHeight>1666.1</CloudHeight>
   <SunRise>7:20AM</SunRise>
   <SunSet>8:00PM</SunSet>
   <MoonRise>2:24AM</MoonRise>
   <MoonSet>5:01PM</MoonSet>
   <MoonPhase>22</MoonPhase>
   <Weather>Night time/Dry</Weather>
   <Icon>1</Icon>
   <Forecast>mostly cloudy and cooler. precipitation possible within 12 hours, possibly heavy at times. windy.</Forecast>
   <ForecastIcon>0</ForecastIcon>
   <Date>11/Mar/2010</Date>
   <Time>06:43:16</Time>
   <Reading>Thursday, 11 Mar, 2010 06:43:16</Reading>
   <ReadingTime>6:43 AM</ReadingTime>
   <StationName>Fendalton-6:43:16 a.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 16.56

 


Currently 17°C with a barometric pressure of 1007.6 hPa