satpy.tests.multiscene_tests.test_misc module

Unit tests for the Multiscene object.

class satpy.tests.multiscene_tests.test_misc.TestMultiScene(methodName='runTest')[source]

Bases: TestCase

Test basic functionality of MultiScene.

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

Test creating a multiscene from multiple files.

test_init_children()[source]

Test creating a multiscene with children.

test_init_empty()[source]

Test creating a multiscene with no children.

test_properties()[source]

Test basic properties/attributes of the MultiScene.

class satpy.tests.multiscene_tests.test_misc.TestMultiSceneGrouping[source]

Bases: object

Test dataset grouping in MultiScene.

groups()[source]

Get group definitions for the MultiScene.

multi_scene(scene1, scene2)[source]

Create small multi scene for testing.

scene1()[source]

Create first test scene.

scene2()[source]

Create second test scene.

test_fails_to_add_multiple_datasets_from_the_same_scene_to_a_group(multi_scene)[source]

Test that multiple datasets from the same scene in one group fails.

test_multi_scene_grouping(multi_scene, groups, scene1)[source]

Test grouping a MultiScene.