haversine

cosipy.modules.radCor.haversine(lat1, lon1, lat2, lon2)[source]

Get the distance between two points using the haversine formula.

Parameters:
  • lat1 (float)

  • lon1 (float)

  • lat2 (float)

  • lon2 (float)

Return type:

float