rawPlot_windRose: Create Wind Rose Plot from a Raw Dataframe

View source: R/rawPlot_windRose.R

rawPlot_windRoseR Documentation

Create Wind Rose Plot from a Raw Dataframe

Description

Create wind rose plot from raw_enhance object. Based on openair::windRose().

Usage

rawPlot_windRose(df, tlim = NULL, localTime = TRUE, ...)

Arguments

df

enhanced, raw dataframe as created by the raw_enhance() function

tlim

optional vector with start and end times (integer or character representing YYYYMMDD[HH])

localTime

logical specifying whether tlim is in local time or UTC

...

additional arguments to pass on to openair::windRose()

Note

If more than one timezone is found, localTime is ignored and UTC is used.

Examples

## Not run: 
# Fail gracefully if any resources are not available
try({

raw <- airsis_createRawDataframe(20160901, 20161015, provider='USFS', unitID=1012)
raw <- raw_enhance(raw)
rawPlot_windRose(raw)

}, silent = FALSE)

## End(Not run)

MazamaScience/PWFSLSmoke documentation built on July 3, 2023, 11:03 a.m.