reVX.utilities.utilities.coordinate_distance

coordinate_distance(coords1, coords2)[source]

Compute the haversine distance between the two sets of coordinates. Results are in km

Parameters:
  • coords1 (ndarray) – First set of (lat, lon) coordinates

  • coords2 (ndarray) – Second set of (lat, lon) coordinates

Returns:

dist (ndarray) – Vector of haversine distances between coordinate set 1 and set 2 in km