satpy.tests.reader_tests.test_msi_safe module

Module for testing the satpy.readers.msi_safe module.

class satpy.tests.reader_tests.test_msi_safe.TestMTDXML[source]

Bases: object

Test the SAFE MTD XML file handler.

setup_method()[source]

Set up the test case.

test_old_xml_calibration()[source]

Test the calibration of older data formats (no offset).

test_satellite_zenith_array()[source]

Test reading the satellite zenith array.

test_xml_calibration()[source]

Test the calibration with radiometric offset.

test_xml_calibration_to_counts()[source]

Test the calibration to counts.

test_xml_calibration_to_radiance()[source]

Test the calibration with a different offset.

test_xml_calibration_unmasked_saturated()[source]

Test the calibration with radiometric offset but unmasked saturated pixels.

test_xml_calibration_with_different_offset()[source]

Test the calibration with a different offset.

test_xml_navigation()[source]

Test the navigation.

class satpy.tests.reader_tests.test_msi_safe.TestSAFEMSIL1C[source]

Bases: object

Test case for image reading (jp2k).

setup_method()[source]

Set up the test.

test_calibration_and_masking(mask_saturated, calibration, expected)[source]

Test that saturated is masked with inf when requested and that calibration is performed.