satpy.tests.reader_tests.test_fci_l2_nc module
The fci_cld_l2_nc reader tests package.
- class satpy.tests.reader_tests.test_fci_l2_nc.TestFciL2NCFileHandler(methodName='runTest')[source]
Bases:
TestCase
Test the FciL2NCFileHandler 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.
- test_dataset()[source]
Test the correct execution of the get_dataset function with a valid file_key.
- test_dataset_with_invalid_filekey()[source]
Test the correct execution of the get_dataset function with an invalid file_key.
- test_dataset_with_layer()[source]
Check the correct execution of the get_dataset function with a valid file_key & layer.
- class satpy.tests.reader_tests.test_fci_l2_nc.TestFciL2NCReadingByteData(methodName='runTest')[source]
Bases:
TestCase
Test the FciL2NCFileHandler when reading and extracting byte data.
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.
- class satpy.tests.reader_tests.test_fci_l2_nc.TestFciL2NCSegmentFileHandler(methodName='runTest')[source]
Bases:
TestCase
Test the FciL2NCSegmentFileHandler 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.
- test_dataset_slicing_catid()[source]
Test the correct execution of the _slice_dataset function with ‘category_id’ set.
- test_dataset_slicing_chid_catid()[source]
Test the correct execution of the _slice_dataset function with ‘channel_id’ and ‘category_id’ set.
- test_dataset_slicing_irid()[source]
Test the correct execution of the _slice_dataset function with ‘ir_channel_id’ set.
- test_dataset_slicing_visid_catid()[source]
Test the correct execution of the _slice_dataset function with ‘vis_channel_id’ and ‘category_id’ set.
- test_dataset_with_adef()[source]
Test the correct execution of the get_dataset function with with_area_definition=True.
- test_dataset_with_adef_and_wrongs_dims()[source]
Test the correct execution of the get_dataset function with dims that don’t match expected AreaDefinition.