_images/calypso.png

U & V / Spd & drrΒΆ

Converts (u, v) to (spd, dir). Args:

u (array): eastward wind component v (array): northward wind component coming_from (bool): True for output directions in coming-from convention, False for going-to

Returns:

mag (array): magnitudes direc (array): directions (degree)

Converts (spd, dir) to (u, v). Args:

spd (array): magnitudes to convert direc (array): directions to convert (degree) coming_from (bool): True if directions in coming-from convention, False if in going-to

Returns:

u (array): eastward wind component v (array): northward wind component