satpy.tests.compositor_tests.test_spectral module

Tests for spectral correction compositors.

class satpy.tests.compositor_tests.test_spectral.TestSpectralComposites[source]

Bases: object

Test composites for spectral channel corrections.

setup_method()[source]

Initialize channels.

test_bad_lengths()[source]

Test that error is raised if the amount of channels to blend does not match the number of weights.

test_green_corrector()[source]

Test the deprecated class for green corrections.

test_hybrid_green()[source]

Test hybrid green correction of the ‘green’ band.

test_ndvi_hybrid_green()[source]

Test NDVI-scaled hybrid green correction of ‘green’ band.

test_spectral_blender()[source]

Test the base class for spectral blending of channels.