satpy.tests.reader_tests.test_seviri_l1b_native module
Unittesting the Native SEVIRI reader.
- class satpy.tests.reader_tests.test_seviri_l1b_native.TestNativeMSGCalibration[source]
Bases:
TestFileHandlerCalibrationBase
Unit tests for calibration.
- class satpy.tests.reader_tests.test_seviri_l1b_native.TestNativeMSGDataset[source]
Bases:
object
Tests for getting the dataset.
- test_repeat_cycle_duration(file_handler)[source]
Test repeat cycle handling for FD or ReduscedScan.
- class satpy.tests.reader_tests.test_seviri_l1b_native.TestNativeMSGFileHandler(methodName='runTest')[source]
Bases:
TestCase
Test the NativeMSGFileHandler.
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- _classSetupFailed = False
- _class_cleanups = []
- class satpy.tests.reader_tests.test_seviri_l1b_native.TestNativeMSGFilenames[source]
Bases:
object
Test identification of Native format filenames.
- class satpy.tests.reader_tests.test_seviri_l1b_native.TestNativeMSGPadder(methodName='runTest')[source]
Bases:
TestCase
Test Padder of the native l1b seviri reader.
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- _classSetupFailed = False
- _class_cleanups = []
- satpy.tests.reader_tests.test_seviri_l1b_native.create_test_header(earth_model, dataset_id, is_full_disk, is_rapid_scan, good_qual='OK')[source]
Create test header for SEVIRI L1.5 product.
Header includes mandatory attributes for NativeMSGFileHandler.get_area_extent
- satpy.tests.reader_tests.test_seviri_l1b_native.create_test_trailer(is_rapid_scan)[source]
Create test trailer for SEVIRI L1.5 product.
Trailer includes mandatory attributes for NativeMSGFileHandler.get_area_extent
- satpy.tests.reader_tests.test_seviri_l1b_native.prepare_area_definitions(test_dict)[source]
Prepare calculated and expected area definitions for equal checking.
- satpy.tests.reader_tests.test_seviri_l1b_native.prepare_is_roi(test_dict)[source]
Prepare calculated and expected check for region of interest data for equal checking.
- satpy.tests.reader_tests.test_seviri_l1b_native.test_area_definitions(actual, expected)[source]
Test area definitions with only one area.
- satpy.tests.reader_tests.test_seviri_l1b_native.test_has_archive_header(starts_with, expected)[source]
Test if the file includes an ASCII archive header.
- satpy.tests.reader_tests.test_seviri_l1b_native.test_header_type(file_content, exp_header_size)[source]
Test identification of the file header type.
- satpy.tests.reader_tests.test_seviri_l1b_native.test_header_warning()[source]
Test warning is raised for NOK quality flag.
- satpy.tests.reader_tests.test_seviri_l1b_native.test_is_roi(actual, expected)[source]
Test if given area is of area-of-interest.