RDF Site Summary 1.0 Modules: Weather Station

Author

Pete Harlow Open Weather Project

Version

Latest Version: http://www.catnip.co.uk/wx/0.1/

A printable version of this document in OpenDocument format is available at:

http://www.catnip.co.uk/opendocument/rssmod.odtGet OpenOffice.org!

0.1.00 2005-01-20 Original Draft
0.1.01 2005-01-30 Change name to 'Weather Station'
0.1.01 2005-01-30 Move calibration data to each item - change 'station' to 'sensor'
0.1.01 2005-01-30 Add link to printable version
0.1.02 2005-02-01 Add numeric value of the parameter referenced by each link to obviate
                  difficulties parsing the <title> field for each possible language

Status

Draft

Rights

Copyright © 2005 by the Author.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is available at "GNU Free Documentation License". The copyright holders make no representation about the suitability of the specification for any purpose. It is provided "as is" without expressed or implied warranty.

Description

When RSS 1.0 is used to dissemenate data from a weather station, this module provides additional information about the feed only of interest to specialist clients, such as information about the exact location of the station and information about the accuracy of the data.

stationLatitude

The latitude of the station expressed in degrees concatenated with minutes and decimal fractions of minutes. e. g. 01545.123N is Latitude 15 deg 45.123' N

stationLongitude

The longitude of the station expressed in degrees concatenated with minutes and decimal fractions of minutes. e. g. 01545.123E is Longitude 15 deg 45.123' E

stationElevation

The elevation of the station expressed in metres above or below mean sea level.

updateValue

The value of each reading - theoretically, the value of the reading referenced by the linked page.

updateResolution

The resolution of each reading expressed in the same units as the reading itself.

updateAccuracy

The accuracy of each reading expressed in the same units as the reading itself.

updatePeriod

The period between readings expressed in seconds.

updateTime

The exact time of the last reading to the nearest second UTC expressed in the form 2005-01-20T16:30:45Z

stationCaldate

The date of the last station calibration.

stationCaltype

The standard of calibration used.

Namespace Declarations

Model

<channel> Elements:

<item> Elements:

Example

<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xml:base="http://www.catnip.co.uk/"
                   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
                   xmlns="http://purl.org/rss/1.0/"
                   xmlns:dc="http://purl.org/dc/elements/1.1/"
                   xmlns:wx="http://www.catnip.co.uk/wx/0.1/">
 <channel rdf:about="http://www.catnip.co.uk/">
  <title>La Fert&#233; Alais - France</title>
  <link>http://www.catnip.co.uk/</link>
  <description>Weather Station located at La Fert&#233; Alais - France</description>
  <dc:language>en</dc:language>
  <wx:stationLatititude>04829.866N</wx:stationLatititude>
  <wx:stationLongitude>00220.600E</wx:stationLongitude>
  <wx:stationElevation>138</wx:stationElevation>
  <items>
   <rdf:Seq>
    <rdf:li resource="http://www.catnip.co.uk/wx/about.php" />
    <rdf:li resource="http://www.catnip.co.uk/wx/airtemp.php" />
    <rdf:li resource="http://www.catnip.co.uk/wx/pressure.php" />
   </rdf:Seq>
  </items>
 </channel>
 <item rdf:about="http://www.catnip.co.uk/wx/about.php">
  <title>La Fert&#233; Alais - France</title>
  <link>http://www.catnip.co.uk/wx/about.php?html</link>
  <description>Weather Station located at La Fert&#233; Alais - France</description>
 </item>
 <item rdf:about="http://www.catnip.co.uk/wx/airtemp.php">
  <title>Air Temperature: 25.6C</title>
  <link>http://www.catnip.co.uk/wx/airtemp.php?html</link>
  <description>Air temperature in degrees Celsius</description>
  <wx:updateValue>25.6</wx:updateValue>
  <wx:updateResolution>0.5</wx:updateResolution>
  <wx:updateAccuracy>0.5</wx:updateAccuracy>
  <wx:updatePeriod>900</wx:updatePeriod>
  <wx:updateTime>2005-01-20T16:30:45Z</wx:updateTime>
  <wx:sensorCaldate>2005-01-01T16:00:00Z</wx:sensorCaldate>
  <wx:sensorCaltype>CHECK</wx:sensorCaltype>
 </item>
 <item rdf:about="http://www.catnip.co.uk/wx/pressure.php">
  <title>Atmospheric pressure: 1015hPa</title>
  <link>http://www.catnip.co.uk/wx/pressure.php?html</link>
  <description>Atmospheric pressure in hectopascals</description>
  <wx:updateValue>1015</wx:updateValue>
  <wx:updateResolution>0.5</wx:updateResolution>
  <wx:updateAccuracy>1</wx:updateAccuracy>
  <wx:updatePeriod>900</wx:updatePeriod>
  <wx:updateTime>2005-01-20T16:30:45Z</wx:updateTime>
  <wx:sensorCaldate>2005-01-01T16:00:00Z</wx:sensorCaldate>
  <wx:sensorCaltype>CHECK</wx:sensorCaltype>
 </item>
</rdf:RDF>