View source: R/wind_functions2.R
| wind2raster | R Documentation |
wind2raster() converts an rWind object to a two-layer
terra::SpatRaster containing wind direction and speed. An
rWind_series is converted to a list of SpatRaster objects, one per time
step. All outputs use WGS 84 (EPSG:4326).
wind2raster(x)
x |
An object of class |
A terra::SpatRaster, or a list of them, with layers direction
and speed.
Javier Fernández-López (jflopez.bio@gmail.com)
wind.dl
data(wind.data)
# Create a SpatRaster with wind direction and speed layers
wind2raster(wind.data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.