mpas_tools.viz.transects.cartesian_to_great_circle_distance¶
-
mpas_tools.viz.transects.
cartesian_to_great_circle_distance
(x, y, z, earth_radius)[source]¶ Cartesian transect points to great-circle distance
- Parameters
x, y, 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