satpy.tests.reader_tests.test_generic_image module

Unittests for generic image reader.

class satpy.tests.reader_tests.test_generic_image.TestGenericImage(methodName='runTest')[source]

Bases: TestCase

Test generic image reader.

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 images to test on.

tearDown()[source]

Remove the temporary directory created for a test.

test_GenericImageFileHandler()[source]

Test direct use of the reader.

test_GenericImageFileHandler_datasetid()[source]

Test direct use of the reader.

test_GenericImageFileHandler_masking_only_integer()[source]

Test direct use of the reader.

test_GenericImageFileHandler_nodata()[source]

Test nodata handling with direct use of the reader.

test_geotiff_scene()[source]

Test reading TIFF images via satpy.Scene().

test_geotiff_scene_nan()[source]

Test reading TIFF images originally containing NaN values via satpy.Scene().

test_png_scene()[source]

Test reading PNG images via satpy.Scene().