Balti Boix
december 2015
The NOAA Global Historical Climatology Network - Daily (GHCN-Daily) dataset integrates daily climate observations from well over 90,000 land-based stations worldwide. Detailed information in the NOAA Web Page.
The spanish stations have been selected. The data in the older stations goes back to 1920 with a gap during the spanish civil war.
For this exercise the maximum and minimum temperatures have been used.
Temperatures are expressed as °C x 10. That is, 21.6 °C is the same as 216 °C x 10.
ShinyTemperature is an interactive application that shows historical temperatures for spanish meteorological stations.
The data is read from the ftp service of NOAA (USA) and saved in TData.rda. All the code used to generate this file can be found in my
github repository
/ gh-page.
The mode of use is simple: choose an station and a year an automatically the data from the database is shown as plots:
- A daily plot of maximum and minimum Temperatures (TMAX and TMIN)
- A box plot of monthly data.
The monthly data is also shown in a table where you choose between TMAX and TMIN:
- Monthly average temperatures in °C x 10
- Monthly standard deviation temperatures in °C x 10
load("TData.rda")
cat(levels(TData$id),sep="\n")
MADRID - RETIRO
BADAJOZ/TALAVERA LA REAL
MALAGA AEROPUERTO
TORREVIEJA
SAN SEBASTIAN - IGUELDO
BARCELONA/AEROPUERTO
SALAMANCA AEROPUERTO
NAVACERRADA
ALBACETE LOS LLANOS
CORDOBA AEROPUERTO
VALENCIA
ZARAGOZA AEROPUERTO
TORTOSA - OBSERVATORIO DEL EBR
IZANA
LANZAROTE/AEROPUERTO
MELILLA
cat(names(TData),sep="\n")
id
year
month
element
day
value
date
element is TMAX or TMIN