mpas_tools.vector.Vector.angular_distance

Vector.angular_distance(other)[source]

Compute angular distance between points on the sphere, following: https://en.wikipedia.org/wiki/Great-circle_distance

Parameters:

other (mpas_tools.vector.Vector) – The vector to compute the angular distance to

Returns:

angularDistance (numpy.ndarray) – The angular distance (in radians) between segments of the transect.