satpy.tests.reader_tests.test_omps_edr module

Module for testing the satpy.readers.omps_edr module.

class satpy.tests.reader_tests.test_omps_edr.FakeHDF5FileHandler2(filename, filename_info, filetype_info, **kwargs)[source]

Bases: FakeHDF5FileHandler

Swap-in HDF5 File Handler.

Get fake file content from ‘get_test_content’.

get_test_content(filename, filename_info, filetype_info)[source]

Mimic reader input file content.

class satpy.tests.reader_tests.test_omps_edr.TestOMPSEDRReader(methodName='runTest')[source]

Bases: TestCase

Test OMPS EDR 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.


Wrap HDF5 file handler with our own fake handler.


Stop wrapping the NetCDF4 file handler.


Test basic load of so2 datasets.


Test basic load of to3 datasets.


Test basic init with no extra parameters.

test_load_so2_DIMENSION_LIST(mock_h5py_file, mock_hdf5_utils_get_reference)[source]

Test load of so2 datasets with DIMENSION_LIST.

yaml_file = 'omps_edr.yaml'