Ejemplo n.º 1
0
def test_solar_north():
    assert_quantity_allclose(sun.solar_north("2012/11/11"),
                             22.346 * u.deg,
                             atol=1e-3 * u.deg)
    assert_quantity_allclose(sun.solar_north("2019/10/10"),
                             26.260 * u.deg,
                             atol=1e-3 * u.deg)
    assert_quantity_allclose(sun.solar_north("2542/02/20"),
                             -17.981 * u.deg,
                             atol=1e-3 * u.deg)
Ejemplo n.º 2
0
def test_solar_north():
    assert_quantity_allclose(sun.solar_north("2012/11/11"),
                             15.149 * u.deg,
                             atol=1e-3 * u.deg)
    assert_quantity_allclose(sun.solar_north("2019/10/10"),
                             -1.693 * u.deg,
                             atol=1e-3 * u.deg)
    assert_quantity_allclose(sun.solar_north("2542/02/20"),
                             41.351 * u.deg,
                             atol=1e-3 * u.deg)
Ejemplo n.º 3
0
def test_solar_north():
    assert_array_almost_equal(sun.solar_north("2012/11/11"), 15.149 * u.deg, decimal=3)
    assert_array_almost_equal(sun.solar_north("2019/10/10"), -1.693 * u.deg, decimal=3)
    assert_array_almost_equal(sun.solar_north("2542/02/20"), 41.351 * u.deg, decimal=3)
Ejemplo n.º 4
0
def test_solar_north():
    assert_quantity_allclose(sun.solar_north("2012/11/11"), 22.346 * u.deg, atol=1e-3 * u.deg)
    assert_quantity_allclose(sun.solar_north("2019/10/10"), 26.260 * u.deg, atol=1e-3 * u.deg)
    assert_quantity_allclose(sun.solar_north("2542/02/20"), -17.981 * u.deg, atol=1e-3 * u.deg)
Ejemplo n.º 5
0
def test_solar_north():
    assert_quantity_allclose(sun.solar_north("2012/11/11"), 15.149 * u.deg, atol=1e-3 * u.deg)
    assert_quantity_allclose(sun.solar_north("2019/10/10"), -1.693 * u.deg, atol=1e-3 * u.deg)
    assert_quantity_allclose(sun.solar_north("2542/02/20"), 41.351 * u.deg, atol=1e-3 * u.deg)