windrose | R Documentation |
A function that plots windroses from station objects which contain both the zonal and meridional components. These are stored seperately as if they were two different station records.
windrose(
x,
saw = 10,
max.scale = NULL,
main = NULL,
cols = c("grey90", "yellow", "green", "red", "blue", "darkgreen", "darkred", "magenta",
"black"),
param = c("u", "v"),
simple = TRUE,
verbose = FALSE
)
x |
station object |
saw |
Directional resolution in degrees |
max.scale |
scaling factor for windrose |
main |
main title |
cols |
a vector defining colors for plot |
param |
Name of the variables representing zonal and meridional wind |
simple |
Only plot the windrose, not an additional historgram for windspeed |
verbose |
if TRUE print information about progress |
Adapted from clim.pact
R.E. Benestad
link{geostrophicwind}
## Not run:
slp <- station(param='slp',cntr='Denmark',src='ecad')
uv <- TGW(subset(slp,is=c(1,3,11)))
UV <- geostrophicwind(slp)
windrose(uv)
map(UV,FUN='q95')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.