Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/wind_functions2.R
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
1 | wind2raster(x)
|
x |
an "rWind list" obtained by wind.fit |
WGS84 datum (non-projected) CRS is selected by default to build the raster file.
A raster stack or a list of raster stacks representing wind direction and speed.
Javier Fernández-López (jflopez.bio@gmail.com)
1 2 3 4 5 6 | data(wind.data)
# Create raster stack from the downloaded data with wind directon and speed
# layers
wind2raster(wind.data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.