Does anyone know of a python equivalent to calculating great circle distances between two locations given lat/lon values? I used to use an NCL function (https://www.ncl.ucar.edu/Document/Functions/Built-in/gc_latlon.shtml) and then loop through all points on the CESM grid. So I'm looking to do some distance calculations between a location and all grid points recursively.
geopy's great_circle
distance should do the trick.
There are some other suggestions in this thread as well that should work.
Thanks, Katelyn. I'll look into that. :)
Last updated: May 16 2025 at 17:14 UTC