wind.dirspeed | R Documentation |
wind.dispeed
is a simple calculation of the wind direction for given u and v. Notice that these should already be converted to natural directions along E/N axes. wind.uv
is the inverse.
wind.dirspeed(u, v,fieldname=c("Wind direction","Wind speed"),rad=FALSE)
wind.uv(wspeed,wdir,fieldname=c("U","V"),rad=FALSE)
u , v |
u and v components of the model wind. These may be either vectors or |
wspeed , wdir |
Wind speed and direction direction (radians or degrees). |
fieldname |
A character string giving the names for the result. Only necessary if u and v are |
rad |
If TRUE, the wind direction is in radians. If FALSE, it is in (decimal) degrees. |
Wind direction is given in degrees by default. If the wind speed is lower than 10E-6, the result is set to NA.
A list with elements wdir
and wspeed
.
geowind
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.