R/met_conversions.R
ds2uv.Rd
Wind speed and direction to vector components
ds2uv(d, s)
direction the wind blows from, degrees.
wind speed, m/s.
matrix with columns u (eastward) and v (northward), m/s.
u
v
ds2uv(225, 5) #> u v #> [1,] 3.535534 3.535534