satpy.tests.reader_tests.test_mersi2_l1b module

Tests for the ‘mersi2_l1b’ reader.

class satpy.tests.reader_tests.test_mersi2_l1b.FakeHDF5FileHandler2(filename, filename_info, filetype_info, **kwargs)[source]

Bases: FakeHDF5FileHandler

Swap-in HDF5 File Handler.

Get fake file content from ‘get_test_content’.

get_test_content(filename, filename_info, filetype_info)[source]

Mimic reader input file content.

make_test_data(dims)[source]

Make test data.

class satpy.tests.reader_tests.test_mersi2_l1b.TestMERSI2L1BReader(methodName='runTest')[source]

Bases: TestCase

Test MERSI2 L1B 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.

setUp()[source]

Wrap HDF5 file handler with our own fake handler.

tearDown()[source]

Stop wrapping the HDF5 file handler.

test_fy3d_1km_resolutions()[source]

Test loading data when only 1km resolutions are available.

test_fy3d_250_resolutions()[source]

Test loading data when only 250m resolutions are available.

test_fy3d_all_resolutions()[source]

Test loading data when all resolutions are available.

test_fy3d_counts_calib()[source]

Test loading data at counts calibration.

test_fy3d_rad_calib()[source]

Test loading data at radiance calibration.

yaml_file = 'mersi2_l1b.yaml'