pyguymer3.geo.find_point_on_great_circle

pyguymer3.geo.find_point_on_great_circle(frac, lon1_deg, lat1_deg, lon2_deg, lat2_deg, /)[source]

Calculate an arbitrary point on the great circle that connects two coordinates.

This function reads in two coordinates (in degrees) on the surface of the Earth and calculates an arbitrary point on the great circle that connects them, correctly handling crossing over the anti-meridian (should it occur).

Parameters:
  • frac (float) – the location of the arbitrary point on the great circle from the first coordinate to the second coordinate

  • lon1 (float) – the longitude of the first coordinate (in degrees)

  • lat1 (float) – the latitude of the first coordinate (in degrees)

  • lon2 (float) – the longitude of the second coordinate (in degrees)

  • lat2 (float) – the latitude of the second coordinate (in degrees)

Returns:

  • lon3 (float) – the longitude of the arbitrary point on the great circle (in degrees)

  • lat3 (float) – the latitude of the arbitrary point on the great circle (in degrees)

Notes

Copyright 2017 Thomas Guymer [1]

References