satpy.tests.enhancement_tests.test_enhancements module
Unit testing the enhancements functions, e.g. cira_stretch.
- class satpy.tests.enhancement_tests.test_enhancements.TestColormapLoading(methodName='runTest')[source]
Bases:
unittest.case.TestCase
Test utilities used with colormaps.
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.
- test_cmap_from_file_rgb_1()[source]
Test that colormaps can be loaded from a binary file with 0-1 colors.
- class satpy.tests.enhancement_tests.test_enhancements.TestEnhancementStretch(methodName='runTest')[source]
Bases:
unittest.case.TestCase
Class for testing enhancements in satpy.enhancements.
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.