satpy.tests.reader_tests.test_eps_l1b module

Test the eps l1b format.

class satpy.tests.reader_tests.test_eps_l1b.BaseTestCaseEPSL1B(methodName='runTest')[source]

Bases: TestCase

Base class for EPS l1b test case.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

_classSetupFailed = False
_class_cleanups = []
_create_structure()[source]
class satpy.tests.reader_tests.test_eps_l1b.TestEPSL1B(methodName='runTest')[source]

Bases: BaseTestCaseEPSL1B

Test the filehandler.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

_classSetupFailed = False
_class_cleanups = []
setUp()[source]

Set up the tests.

test_angles()[source]

Test the navigation.

test_clould_flags()[source]

Test getting the cloud flags.

test_dataset()[source]

Test getting a dataset.

test_get_dataset_radiance()[source]

Test loading a data array with radiance calibration.

test_get_full_angles_twice(mock__getitem__)[source]

Test get full angles twice.

test_navigation()[source]

Test the navigation.

test_read_all()[source]

Test initialization.

class satpy.tests.reader_tests.test_eps_l1b.TestWrongSamplingEPSL1B(methodName='runTest')[source]

Bases: BaseTestCaseEPSL1B

Test the filehandler on a corrupt file.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

_classSetupFailed = False
_class_cleanups = []
_inject_fixtures(caplog)[source]

Inject caplog.

setUp()[source]

Set up the tests.

test_get_dataset_fails_because_of_wrong_sample_rate()[source]

Test that lons fail to be interpolate.

class satpy.tests.reader_tests.test_eps_l1b.TestWrongScanlinesEPSL1B(methodName='runTest')[source]

Bases: BaseTestCaseEPSL1B

Test the filehandler on a corrupt file.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

_classSetupFailed = False
_class_cleanups = []
_inject_fixtures(caplog)[source]

Inject caplog.

setUp()[source]

Set up the tests.

tearDown()[source]

Tear down the tests.

test_get_dataset_longitude_shape_is_right()[source]

Test that the shape of longitude is 1080.

test_read_all_assigns_int_scan_lines()[source]

Test scanline assignment.

test_read_all_return_right_number_of_scan_lines()[source]

Test scanline assignment.

test_read_all_warns_about_scan_lines()[source]

Test scanline assignment.

satpy.tests.reader_tests.test_eps_l1b.create_sections(structure)[source]

Create file sections.