Пример #1
0
def test_theta_is_55():
    se = amsr2(channel='37V')
    eq_(se.theta, 0.95993108859688125)
Пример #2
0
def test_map_channel07_to_dictionary():
    # Test to ensure channel frequency of 37V is assigned 36.5GHz frequency and polarization V
    se = amsr2(channel='07V')
    assert se.frequency == 7.3e9
    assert se.polarization == ['V']
Пример #3
0
def test_amsre_channel_recognized():
    # This tests that system error is raised if the AMSR-E channel is not in the dictionary list
    se = amsr2(channel='20H')
Пример #4
0
def test_map_channel06_to_dictionary():
    # Test to ensure channel frequency of 19H is assigned 18.7GHz frequency and polarization H
    se = amsr2(channel='06H')
    assert se.frequency == 6.925e9
    assert se.polarization == ['H']
Пример #5
0
def test_theta_is_55():
    se = amsr2(channel='37V')
    assert se.theta == 0.95993108859688125