helper function to calculate wind direction

windDir(u, v)

Arguments

u

horizontal (u) wind speed

v

vertical (v) wind speed

Value

Wind direction in degrees clockwise