rasterize_wind: Rasterize wind data

View source: R/rasterize_wind.R

rasterize_windR Documentation

Rasterize wind data

Description

Process and rasterize wind data, creating raster datasets that describe wind speed within a specified distance of the coastline.

Usage

rasterize_wind(data, wind_column, template, width, outfile)

Arguments

data

Character. A vector polygon dataset (e.g. Shapefile or GeoPackage) describing onshore winds, or a file path to such a file.

wind_column

Character. The column name for the column of the object defined by data that contains wind speed data.

template

A RasterLayer or stars object, or a character file path to a file that can be read by GDAL, defining the extent and resolution of analysis, and defining the coastline (edge of non-NA values). If a stars object, the first attribute will be used. Must have a valid coordinate system. CRS is assumed to be Australian Albers (3577).

width

Numeric. The width of the coastal buffer (in metres), defining how far inland the wind has an effect. E.g. if the pest is thought to be carried up to 50km inland by the wind, set this value to 50000.

outfile

Character. The target file path for the wind raster.


jscamac/edmaps documentation built on June 11, 2022, 1:26 a.m.