satpy.tests.reader_tests.test_gpm_imerg module

Unittests for GPM IMERG reader.

class satpy.tests.reader_tests.test_gpm_imerg.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.

class satpy.tests.reader_tests.test_gpm_imerg.TestHdf5IMERG(methodName='runTest')[source]

Bases: TestCase

Test the GPM IMERG 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.


Wrap HDF5 file handler with our own fake handler.


Stop wrapping the HDF5 file handler.


Test loading data.

yaml_file = 'gpm_imerg.yaml'