wind2raster_int: Wind-data to raster file

Description Usage Arguments Details Value Author(s) See Also

View source: R/wind_functions2.R

Description

wind2raster_int crates a raster file (gridded) from a data.frame created by wind.fit function from "rWind" package. Latitude and longitude values are used to locate raster file and create raster resolution using rasterFromXYZ function from raster package. As raster files only can store one field of information, you should choose between direction (by default, type="dir") and speed (type="speed") to be represented by the new raster file.

Usage

1

Arguments

x

an object of class rWind

Details

WGS84 datum (non-projected) CRS is selected by default to build the raster file.

Value

A raster file representing wind direction, wind speed or both of the study area.

Author(s)

Javier Fernández-López (jflopez.bio@gmail.com)

See Also

wind.dl, wind2raster


rWind documentation built on Oct. 19, 2021, 5:06 p.m.