satpy.tests.test_file_handlers module

test file handler baseclass.

class satpy.tests.test_file_handlers.TestBaseFileHandler(methodName='runTest')[source]

Bases: TestCase

Test the BaseFileHandler.

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 test.

test_combine_area(sdef)[source]

Combine area.

test_combine_orbital_parameters()[source]

Combine orbital parameters.

test_combine_orbits()[source]

Combine orbits.

test_combine_time_parameters()[source]

Combine times in ‘time_parameters.

test_combine_times()[source]

Combine times.

test_file_is_kept_intact()[source]

Test that the file object passed (string, path, or other) is kept intact.

satpy.tests.test_file_handlers.test_file_type_match(file_type, ds_file_type, exp_result)[source]

Test that file type matching uses exactly equality.

satpy.tests.test_file_handlers.test_open_dataset()[source]

Test xr.open_dataset wrapper.