mpas_tools.transects.cartesian_to_great_circle_distance¶
- mpas_tools.transects.cartesian_to_great_circle_distance(x, y, z, earth_radius)[source]¶
Cartesian transect points to great-circle distance
- Parameters
x (numpy.array) – Cartesian coordinates along a transect
y (numpy.array) – Cartesian coordinates along a transect
z (numpy.array) – Cartesian coordinates along a transect
earth_radius (float) – The radius of the earth
- Returns
distance (numpy.array) – The distance along the transect