Skip to contents

Create a wind_rose object from a set of raster layers

Usage

as_wind_rose(x, trans, n_steps = NA_integer_)

Arguments

x

SpatRaster with 8 layers representing flows in each semi-cardinal direction, clockwise beginning in southwest.

trans

Transformation to convert speed into conductance. Either a single number, or a function. See documentation for wind_rose.

n_steps

An integer giving the number of time steps represented in x.

Value

A `wind_rose` object.