earthRadiusKm = 6371.0

def Dist(a, b):
    return abs(a - b) * earthRadiusKm
