pyguymer3.geo.find_middle_of_great_circle¶
- pyguymer3.geo.find_middle_of_great_circle(lon1_deg, lat1_deg, lon2_deg, lat2_deg, /)[source]¶
Calculate the middle of the great circle that connects two coordinates.
This function reads in two coordinates (in degrees) on the surface of the Earth and calculates the middle of the great circle that connects them, correctly handling crossing over the anti-meridian (should it occur).
- Parameters:
- Returns:
lon3 (float) – the longitude of the middle of the great circle (in degrees)
lat3 (float) – the latitude of the middle of the great circle (in degrees)
Notes
Copyright 2017 Thomas Guymer [1]
References