satpy.tests.reader_tests.test_mersi_l1b module
Tests for the ‘mersi2_l1b’ reader.
- class satpy.tests.reader_tests.test_mersi_l1b.FakeHDF5FileHandler2(filename, filename_info, filetype_info, **kwargs)[source]
Bases:
FakeHDF5FileHandler
Swap-in HDF5 File Handler.
Get fake file content from ‘get_test_content’.
- property _geo_prefix_for_file_type
- property _num_cols_for_file_type
- property _rows_per_scan
- num_cols = 2048
- num_scans = 2
- class satpy.tests.reader_tests.test_mersi_l1b.MERSI12llL1BTester[source]
Bases:
MERSIL1BTester
Test MERSI1/2/LL L1B Reader.
- test_all_resolutions()[source]
Test loading data when all resolutions or specific one are available.
- class satpy.tests.reader_tests.test_mersi_l1b.MERSIL1BTester[source]
Bases:
object
Test MERSI1/2/LL/RM L1B Reader.
- class satpy.tests.reader_tests.test_mersi_l1b.TestFY3AMERSI1L1B[source]
Bases:
MERSI12llL1BTester
Test the FY3A MERSI1 L1B reader.
- class satpy.tests.reader_tests.test_mersi_l1b.TestFY3BMERSI1L1B[source]
Bases:
MERSI12llL1BTester
Test the FY3B MERSI1 L1B reader.
- filenames_250m: list = ['FY3B_MERSI_GBAL_L1_20110824_1850_0250M_MS.hdf', 'FY3B_MERSI_GBAL_L1_20110824_1850_GEOXX_MS.hdf']
- class satpy.tests.reader_tests.test_mersi_l1b.TestFY3CMERSI1L1B[source]
Bases:
MERSI12llL1BTester
Test the FY3C MERSI1 L1B reader.
- filenames_1000m: list = ['FY3C_MERSI_GBAL_L1_20131002_1835_1000M_MS.hdf', 'FY3C_MERSI_GBAL_L1_20131002_1835_GEO1K_MS.hdf']
- filenames_250m: list = ['FY3C_MERSI_GBAL_L1_20131002_1835_0250M_MS.hdf', 'FY3C_MERSI_GBAL_L1_20131002_1835_GEOQK_MS.hdf']
- class satpy.tests.reader_tests.test_mersi_l1b.TestFY3DMERSI2L1B[source]
Bases:
MERSI12llL1BTester
Test the FY3D MERSI2 L1B reader.
- filenames_1000m: list = ['tf2019071182739.FY3D-X_MERSI_1000M_L1B.HDF', 'tf2019071182739.FY3D-X_MERSI_GEO1K_L1B.HDF']
- filenames_250m: list = ['tf2019071182739.FY3D-X_MERSI_0250M_L1B.HDF', 'tf2019071182739.FY3D-X_MERSI_GEOQK_L1B.HDF']
- class satpy.tests.reader_tests.test_mersi_l1b.TestFY3EMERSIllL1B[source]
Bases:
MERSI12llL1BTester
Test the FY3D MERSI2 L1B reader.
- filenames_1000m: list = ['FY3E_MERSI_GRAN_L1_20230410_1910_1000M_V0.HDF', 'FY3E_MERSI_GRAN_L1_20230410_1910_GEO1K_V0.HDF']
- filenames_250m: list = ['FY3E_MERSI_GRAN_L1_20230410_1910_0250M_V0.HDF', 'FY3E_MERSI_GRAN_L1_20230410_1910_GEOQK_V0.HDF']
- class satpy.tests.reader_tests.test_mersi_l1b.TestMERSIRML1B[source]
Bases:
MERSIL1BTester
Test the FY3E MERSI-RM L1B reader.
- filenames_500m = ['FY3G_MERSI_GRAN_L1_20230410_1910_0500M_V1.HDF', 'FY3G_MERSI_GRAN_L1_20230410_1910_GEOHK_V1.HDF']
- yaml_file = 'mersi_rm_l1b.yaml'
- satpy.tests.reader_tests.test_mersi_l1b._assert_bands_mda_as_exp(res, band_list, exp_result)[source]
Remove test code duplication.
- satpy.tests.reader_tests.test_mersi_l1b._get_1km_data(num_scans, rows_per_scan, num_cols, filetype_info)[source]
- satpy.tests.reader_tests.test_mersi_l1b._get_250m_data(num_scans, rows_per_scan, num_cols, filetype_info)[source]
- satpy.tests.reader_tests.test_mersi_l1b._get_250m_ll_data(num_scans, rows_per_scan, num_cols)[source]
- satpy.tests.reader_tests.test_mersi_l1b._get_geo_data(num_scans, rows_per_scan, num_cols, prefix)[source]
- satpy.tests.reader_tests.test_mersi_l1b._test_find_files_and_readers(reader_config, filenames)[source]
Test file and reader search.