Current Weather Project
The aim of the project was to develop an XML data exchange format to (1) transfer a weather observation that would include automatic weather data from a PWS, plus manual and visual weather data, and (2) display the combined weather observation on a webpage using XSL transformation (XSLT). The display would also ideally include a coded SYNOP message and graphical representation of the weather data as a station weather plot.
Project Stages
The following stages were identified as key elements of the project:
- Match variables with the required station details, automatic weather data as well as manual and visual weather data,
- Create the template file and XML Schema Definition (XSD) document to specify the structure of the new Current Weather Document,
- Investigate the feasibility of creating a coded SYNOP message and a station weather plot from the automatic, manual and visual weather data,
- Create graphics to represent the automatic and manual weather data,
- Create a style document (XSL document) to specify how the XML data would be displayed in a web browser,
- Create education pages describing a Station Weather Plot, SYNOP Code Form and Weather Symbols and Code Figures.
Project Variables
The variables used in this project are listed below. Select a variable to view the complete XML element definition, including: the element name and description, the expected data type, the permitted values where explicitly defined, and whether the element is mandatory or optional.
The variables in the template file are replaced with the equivalent webtags provided by the PWS software. If a variable has no equivalent webtag, the variable is manually updated in the template file. If an optional variable subsequently becomes permanently unavailable, the syntax for that element in the template file is changed from <element>variable</element> to <element />.
- 1hr rain
- 24hr rain
- 24hr time
- 3hr rain
- 6hr rain
- apparent temperature
- cloud amount units
- dewpoint units
- distance units
- height units
- high cloud type
- horizontal visibility
- humidity units
- international date
- low cloud type
- lowest cloud amount
- lowest cloud height
- maximum temperature
- middle cloud type
- minimum temperature
- outside dewpoint
- outside humidity
- outside temperature
- past weather
- present weather
- pressure change
- pressure change period
- pressure sensor status
- pressure trend
- pressure units
- rain sensor status
- rainfall period
- rainfall units
- relative pressure
- software name
- software version
- station altitude
- station identifier
- station latitude
- station longitude
- station name
- temperature sensor status
- temperature units
- total cloud amount
- utc offset
- visual observation time
- wind direction degrees
- wind direction points
- wind gust
- wind sensor status
- wind speed
- wind speed units
XML Schema Definition
View the XSD diagram for this project.
Weather Graphics
More than 500 graphics were created for the graphical representation of the weather data. This includes over 400 graphics to replicate the WMO weather symbols, including symbols for: total cloud cover, types of low cloud/middle cloud/high cloud, wind direction & wind speed both separately and combined, past weather, present weather and pressure trend, and about 100 graphics to show descriptive text corresponding to the WMO code figures for visibility and base of lowest cloud.
weather symbols and code figures
Data Display
The data are displayed using a combination of raw values and WMO code figures, as well as graphic representations for the station weather plot.
Project Status
This 2020 project successfully achieved its aims and became operational in 2024. There has been continual development since becoming operational resulting in regular upgrades, including the introduction of additional XML files to provide extra daily data produced by Weather Display and the fire danger ratings calculated by FWI Calc. A variety of 24 hour meteograms generated by Graphweather have also been added. View our latest weather observation.