windrose: Wind analysis

View source: R/windrose.R

windroseR Documentation

Wind analysis

Description

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.

Usage

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
)

Arguments

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

Note

Adapted from clim.pact

Author(s)

R.E. Benestad

See Also

link{geostrophicwind}

Examples


## 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)


metno/esd documentation built on March 9, 2024, 11:21 a.m.