Description Usage Arguments Details Value Examples
buildHourlyAverages
returns dataframe with hourly averaged data
1 | buildHourlyAverages(df, min_time = 0, max_time = 23)
|
df |
dataframe |
min_time |
starting hour, default=o |
max_time |
ending hour, default=23 |
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.
dataframe with hourly averages
1 2 3 | data(wind)
s <- subsetOnSpeed(wind, 'R2', '<', 6.0)
s.avg <- buildHourlyAverages(s)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.