Open rajeeja opened 3 weeks ago
@philipc2 this is closest: https://github.com/UXARRAY/uxarray/blob/main/uxarray/grid/neighbors.py#L870
since it's a great circle arc on a unit sphere, the "distance" is the angle between the two endpoints, which can be easily be calculated using def _angle_of_2_vectors(u, v):
Proposed new feature or change:
Add a function to get the distance between two points on a shpere.
I was hoping this is already implemented, but couldn't find it. Is it there? @hongyuchen1030