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 />.
- outside temperature
- station altitude
- apparent temperature
- international date
- wind direction degrees
- outside dewpoint
- 24hr evaporation
- evaporation sensor status
- evaporation instrument
- wind gust
- high cloud type
- outside humidity
- station latitude
- station longitude
- low cloud type
- lowest cloud amount
- lowest cloud height
- maximum temperature
- middle cloud type
- minimum temperature
- relative pressure
- pressure change
- pressure trend
- station name
- past weather
- wind direction points
- pressure sensor status
- present weather
- software name
- software version
- 1hr rain
- 3hr rain
- 6hr rain
- 24hr rain
- rainfall period
- rain sensor status
- total cloud amount
- wind speed
- station identifier
- sun sensor status
- sunshine duration
- horizontal visibility
- temperature sensor status
- 24hr time
- utc offset
- pressure change period
- cloud amount units
- dewpoint units
- distance units
- evaporation units
- height units
- humidity units
- pressure units
- rainfall units
- sunshine duration units
- temperature units
- wind speed units
- visual observation time
- wind sensor status
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.