satpy.tests.reader_tests.test_iasi_l2 module

Unit tests for IASI L2 reader.

class satpy.tests.reader_tests.test_iasi_l2.TestIasiL2(methodName='runTest')[source]

Bases: TestCase

Test IASI L2 reader.

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 = []
check_emissivity(emis)[source]

Test reading emissivity dataset.

Helper function.

check_pressure(pres, attrs=None)[source]

Test reading pressure dataset.

Helper function.

check_sensing_times(times)[source]

Test reading sensing times.

Helper function.

setUp()[source]

Create temporary data to test on.

tearDown()[source]

Remove the temporary directory created for a test.

test_form_datetimes()[source]

Test _form_datetimes() function.

test_get_dataset()[source]

Test get_dataset() for different datasets.

test_init()[source]

Test reader initialization.

test_read_dataset()[source]

Test read_dataset() function.

test_read_geo()[source]

Test read_geo() function.

test_scene()[source]

Test scene creation.

test_scene_load_available_datasets()[source]

Test that all datasets are available.

test_scene_load_emissivity()[source]

Test loading emissivity data.

test_scene_load_pressure()[source]

Test loading pressure data.

test_scene_load_sensing_times()[source]

Test loading sensing times.

test_time_properties()[source]

Test time properties.

satpy.tests.reader_tests.test_iasi_l2.fake_iasi_l2_cdr_nc_dataset()[source]

Create minimally fake IASI L2 CDR NC dataset.

satpy.tests.reader_tests.test_iasi_l2.fake_iasi_l2_cdr_nc_file(fake_iasi_l2_cdr_nc_dataset, tmp_path)[source]

Write a NetCDF file with minimal fake IASI L2 CDR NC data.

satpy.tests.reader_tests.test_iasi_l2.save_test_data(path)[source]

Save the test to the indicated directory.

satpy.tests.reader_tests.test_iasi_l2.test_iasi_l2_cdr_nc(fake_iasi_l2_cdr_nc_file)[source]

Test the IASI L2 CDR NC reader.