acdc.database.saa_distance.Haversine

Haversine(lat1, lon1, lat2, lon2)[source]

Calculate the Great Circle distance on Earth between two latitude-longitude points :param lat1: Latitude of Point 1 in degrees :type lat1: float :param lon1: Longtiude of Point 1 in degrees :type lon1: float :param lat2: Latitude of Point 2 in degrees :type lat2: float :param lon2: Longtiude of Point 2 in degrees :type lon2: float

Returns:

float – Distance between the two points in kilometres