Overview
This blog describes the median rainfall in January from 1850 to 2014 across the 25 weather stations in Ireland. It demonstrates how to create an interactive map of this data in R. Before doing so an explanation of the data sets that are being used is provided. Finally, there is a brief discussion of the spatial patterns that have been identified in the January median rainfall across Ireland.
The data
The data used in this blog is from a rainfall data set supplied by Prof. Conor Murphy and Dr.Simon Noone of ICARUS, which has been converted to an R binary data file for convenience. It contains two objects ‘rain’ and ‘stations’, as displayed below. The rain object contains rainfall data that runs from 1850 to 2014 by month for 25 rainfall stations across the country and has no missing data. The stations object contains information on each of the 25 rainfall stations such as elevation, coordinates and data source.
# A tibble: 49,500 × 4
Year Month Rainfall Station
1 1850 Jan 169 Ardara
2 1851 Jan 236. Ardara
3 1852 Jan 250. Ardara
4 1853 Jan 209. Ardara
5 1854 Jan 188. Ardara
6 1855 Jan 32.3 Ardara
7 1856 Jan 152. Ardara
8 1857 Jan 179. Ardara
9 1858 Jan 110. Ardara
10 1859 Jan 158. Ardara ...
# ℹ 49,490 more rows
# A tibble: 25 × 9
Station Elevation Easting Northing Lat Long County Abbreviation Source
1 Athboy 87 270400 261700 53.6 -6.93 Meath AB Met E…
2 Foulksmills 71 284100 118400 52.3 -6.77 Wexford F Met E
3 Mullingar 112 241780 247765 53.5 -7.37 Westme… M Met E…
4 Portlaw 8 246600 115200 52.3 -7.31 Waterf… P Met E…
5 Rathdrum 131 319700 186000 52.9 -6.22 Wicklow RD Met E…
6 Strokestown 49 194500 279100 53.8 -8.1 Roscom… S Met E…
7 University..14 129000 225600 53.3 -9.06 Galway UCG Met E…
8 Drumsna 45 200000 295800 53.9 -8 Leitrim DAL Met E…
9 Ardara 15 180788. 394679. 54.8 -8.29 Donegal AR Briffa
10 Armagh 62 287831. 345772. 54.4 -6.64 Armagh A Armag…
# ℹ 15 more rows
Spatial patterns
The map created displays the median rainfall in January from 1850 to 2014 across the 25 weather stations in Ireland. The map shows that there is higher rainfall along the coast of the island, with less rainfall in the midlands. Interestingly, a report by Met Eireann (https://www.met.ie/climate-ireland/SummaryClimAvgs.pdf ) states that January rainfall for the years 1981-2010, was highest in the western half of the island and lowest in the east. This is consistent with the map created here, as the three stations with highest rainfall, Ardara, Kilarney, and Valentia are in the western half of the island. Although, there is a lack of stations in the western half of the country in this map that would help further validate this, particularly in Galway and Mayo counties. Some locations along the east coast also show lower levels of rainfall.