buildHourlyAverages: Build a dataframe with hourly averaged data

Description Usage Arguments Details Value Examples

Description

buildHourlyAverages returns dataframe with hourly averaged data

Usage

1
buildHourlyAverages(df, min_time = 0, max_time = 23)

Arguments

df

dataframe

min_time

starting hour, default=o

max_time

ending hour, default=23

Details

This fucntion returns a dataframe with hourly averages of wind data. Data are averaged over all timesteps to produce hourly averages for each hour of the day. This is useful to see, for example, what the typcial wind field looks like at 1000 LT. It may be most usefule to call this function after other subsetting operations have been done. For example, you may want to first subset on speed to filter out high-wind event cases to examine diurnal wind patterns.

Value

dataframe with hourly averages

Examples

1
2
3
data(wind)
s <- subsetOnSpeed(wind, 'R2', '<', 6.0)
s.avg <- buildHourlyAverages(s)

nwagenbrenner/windtools documentation built on May 24, 2019, 10:56 a.m.