Description Usage Arguments Examples
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.
1 2 |
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) |
1 2 | # convert from mph to m/s
winds10m(bins, z0, wspd, wdir, zm, inunits = "mph")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.