wind2raster crates a raster stack (gridded) with 2 layers: wind speed and
wind direction for an object of rWind.
Latitude and longitude values are used to locate raster file and to create
raster using rasterFromXYZ function from raster package. If the input file is
a list of wind data created by wind.dl, a list of raster stacks will be
returned
Usage
wind2raster(x)
Arguments
x
an "rWind list" obtained by wind.fit
Value
A raster stack or a list of raster stacks representing wind direction
and speed.
Details
WGS84 datum (non-projected) CRS is selected by default to build the raster
file.