satpy.tests.reader_tests.test_clavrx.test_clavrx_geohdf module

Module for testing the satpy.readers.clavrx module.

class satpy.tests.reader_tests.test_clavrx.test_clavrx_geohdf.FakeHDF4FileHandlerGeo(filename, filename_info, filetype_info, **kwargs)[source]

Bases: FakeHDF4FileHandler

Swap-in HDF4 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_clavrx.test_clavrx_geohdf.TestCLAVRXReaderGeo(methodName='runTest')[source]

Bases: TestCase

Test CLAVR-X Reader with Geo files.

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 = []

Wrap HDF4 file handler with our own fake handler.


Stop wrapping the NetCDF4 file handler.


Test basic init with no extra parameters.


Test loading all test datasets with new donor.


Test loading all test datasets with old donor.


Test exception raised when no donor file is available.

yaml_file = 'clavrx.yaml'