Skip to contents

Generate a wind field time series data set from a set of rasters.

Usage

wind_series(x, order)

Arguments

x

Multi-layer SpatRaster with layers containing u and v wind components, or an object like a file path that can be converted to a SpatRaster. Note that raster data must be in lat-long coordinates.

order

Either "uuvv", the default indicating `x` has all u components followed by all v components, or "uuvv", indicating the u and v components of `x` are alternating.

Value

A `wind_series` object, which is a particular form of SpatRaster.