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

Wrap HDF4 file handler with our own fake handler.

tearDown()[source]

Stop wrapping the NetCDF4 file handler.

test_init()[source]

Test basic init with no extra parameters.

test_load_all_new_donor()[source]

Test loading all test datasets with new donor.

test_load_all_old_donor()[source]

Test loading all test datasets with old donor.

test_no_nav_donor()[source]

Test exception raised when no donor file is available.

yaml_file = 'clavrx.yaml'