WxData
(Weather Data for Stirling, Scotland)

Weather Symbol

See the download page to obtain this data

Description

This data gives a historical record of the weather in Stirling (central Scotland). To be exact, the data is from an Oregon Scientific Professional Weather Station (models WMR180 and WMR928) at the author's house in nearby Bridge of Allan. The true data starts from 3rd April 2003; fictitious data has been created for 1st January to 2nd April 2003 to make up a whole year. Note that UV data is available only from 1st January 2013.

The data files have been compressed with gzip. You will therefore need a program such as 7-Zip, Gzip, PeaZip, WinZip or the like to unpack the data, plus a text editor or spreadsheet to use the data (the gzipped data files are plain text with space-separated fields).

You can query the current data on the Stirling Weather History web page. The data is packaged up roughly annually and made available in bulk through this download. The last day currently provided is indicated by the History below.

Usage

Each day's data is logged every 15 minutes to a file named nn.dat.gz. This is placed in the directory yyyy/mm. The file contains the following fields separated by one or more spaces. Values are calculated for each logging interval, except rainfall which is totalled since midnight. Each interval generates a line as follows in the log file. The numbers refer to fields, counting from 0 as the start.

    HH:MM:SS             time of log (0)
    NN.NN NN.N NN.N      wind speed average/minimum/maximum (1-3, m/s)
    NNN NNN NNN          wind direction average/minimum/maximum (4-6, °)
    NN.N NN.N NN.N       outdoor temperature average/minimum/maximum (7-9, °C)
    NN NN NN             outdoor humidity average/minimum/maximum (10-12, %)
    NN.N NN.N NN.N       outdoor dewpoint average/minimum/maximum (13-15, °C)
    NNNN.N NNNN.N NNNN.N indoor pressure average/minimum/maximum (16-18, mb)
    NN.N NN.N NN.N       indoor temperature average/minimum/maximum (19-21, °C)
    NN NN NN             indoor humidity average/minimum/maximum (22-24, %)
    NN                   rainfall total since midnight (25, mm)
    NN.N NN.N NN.N       wind chill temperature average/minimum/maximum (26-28, °C)
    NN.N NN.N NN.N       indoor dewpoint average/minimum/maximum (29-31, °C)
    NN NN NN             UV index average/minimum/maximum (32, from 0 upwards)
  

Besides the raw data for each day, various summaries are produced in the same format (except that the first field identifies the day, month or year rather than the hour). These files are placed in the directory yyyy/mm, except for year summaries which appear in directory yyyy.

Cnn.dat.gz
day data condensed into a single-line summary
Wnn.dat.gz
week data comprising seven lines of condensed day summaries
CWnn.dat.gz
week data condensed into a single-line summary
Mnn.dat.gz
month data comprising 28 to 31 lines of condensed day summaries
CMnn.dat.gz
month data condensed into a single-line summary
Ynnnn.dat.gz
year data comprising 12 lines of condensed month summaries
CYnnnn.dat.gz
year data condensed into a single-line summary

At the top level, uncompressed files give the summaries for days, weeks, months and years:

day.dat
summaries of each day (a concatenation of uncompressed Cnn.dat.gz files), with each line of data ended by Ddd D MM YYYY (short day name, day in week, month and year, e.g. 'Sun 7 10 2004' for 17th October 2004)
week.dat
summaries of each week (a concatenation of uncompressed CWnn.dat.gz files), with each line of data ended by MM YYYY (month and year, e.g. '10 2004' for 13th October 2004)
month.dat
summaries of each month (a concatenation of uncompressed CMnn.dat.gz files), with each line of data ended by MM YYYY (month and year, e.g. '10 2004' for October 2004)
year.dat
summaries of each year (a concatenation of uncompressed CYnn.dat.gz files), with each line of data ended by YYYY (year, e.g. '2004' for 2004)

Licence

This data is free. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation - either version 2 of the License, or (at your option) any later version.

The data is distributed in the hope that it will be useful but without any warranty, without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details.

You may re-distribute this data provided you preserve this README file. Bug reports should be sent to .

History

Version 1.0: First public release, Ken Turner, 24th August 2011

Version 2.0: Second public release, Ken Turner, 17th February 2013

Version 3.0: Third public release, Ken Turner, 12th February 2014

Version 4.0: Fourth public release, Ken Turner, 28th January 2015

Version 4.1: Fifth public release, Ken Turner, 30th March 2015

Version 5.0: Sixth public release, Ken Turner, 11th Feburary 2017


Up Arrow Up one level to Communications Utilities

Web Ken Turner Home   Email    Search Search Web Pages

Last Update: 12th February 2017
URL: http://www.cs.stir.ac.uk/~kjt/software/comms/wxdata.html