satpy.tests.compositor_tests.test_viirs module

Tests for VIIRS compositors.

class satpy.tests.compositor_tests.test_viirs.TestVIIRSComposites[source]

Bases: object

Test various VIIRS-specific composites.

area()[source]

Return fake area for use with DNB tests.

c01(area)[source]

Return fake channel 1 data for DNB tests.

c02(area)[source]

Return fake sza dataset for DNB tests.

c03(area)[source]

Return fake lunal zenith angle dataset for DNB tests.

test_adaptive_dnb(c01, c02)[source]

Test the ‘adaptive_dnb’ compositor.

test_erf_dnb(dnb_units, saturation_correction, area, c02, c03)[source]

Test the ‘dynamic_dnb’ or ERF DNB compositor.

test_histogram_dnb(c01, c02)[source]

Test the ‘histogram_dnb’ compositor.

test_hncc_dnb(area, c01, c02, c03)[source]

Test the ‘hncc_dnb’ compositor.

test_load_composite_yaml()[source]

Test loading the yaml for this sensor.

test_snow_age(area)[source]

Test the ‘snow_age’ compositor.