satpy.tests.reader_tests.test_hy2_scat_l2b_h5 module

Module for testing the satpy.readers.hy2_scat_l2b_h5 module.

class satpy.tests.reader_tests.test_hy2_scat_l2b_h5.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_hy2_scat_l2b_h5.TestHY2SCATL2BH5Reader(methodName='runTest')[source]

Bases: TestCase

Test HY2 Scatterometer L2B H5 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_load_data_all_ambiguities()[source]

Test loading data.

test_load_data_row_times()[source]

Test loading data.

test_load_data_selection()[source]

Test loading data.

test_load_geo()[source]

Test loading data.

test_load_geo_nsoas()[source]

Test loading data from nsoas file.

test_reading_attrs()[source]

Test loading data.

test_reading_attrs_nsoas()[source]

Test loading data.

yaml_file = 'hy2_scat_l2b_h5.yaml'