romsrotate performs the rotation on a 2-layer brick romsangle reads the (likely) angle variable

romsrotate(uv, angle, ...)

romsangle(x, varname = "angle", ...)

Arguments

uv

raster brick of two layers with 'u' ("east-west") and 'v' ("north-south") vector components

angle

raster layer of the 'angle' variable from 'ROMS'

...

ignored currently

x

filename

varname

variable name from file 'x'

References

ROMS website