Learn R Programming

LakeMetabolizer (version 1.5.5)

wind.scale: Wind Scaling U10 - exponential conversion to 10m wind speed

Description

Scale wind speed to standard U10 (10 meters) based on height of observations

Usage

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

Value

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

Arguments

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)

Author

Aline Jaimes, Luke A. Winslow

Details

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

References

Saucier, W. 2003. Principles of Meteorological Analysis. Dover Publications. New York. p433

See Also

Models of gas flux k.cole, k.crusius, k.macIntyre, & k.read.

Examples

Run this code
wndSpeed <- c(5.1,6.3,6.3,5.2,7,7.2)
wndHeight <- 2

wind.scale.base(wndSpeed, wndHeight)

Run the code above in your browser using DataLab