satpy.tests.reader_tests.test_mws_l1b_nc module
The mws_l1b_nc reader tests.
This module tests the reading of the MWS l1b netCDF format data as per version v4B issued 22 November 2021.
- class satpy.tests.reader_tests.test_mws_l1b_nc.MWSL1BFakeFileWriter(file_path)[source]
Bases:
object
Writer class of fake mws level-1b data.
Init.
- class satpy.tests.reader_tests.test_mws_l1b_nc.TestMwsL1bNCFileHandler[source]
Bases:
object
Test the MWSL1BFile reader.
- test_get_dataset_aux_data_expected_data_missing(caplog, reader)[source]
Test get auxillary dataset which is not present but supposed to be in file.
- test_get_dataset_logs_debug_message(caplog, fake_file, reader)[source]
Test get dataset return none if data does not exist.
- test_get_dataset_return_none_if_data_not_exist(reader)[source]
Test get dataset return none if data does not exist.
Test get the longitudes.
- test_sub_satellite_latitude_end(reader)[source]
Test getting the latitude of sub-satellite point at end of the product.
- test_sub_satellite_latitude_start(reader)[source]
Test getting the latitude of sub-satellite point at start of the product.
- satpy.tests.reader_tests.test_mws_l1b_nc.fake_file(tmp_path)[source]
Return file path to level-1b file.
- satpy.tests.reader_tests.test_mws_l1b_nc.reader(fake_file)[source]
Return reader of mws level-1b data.