wind.scale | R Documentation |
Scale wind speed to standard U10 (10 meters) based on height of observations
## Used for timeseries data in a data.frame wind.scale(ts.data, wnd.z) ## Used for raw numeric data wind.scale.base(wnd, wnd.z)
ts.data |
Object of class data.frame containing a wnd column. |
wnd.z |
height of anemometer (Units: meters) |
wnd |
measured wind speed (Units: typically m s-1, but it is unit agnostic) |
This function transforms wind speed to the standard U10, speed at 10 meters, based on the common exponential wind profile assumption. wind.scale defaults to using the supplied wnd.z value. If wnd.z is not supplied, it attempts to determine the anemometer height from the suffix of the header (e.g., a header of wnd_3 would mean an anemometer height of 3 meters).
## wind.scale Returns a data frame with columns datetime and wnd_10 and the same number of rows as ts.data
## wind.scale.base Returns a vector with the same length as wnd
Aline Jaimes, Luke A. Winslow
Saucier, W. 2003. Principles of Meteorological Analysis. Dover Publications. New York. p433
Models of gas flux k.cole, k.crusius, k.macIntyre, & k.read.
wndSpeed <- c(5.1,6.3,6.3,5.2,7,7.2) wndHeight <- 2 wind.scale.base(wndSpeed, wndHeight)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.