winds10m: Calculate the 10-m winds for a vector of wind speed...

Description Usage Arguments Examples

Description

This function will return the 10-m winds given vectors of wind observations (wind speed and direction), a vector containing the high end of the wind direction bins, the roughness lengths associated with each wind direction bins, and the measurement height of the wind observations.

Usage

1
2
winds10m(bins, z0, wspds, wdirs, zm, zref = 10, inunits = "m/s",
  outunits = "m/s", to.na = TRUE, missing = -99999)

Arguments

bins

vector containing the cutoffs of the wind direction bins

z0

vector containing the roughness lengths associated with each wind direction bin

wspds

vector containing the wind speed observations

wdirs

vector containing the wind direction observations

zm

the measurement height for wind speed observations (in m)

zref

the reference height (the height we want to estimate the winds), defaults to 10-m

inunits

units for the wind observations, "m/s" (default), "mph", "knots"

outunits

desired units for the potential winds, "m/s" (default), "mph", "knots"

to.na

turn large values to NA (default = TRUE)

missing

specify missing value (if to.na = FALSE)

Examples

1
2
# convert from mph to m/s
winds10m(bins, z0, wspd, wdir, zm, inunits = "mph")

bhlmn/WindVerification documentation built on May 12, 2019, 8:28 p.m.