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.11</TemperatureCurrent>
   <TemperatureFeelsLike>16.6</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>4.0</TemperatureThisYearMin>
   <TemperatureThisYearMinDateTime>13/Mar/2010 06:47:00</TemperatureThisYearMinDateTime>
   <TemperatureThisYearMax>32.3</TemperatureThisYearMax>
   <TemperatureThisYearMaxDateTime>2/Jan/2010 11:15:00</TemperatureThisYearMaxDateTime>
   <TemperatureTrend>Rising</TemperatureTrend>
   <HeatIndexMax>14.1</HeatIndexMax>
   <HeatIndexMin>10.5</HeatIndexMin>
   <HeatIndex>14.1</HeatIndex>
   <UV>0.0</UV>
   <Barometer>1012.0</Barometer>
   <BarometerTrend>Rising</BarometerTrend>
   <Humidex>15.8</Humidex>
   <Humidity>81</Humidity>
   <HumidityTrend>Stable</HumidityTrend>
   <DewPoint>10.9</DewPoint>
   <WindAvgSpeed>1.1</WindAvgSpeed>
   <WindChill>14.1</WindChill>
   <WindChillMin>10.5</WindChillMin>
   <WindChillMax>14.1</WindChillMax>
   <WindDirection>90</WindDirection>
   <WindDirectionAverage>90</WindDirectionAverage>
   <RainToday>0.0</RainToday>
   <CloudHeight>1402.9</CloudHeight>
   <SunRise>7:25AM</SunRise>
   <SunSet>7:53PM</SunSet>
   <MoonRise>6:33AM</MoonRise>
   <MoonSet>6:46PM</MoonSet>
   <MoonPhase>1</MoonPhase>
   <Weather>Mostly sunny/Dry</Weather>
   <Icon>5</Icon>
   <Forecast>increasing clouds with little temp. change.</Forecast>
   <ForecastIcon>0</ForecastIcon>
   <Date>15/Mar/2010</Date>
   <Time>08:26:58</Time>
   <Reading>Monday, 15 Mar, 2010 08:26:58</Reading>
   <ReadingTime>8:26 AM</ReadingTime>
   <StationName>Fendalton-8:26:58 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>14.11</TemperatureCurrent>
   <TemperatureFeelsLike>16.6</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>4.0</TemperatureThisYearMin>
   <TemperatureThisYearMinDateTime>13/Mar/2010 06:47:00</TemperatureThisYearMinDateTime>
   <TemperatureThisYearMax>32.3</TemperatureThisYearMax>
   <TemperatureThisYearMaxDateTime>2/Jan/2010 11:15:00</TemperatureThisYearMaxDateTime>
   <TemperatureTrend>Rising</TemperatureTrend>
   <HeatIndexMax>14.1</HeatIndexMax>
   <HeatIndexMin>10.5</HeatIndexMin>
   <HeatIndex>14.1</HeatIndex>
   <UV>0.0</UV>
   <Barometer>1012.0</Barometer>
   <BarometerTrend>Rising</BarometerTrend>
   <Humidex>15.8</Humidex>
   <Humidity>81</Humidity>
   <HumidityTrend>Stable</HumidityTrend>
   <DewPoint>10.9</DewPoint>
   <WindAvgSpeed>1.1</WindAvgSpeed>
   <WindChill>14.1</WindChill>
   <WindChillMin>10.5</WindChillMin>
   <WindChillMax>14.1</WindChillMax>
   <WindDirection>90</WindDirection>
   <WindDirectionAverage>90</WindDirectionAverage>
   <RainToday>0.0</RainToday>
   <CloudHeight>1402.9</CloudHeight>
   <SunRise>7:25AM</SunRise>
   <SunSet>7:53PM</SunSet>
   <MoonRise>6:33AM</MoonRise>
   <MoonSet>6:46PM</MoonSet>
   <MoonPhase>1</MoonPhase>
   <Weather>Mostly sunny/Dry</Weather>
   <Icon>5</Icon>
   <Forecast>increasing clouds with little temp. change.</Forecast>
   <ForecastIcon>0</ForecastIcon>
   <Date>15/Mar/2010</Date>
   <Time>08:26:58</Time>
   <Reading>Monday, 15 Mar, 2010 08:26:58</Reading>
   <ReadingTime>8:26 AM</ReadingTime>
   <StationName>Fendalton-8:26:58 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 14.11

 


Currently 14°C with a barometric pressure of 1012.0 hPa