The data folder in this repo contains the historical weather data from various weather stations in the UK as CSV files.
The data is derived from the Met Office text data found here
https://www.metoffice.gov.uk/research/climate/maps-and-data/historic-station-data
The original data represented null values as the string '---'. These have been replaced with actual null values. Also the original data distinguished between two types of sunshine measurement - this has been removed. See the Met office page, above, for more detail.
Additionally, mean temperature, status and date columns have been added. The data columns are:
- Year: year of measurement
- Month: month of measurement
- Tmax: maximum monthly temperature in ºC
- Tmin: minimum monthly temperature in ºC
- AF: number of days in the month when there was an air frost
- Rain: number of centimetres of rain in a month
- Sun: number of hours of sunshine in a month
- status: whether the data is provisional
- Date: the date - a combination of year and month
- Tmean: mean monthly temperature in ºC
This data is distributed in accordance with UK Open Government License and may be used under the same conditions.
Note: the software in this repo is for educational purposes, only. It should not be considered suitable for production code.