View source: R/rawsList_addWindBarbs.R
rawsList_addWindBarbs | R Documentation |
Add a multi-sided polygon to a plot.
rawsList_addWindBarbs(
rawsList = NULL,
observationTime = NULL,
skipMissing = FALSE,
type = "winds",
circleSize = 1,
circleFill = "transparent",
lineCol = 1,
extraBarbLength = 0,
barbSize = 1,
...
)
rawsList |
a list of raws_timeseries objects |
observationTime |
Time of observation in question. Only accepts POSIXct objects. |
skipMissing |
Logical flag to skip stations with data missing at the requested time. |
type |
Which type of wind to plot. Currently only accepts 'winds' or 'gusts' |
circleSize |
size of the circle |
circleFill |
circle fill color |
lineCol |
line color (currently not supported) |
extraBarbLength |
add length to barbs |
barbSize |
size of the barb |
... |
additional arguments to be passed to |
https://commons.wikimedia.org/wiki/Wind_speed
## Not run:
# Fail gracefully if any resources are not available
try({
library(maps)
library(RAWSmet)
setRawsDataDir("~/Data/RAWS")
maps::map('state', "washington")
# Noon on 09-01-2017
observationTime <- MazamaCoreUtils::parseDatetime(2017090112, timezone = "America/Los_Angeles")
rawsList_addWindBarbs(rawsList = example_cefaList, observationTime = observationTime)
}, silent = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.