satpy.tests.reader_tests.test_virr_l1b module

Test for readers/virr_l1b.py.

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

Bases: FakeHDF5FileHandler

Swap-in HDF5 File Handler.

Get fake file content from ‘get_test_content’.

_make_file(platform_id, geolocation_prefix, l1b_prefix, ECWN, Emissive_units)[source]
get_test_content(filename, filename_info, filetype_info)[source]

Mimic reader input file content.

make_test_data(dims)[source]

Create fake test data.

class satpy.tests.reader_tests.test_virr_l1b.TestVIRRL1BReader(methodName='runTest')[source]

Bases: TestCase

Test VIRR 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.

_band_helper(attributes, units, calibration, standard_name, file_type, band_index_size, resolution)[source]
_classSetupFailed = False
_class_cleanups = []
_fy3_helper(platform_name, reader, Emissive_units)[source]

Load channels and test accurate metadata.

setUp()[source]

Wrap HDF5 file handler with our own fake handler.

tearDown()[source]

Stop wrapping the HDF5 file handler.

test_fy3b_file()[source]

Test that FY3B files are recognized.

test_fy3c_file()[source]

Test that FY3C files are recognized.

yaml_file = 'virr_l1b.yaml'