satpy.tests.multiscene_tests.test_save_animation module

Unit tests for saving animations using Multiscene.

class satpy.tests.multiscene_tests.test_save_animation.TestMultiSceneSave(methodName='runTest')[source]

Bases: TestCase

Test saving a MultiScene to various formats.

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]

Create temporary directory to save files to.

tearDown()[source]

Remove the temporary directory created for a test.

test_crop()[source]

Test the crop method.

test_save_datasets_distributed_delayed()[source]

Test distributed save for writers returning delayed obejcts e.g. simple_image.

test_save_datasets_distributed_source_target()[source]

Test distributed save for writers returning sources and targets e.g. geotiff writer.

test_save_datasets_simple()[source]

Save a series of fake scenes to an PNG images.

test_save_mp4_distributed()[source]

Save a series of fake scenes to an mp4 video.

test_save_mp4_no_distributed()[source]

Save a series of fake scenes to an mp4 video when distributed isn’t available.

satpy.tests.multiscene_tests.test_save_animation.test_save_mp4(smg, tmp_path)[source]

Save a series of fake scenes to an mp4 video.