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.

dnb(area)[source]

Return fake channel 1 data for DNB tests.

lza(area)[source]

Return fake lunal zenith angle dataset for DNB tests.

sza(area)[source]

Return fake sza dataset for DNB tests.

test_adaptive_dnb(dnb, sza)[source]

Test the ‘adaptive_dnb’ compositor.

test_erf_dnb(dnb_units, saturation_correction, area, sza, lza)[source]

Test the ‘dynamic_dnb’ or ERF DNB compositor.

test_histogram_dnb(dnb, sza)[source]

Test the ‘histogram_dnb’ compositor.

test_hncc_dnb(area, dnb, sza, lza)[source]

Test the ‘hncc_dnb’ compositor.

test_hncc_dnb_nomoonpha(area, dnb, sza, lza)[source]

Test the ‘hncc_dnb’ compositor when no moon phase data is provided.

test_load_composite_yaml()[source]

Test loading the yaml for this sensor.

test_snow_age(area)[source]

Test the ‘snow_age’ compositor.