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.
- class satpy.tests.reader_tests.test_msi_safe.TestSAFEMSIL1C[source]
Bases:
object
Test case for image reading (jp2k).
- test_calibration_and_masking(mask_saturated, dataset_name, calibration, expected)[source]
Test that saturated is masked with inf when requested and that calibration is performed.
- class satpy.tests.reader_tests.test_msi_safe.TestTileXML[source]
Bases:
object
Test the SAFE TILE XML file handler.
Since L1C/L2A share almost the same Tile XML structure, we only use L1C Tile here.
Test the navigation.
- satpy.tests.reader_tests.test_msi_safe.jp2_builder(process_level, band_name, mask_saturated=True)[source]
Build fake SAFE jp2 image file.