Learn R Programming

fda.usc (version 1.1.0)

aemet: aemet data

Description

Series of daily summaries of 73 spanish weather stations selected for the period 1980-2009. The dataset contains geographic information of each station and the average for the period 1980-2009 of dayly temperature, daily precipitation and daily wind speed. Meteorological State Agency of Spain (AEMET), http://www.aemet.es/. Government of Spain.

Usage

data(aemet)

Arguments

format

Elements of aemet: ..$df: Dataframe with information of each wheather station: ind:{ Indicated weather station. } name:{ Station Name. 36 marked UTF-8 strings } province:{ Province (region) of Spain. 36 marked UTF-8 strings } altitude:{ Altitude of the station (in meters). } year.ini:{ Start year. } year.end:{ End year. } longitude:{ x geographic coordinate of the station (in decimal degrees) . } latitude:{ y geographic coordinate of the station (in decimal degrees) . } The functional variables: ...$temp: mean curve of the average daily temperature for the period 1980-2009 (in degrees Celsius, marked with UTF-8 string). ...$wind.speed: mean curve of the average daily wind speed for the period 1980-2009 (in m/s). ...$logprec: mean curve of the log precipitation for the period 1980-2009 (in log mm).

source

ftp://ftpdatos.aemet.es/series_climatologicas/valores_diarios/estacion/

Details

It uses the file "maestro.csv"' at the following address: ftp://ftpdatos.aemet.es/series_climatologicas/Maestro.csv. It marks 36 UTF-8 string of names of stations and 3 UTF-8 string names of provinces through the function iconv. In leap years temperatures for February 28 and 29 were averaged. Negligible precipitation (less than 1 tenth of mm) is replaced by 0.05 and no precipitation (0.0 mm) is replaced by 0.01. Then the logarithm is applied.

Examples

Run this code
data(aemet)
names(aemet)
names(aemet$df)
par(mfrow=c(3,1))
plot(aemet$temp)
plot(aemet$wind.speed)
plot(aemet$logprec)

Run the code above in your browser using DataLab