def METHOD_NAME():
    mag = m._earth_magnitude(0.983331936476, 1.41317594650699, 8.7897)
    assert abs(-3.269 - mag) < 0.0005
    mag = m._earth_magnitude(0.983356079811, 0.26526856764726, 4.1369)
    assert abs(-6.909 - mag) < 0.0005
    mag = m._earth_magnitude(0.983356467727, 0.62933287342927, 175.6869)
    assert abs(1.122 - mag) < 0.0005
    args = [
        A[0.983331936476, 0.983356079811, 0.983356467727],
        A[1.41317594650699, 0.26526856764726, 0.62933287342927],
        A[8.7897, 4.1369, 175.6869],
    ]
    magnitudes = m._earth_magnitude(*args)
    expected = [-3.269, -6.909, 1.122]
    np.allclose(magnitudes, expected, 0, 0.0005, equal_nan=True)