weather_data: Weather data from one measuring station.

Description Usage Format Details References Examples

Description

Weather data from a weather station in a central location of the study region. The data contains hourly measurements over a period of ten weeks, similar to the time span of the dataset *elcons_15min*. Weather data are averaged across all available weather stations in the study area for each unit of time.

Usage

1

Format

A data frame with the following of variables:

DATE_CET

The date and time of the weather observation in Central European Time

WEEK

Week of the year as decimal number (00–53) using Monday as the first day of week

WIND_DIRECTION

Wind direction in compass degrees. *NA* when air is calm (no wind speed)

CLOUD_CEILING

Lowest opaque layer with 5/8 or greater coverage

SKY_COVER

Sky cover: CLR-clear, SCT-scattered (1/8 to 4/8), BKN-broken (5/8 to 7/8), OVC-overcast, OBS-obscured, POB-partial obscuration

VISIBILITY

Visibilityin statute miles (rounded to nearest tenth)

TEMP

Temperature measured in fahrenheit

SEA_LEVEL_PRESSURE

Sea level pressure measured in millibars (rounded to nearest tenth)

STATION_PRESSURE

Station pressure measured in millibars (rounded to nearest tenth)

PCP01

1-hour liquid precip reportin inches and hundredths, that is, the precip for the preceding 1-hour period

WIND_SPEED

Wind speed in miles per hour

Details

This data cannot be used or redistributed for commercial purposes. Re-distribution of these data by others must provide this same notification. (see https://www.ncdc.noaa.gov/)

References

NOAA National Centers for Environmental Information (2020)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(elcons_15min, weather_data)

#transform 15-minute electricity measurements to hourly consumption values
hourly_cons <- colSums(matrix(t(elcons_15min$w44[1,2:673]), nrow=4))

#select temperature observations for week 44
hourly_temp <- weather_data[weather_data$WEEK==44,"TEMP"]

#compute correlation
cor(hourly_cons, hourly_temp)

ResidentialEnergyConsumption documentation built on Feb. 10, 2021, 5:12 p.m.