How the Marlborough series, the WANHM tables and the trend views were put together, how to rebuild them, and what cannot be rebuilt from this repository. Plain language first; the details follow. The file-by-file column guide is in DATA_DICTIONARY.md; changes over time are in CHANGELOG.md.
1. The main idea
The series is assembled from several archives, listed in the README and on the interactive page: the Marlborough College observations (Met Office MIDAS Open at CEDA), the Met Office Monthly Weather Report, the Met Office Ten Year Rainfall Sheets via Rainfall Rescue, Met Office HadUK-Grid, neighbouring rural stations and RAF Lyneham, Central England Temperature, and the Victorian Report of the Marlborough College Natural History Society. The key source, and the one not previously brought together, is the set of 25 annual weather reports printed in the Wiltshire Archaeological and Natural History Magazine (WANHM) for 1954–1978, written for the Wiltshire Archaeological and Natural History Society (WANHS) by R. A. U. Jennings (1954–65) and T. E. Rogers (1966–78). They are anchored to the Marlborough College weather station.
Principles: read from the scans or the original source; keep the source of every year in the data; leave gaps empty rather than filling them; say what is not known; keep copyrighted text out of the public files.
2. Sources and licences
| Source | Used for | Licence or status |
|---|---|---|
| Report of the Marlborough College Natural History Society (MCNHS), 1865–1883, Internet Archive scans | Victorian monthly and annual tables; Preston's flowering dates | Public domain (pre-1929) |
| Met Office Monthly Weather Report (MWR), 1884–85 and 1905–20 | Annual and monthly College values | Open Government Licence v3 (OGL) |
Met Office MIDAS Open, station 00891 Marlborough College, dataset-version-202607 | Daily temperature and rainfall, 1875–1996 | OGL v3 |
| MIDAS Open stations 00819, 00820, 00852, 00883, 00888, 00892 | Six rural neighbours (1921–1996) | OGL v3 |
| MIDAS Open station metadata | Choosing neighbours; capability files | OGL v3 |
| Rainfall Rescue (Hawkins et al. 2022), Ten-Year Sheets for Marlborough College and Marlborough–Mildenhall | Annual rainfall 1886–1960 and gaps | CC BY 4.0 |
| Met Office HadUK-Grid v1.3.2.ceda, 1 km monthly, College cell | 1994–2025 (mean temperature); 1884–2025 maximum and minimum (days and nights) | OGL v3 |
| Met Office HadCET (mean, maximum and minimum); HadUKP (HadEWP, HadSEEP, HadSWEP, HadCEP) | Context and sense checks; maximum and minimum as a national check | OGL v3 |
| NOAA GHCN-Daily, RAF Lyneham (UKE00102158) | Reference series and calibration | NOAA public data; cite NOAA NCEI |
| NOAA Global Monitoring Laboratory, Mauna Loa annual mean CO2 | CO2 from 1959 | NOAA public data; cite NOAA GML |
| Law Dome ice-core CO2 spline, MacFarling Meure et al. (2006), via NOAA NCEI Paleoclimatology | CO2 for 1865–1958 | NOAA public data; cite the paper |
| WANHM 1954–1978, Internet Archive scans | The key source, not previously brought together | Copyright of the Society and authors. Only our own summaries, numbers and short labels are published; at most one short quotation per year (under 25 words) |
Code is MIT; our transcriptions, derived data, text and figures are CC BY 4.0 (see LICENSE). The only neighbouring-station acknowledgement kept is the sentence in the README and report: thanks to Eric Gilbert, https://www.windrushweather.co.uk/ (his data are not in this repository).
3. The College series, 1865–1993
Built by scripts/build_college_master_1865_1993.py into data/marlborough_college_1865_1993_annual.csv.
Temperature (annual mean, °C).
- 1865–1883: the Victorian adopted mean (the College's published mean).
- 1884–1885: MWR Table II means, reduced by 0.369 °C (see section 5).
- 1886–1993: MIDAS where all twelve months exist (each month with at least 24 daily values; annual value is the mean of the monthly means), otherwise the MWR annual mean for 1905–1920; otherwise blank.
Rainfall (annual total, mm).
- 1865–1883: Victorian tables. 1884–1885: MWR.
- 1886–1920: Rainfall Rescue (see section 4). The missing months in 1886 (January–February) and 1900 (February) are bridged from the Marlborough–Mildenhall gauge (2.5 km away) scaled by 1.0476 (54 overlapping years, monthly r = 0.978).
- 1921–1993: MIDAS daily rainfall with each observation attributed to the day before the reading date (
ob_date − 1 day; the morning reading covers the previous day), only where every month has at least 25 daily values (1960 is exempt because it is replaced). Three proven MIDAS errors are replaced from the Ten-Year Sheets: all of 1960, August 1932 and June 1951 (the bug report has the details). - Where MIDAS is incomplete (1967, 1968, 1978) the WANHM printed totals are used; 1924 comes from the Ten-Year Sheet.
4. Rainfall Rescue first
Where Rainfall Rescue and the Monthly Weather Report differ, Rainfall Rescue is used. It transcribes the Met Office Ten Year Rainfall Sheets, which were compiled after the Monthly Weather Report and incorporate later corrections, and each value was keyed independently by several volunteers (Hawkins et al. 2022, Geoscience Data Journal 10(2), 246–261, https://doi.org/10.1002/gdj3.107). MWR totals for 1909, 1919 and 1920 differ by up to 0.5 in.
5. Site and instrument adjustments
- Glaisher stand (1884–1885). Raw (Tmax + Tmin) / 2 in the Victorian years sits 0.369 °C warmer than Preston's published adopted mean, consistent with the open Glaisher stand. The 1884–85 MWR means are reduced by 0.369 °C to the adopted-mean basis. The 1865–83 adopted means are used as published.
- The 1984 step (0.145 °C). Against RAF Lyneham, the College runs about 0.145 °C warmer from 1984 (a site or instrument change). The main column
mean_temp_c_rawkeeps the College as measured. The alternative columnmean_temp_c_hom_college_pre1984subtracts 0.145 °C for 1984–1993, and 0.044 °C more after the HadUK-Grid join, to give a series on the pre-1984 level. Trends using it differ by less than 0.01 °C per decade. - 1990–93 maximum-temperature step. Against six rural neighbours, the College's maximum temperature jumps by about 0.37 °C around 1990 (SNHT statistic 14.9; confirmed independently at Lambourn, Lacock and Leckford). RAF Lyneham shows nothing of the kind. We flag it and do not adjust for it. It is part of the raw series and it matters for the trend views (section 10).
- Urban heat. Night-time minima show no drift against the rural composite for 1921–1993 (+0.002 °C per decade, p = 0.88).
6. Joining HadUK-Grid (1994–2025)
For 1961–1993 the College and the HadUK-Grid 1 km cell containing it agree closely (monthly r = 0.999 for maximum and 0.996 for minimum temperature, 384 months). Offsets over that overlap are applied from 1994: Tmax +0.03 °C, Tmin −0.006 °C, rainfall ×1.0051. These are in data/haduk_college_overlap_stats.json. Caution: HadUK-Grid used the College's own observations until it closed, so the agreement is expected and not independent; after 1993 the grid relies on surrounding stations. Using the 1961–1983 offsets instead would lower 1994–2025 by about 0.03 °C.
Built by scripts/build_modern_extension_and_trends.py. Labelled in the data as "Met Office HadUK-Grid, adjusted to Marlborough College".
7. Gaps
Years without a complete record are blank, not filled: temperature 1870, 1886–88, 1891, 1894–1904, 1924, 1945, 1951, 1962–64 and 1989 (23 years; 138 of 161 present); rainfall 1962–64 and 1989 (157 of 161 present).
8. WANHM tables and summaries
The reports were transcribed from the Internet Archive page scans, not from the OCR text, which destroys the +, - and O symbols and corrupts numerals. The monthly tables (data/wanham_monthly_anomalies_1954_1978.csv, 300 months) keep the symbols as printed (raw_T, raw_R, raw_S) and add a standard form (std_*) and an integer score from −3 to +3 (score_*). Corrections made when standardising:
- 1954 and 1955 rainfall signs were reversed in print (
+meant better, so drier); from 1956+means wetter. The standard form follows 1956 onward. - Column order is T, R, S except in 1959 and 1962–1965, where it is R, T, S; recorded in
raw_column_order. - Triple signs (
+++,---) appear from 1960 although the legend defines only single and double signs. - Four original print errors are kept and flagged in
data_note.
Printed annual totals and averages (1966–1978) and monthly figures (1976–1978) are in the wanham_* numeric files. The year-by-year summaries (articles/wanham_weather_1954_1978_summaries.md) are our own words, with one short quotation at most per year and a link to the exact Internet Archive page. For 1954–1965 the report prints no annual totals, so the summaries show the College measurements from our series instead and say so. Validation of the symbols against the College measurements is in the report (Spearman ρ about 0.90 for temperature and for rainfall).
The WANHM figures are numeric facts; our summaries and choice of quotations are ours. The verbatim report text is not included, and data/wanham_weather_1954_1978.json carries only the numeric tables.
9. Straight-line trends
Ordinary least squares on annual values, using only years with a complete record. The 95% range is widened for year-to-year persistence using the lag-1 autocorrelation of the residuals (the effective sample size follows Santer et al. 2008). 30-year averages are plain means of the years present in each window. Results: data/marlborough_trends_summary.json.
10. Trend views (five ways to describe the shape)
scripts/build_trend_views.py writes data/marlborough_trend_views.json and charts/fig9_marlborough_trend_views.png, and the explorer's trend selector draws from the same JSON. The input is mean_temp_c_raw from the master file (138 years). Each view is applied to HadCET at the same years as a sense check. HadCET is shifted by the mean Marlborough-minus-CET difference (−0.46 °C) wherever it is drawn with Marlborough.
- a. Straight line. Section 9: +0.096 °C per decade (95% range +0.071 to +0.122), R² 0.41. HadCET: +0.083.
- b. Smooth curve. LOESS (local straight lines, tricube weights, the nearest 30% of observed years per window; about 6.5 effective parameters) and a centred 30-year running mean (at least 20 observed years in the window; undefined at the ends). No uncertainty band.
- c. Step changes ("punctuated equilibrium"). The series is cut into flat segments by an exact least-squares search of all possible breakpoint sets (optimal partitioning by dynamic programming), each segment at least 15 observed years, up to four breakpoints, the number chosen by BIC. Marlborough: breakpoints at 1920, 1990 and 2011 (first year of each new segment); 90% bootstrap ranges 1890–1936, 1976–1992 and 2000–2011; segment means 8.72, 9.03, 9.82 and 10.35 °C (standard errors 0.05–0.13). With a 20-year minimum: 1920 and 1990. HadCET at the same years: 1933 and 1997 (a single break would be 1994). The ranges come from 400 moving-block bootstrap resamples (block of 5 years) of the residuals with the search repeated each time.
- d. Hinge. Two straight lines joined at one year (continuous), the year chosen by least squares with at least 15 years each side. Marlborough: 1985 (90% range 1970–1995), +0.04 °C per decade before and +0.38 after. HadCET: 1986, +0.03 then +0.34.
- e. CO2. Annual temperature against ln(CO2 / 280 ppm), with annual CO2 from
data/reference/co2_annual_1865_2025.csv. R² = 0.52 for Marlborough (r = 0.72; 0.62 for 1961–2025 alone) and 0.43 for HadCET. The slope corresponds to +3.15 °C per doubling of CO2 (95% range 2.59 to 3.70).
How to read them honestly:
- BIC hardly separates one, two or three breakpoints in the step model (−179.8, −180.4 and −181.3), and persistence in the data tends to favour extra breakpoints. The early (1920) break is poorly located.
- The fit table in the explorer shows the straight line is clearly worse than the other four, which are close to each other. A step model, a hinge, a smooth curve and a smooth CO2-driven rise can all fit the same data about equally well, so the shape of a fit does not show what caused the change.
- The raw College series contains the 1990 maximum-temperature step (section 5). The step and hinge views see it as part of the signal; HadCET's matching rise comes a few years later (1994–1997). Years from 1994 are HadUK-Grid adjusted to the College.
- CO2 and temperature both rise with time, so any rising trend correlates with CO2; R² shows they move together, not why. The "per doubling" figure lumps in everything else that changed (other gases, aerosols, land use, station changes) and is one site's number, not a climate sensitivity. The CO2 series before 1959 is an ice-core spline smoothed to about decade resolution, and there is a step of about 1 ppm where it meets Mauna Loa.
11. Other analyses
- Rural neighbours.
scripts/analyze_rural_neighbours.pyandscripts/compare_midas_rural_neighbours.py: a station-and-year fixed-effects composite of six non-airfield MIDAS stations within 40 km, and pairwise SNHT changepoint tests (College minus reference). - RAF Lyneham.
scripts/build_lyneham_reference.pydownloads GHCN-Daily, builds the monthly series and the College-vs-Lyneham calibration (data/lyneham_calibration_results.json). - MIDAS defects.
scripts/audit_midas_rain_forensic.pycompares MIDAS monthly rainfall with the Ten-Year Sheets (514 months, 1889–1960), which found the three defects reported in CEDA_MIDAS_00891_Marlborough_Bug_Report.md. - Days and nights (maximum and minimum).
scripts/build_maxmin_series.pybuildsdata/marlborough_maxmin_annual_1865_2025.csvanddata/marlborough_maxmin_summary.json, and the chart on the page (charts/fig10_marlborough_max_min.png). Three series sit side by side. (1) The College series: mean daily maximum and minimum from the Victorian tables (1865–1883), the Monthly Weather Reports (1884–85, 1905–20) and MIDAS 00891 (1875, 1889–93 except 1891, and 1921–1993, 72 complete years in all); from 1994 it is the HadUK-Grid cell plus the College-minus-HadUK offset of the 1961–1993 overlap (Tmax +0.03 °C, Tmin −0.006 °C), exactly as for the mean-temperature series in section 6. Years without a complete record are left blank. (2) The HadUK-Grid 1 km cell at the College for every year 1884–2025, with no gaps: monthlytasmaxandtasminfetched byscripts/download_haduk_maxmin_early.pyfor 1884–1960 (the repository already held 1961–2025) and averaged over 12 months. The service answers without a token, and a CEDA token sent as a Bearer header made it return an error, so the download is anonymous. Re-fetching three overlap years gave the same values as the repository file to within 0.0005 °C. (3) Met Office HadCET maximum and minimum, 1878–2025, as a national check; it describes central England, not Marlborough. The 1984 site move. After 1984 the College readings sit higher against the grid cell than before: by +0.112 °C (standard error 0.028) for the maximum and +0.061 °C (0.035) for the minimum, taking the 1984–93 mean difference minus the 1961–83 mean difference. The College columns without a suffix are as measured, like the mean series. The*_pre1984_sitecolumns remove that step (1984–93 readings minus the step; from 1994 the grid cell plus the 1961–83 offset), so they continue the old site; the page has a tick-box to show them. Trends are straight lines with the same lag-1 interval as section 9; the day-minus-night gap is analysed directly, so its trend is the maximum trend minus the minimum trend. Limits. HadUK-Grid used the College readings until the station closed, so agreement before 1994 is a consistency check, not an independent test. Before 1921 the thermometers were not in a Stevenson screen and the maximum and minimum are not adjusted for exposure; College minus grid is within 0.15 °C in both the 1884–85 and 1905–20 samples, but the 1884–85 sample is only two years. In the College's own record the mean minimum rose from 4.51 to 4.88 °C between 1921–50 and 1984–93 while the mean maximum fell from 13.63 to 13.46 °C; the grid cell and HadCET show both rising overall, with days warming faster than nights since the 1960s, so the night-led pattern is a feature of the early record, not of recent warming. - Preston phenology. In MCNHS Report No. 18 (Christmas 1873, pp. 96–166) Rev. T. A. Preston published tables for 124 species, one table each. For each species he recorded the first flowering date in each of the nine years 1865–1873, with the mean temperature, mean daily rainfall and number of rainy days in the six weeks before flowering, and he printed nine-year averages of those figures (p. 96 and the tables from p. 105). He wrote that each table involved more than 150,000 figures and the 124 tables nearly twenty million (p. 96). Duration of flowering was recorded for five years only (p. 96). We transcribed 14 species.
scripts/analyze_preston_phenology.pysets those first-flowering dates against the College temperature of the preceding months; the ten-species spring index gives about −7 days per +1 °C (r = −0.83) against the January–March mean.
12. Rebuilding
pip install -r requirements.txt
# 1. Fetch inputs (each downloader fetches from the original source and pauses between requests)
export CEDA_API_TOKEN=... # free CEDA account, needed for MIDAS and HadUK-Grid
python scripts/download_midas_marlborough.py # raw MIDAS daily files for station 00891
python scripts/download_midas_station_polite.py # the six rural neighbours
python scripts/download_haduk_grid_point_polite.py && python scripts/combine_haduk_point_csvs.py
python scripts/fetch_reference_hadobs.py # HadCET and HadUKP
python scripts/build_lyneham_reference.py # NOAA GHCN-Daily, no token needed
python scripts/fetch_co2_reference.py # NOAA GML and NCEI, no token needed
# 2. Build
python scripts/build_college_master_1865_1993.py --check # compare with the published College series
python scripts/build_modern_extension_and_trends.py # master 1865-2025, trends, fig5, fig8
python scripts/analyze_rural_neighbours.py
python scripts/analyze_preston_phenology.py
python scripts/build_trend_views.py # trend views and fig9
python scripts/generate_charts.py # fig1, fig2
python scripts/plot_fig6_preston_phenology.py && python scripts/plot_fig7_rural_uhi.py
# 3. Check and publish
python scripts/validate_datasets.py
python scripts/make_verify_samples.py
python scripts/build_interactive_web_explorer.py # docs/index.html
Rainfall Rescue sheets (data/reference/rainfall_rescue/) are included in the repository (CC BY 4.0); the originals are at https://github.com/ed-hawkins/rainfall-rescue. The downloaders make one request at a time and honour retry-after headers.
13. What cannot be rebuilt from the repository
- Transcriptions from scans (Victorian MCNHS tables, MWR pages, WANHM tables, Preston's dates) were read by eye; the scans are on the Internet Archive and the Met Office library. The scripts in
scripts/archival_extraction/locate pages but do not reproduce the transcriptions. scripts/build_datasets.py(WANHM datasets) reads transcribed report text that is held locally and not published.- Raw MIDAS daily files are not redistributed; the downloaders fetch them.
build_college_master_1865_1993.pyand the rural scripts need them. - Known small differences. The College builder reproduces the published College series exactly except for the annual temperature in three years (1950, 1957 and 1976), where it differs by up to 0.02 °C. The cause is not resolved; the
--checkoption treats this as a tolerance. Nothing else differs.
14. Thanks and attribution
Met Office data contain public sector information licensed under the Open Government Licence v3.0. HadUK-Grid: Hollis, D., Carlisle, E., Kendon, M., Packman, S., Doherty, A. (2026), v1.3.2.ceda, NERC EDS CEDA, doi:10.5285/789b3065d74a4c948ab05d33556c86d0. Rainfall Rescue: Hawkins et al. (2022). CO2: NOAA GML (Mauna Loa) and MacFarling Meure et al. (2006), Geophys. Res. Lett. 33, L14810 (Law Dome), via NOAA NCEI. RAF Lyneham: NOAA NCEI GHCN-Daily. WANHM and MCNHS scans: Internet Archive and the Biodiversity Heritage Library. Thanks to Eric Gilbert, https://www.windrushweather.co.uk/.