geowind | R Documentation |
Convert model wind from projection to Lat/Lon axes (or back) using the map factor. This is mainly important for calculating the wind direction. Only Lambert, Rotated LatLon, rotated Mercator and Polar Stereogrphic projections are supported.
geowind(u, v, inv=FALSE, init=NULL)
geowind.init(domain)
u , v |
u and v components of the model wind. These must be |
inv |
if inv=TRUE, the vector is rotated from N/E back to the grid axes. |
init |
Either NULL or a list with components |
domain |
A geofield or geodomain object. |
geowind.init()
is merely meant as a means to save computation time if the same correction must be done many times.
A list with components U,V
that have the same type as the input. The wind vector has been rotated to the geographical N/E axes, or inverse. geowind.init
returns a list with components angle,mapfactor
that can serve as init
value for later calls to geowind
.
wind.dirspeed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.