satpy.tests.reader_tests.test_gerb_l2_hr_h5 module

Unit tests for GERB L2 HR HDF5 reader.

satpy.tests.reader_tests.test_gerb_l2_hr_h5.gerb_l2_hr_h5_dummy_file(tmp_path_factory)[source]

Create a dummy HDF5 file for the GERB L2 HR product.

satpy.tests.reader_tests.test_gerb_l2_hr_h5.make_h5_null_string(length)[source]

Make a HDF5 type for a NULL terminated string of fixed length.

satpy.tests.reader_tests.test_gerb_l2_hr_h5.test_dataset_load(gerb_l2_hr_h5_dummy_file, name)[source]

Test loading the solar flux component.

satpy.tests.reader_tests.test_gerb_l2_hr_h5.write_h5_null_string_att(loc_id, name, s)[source]

Write a NULL terminated string attribute at loc_id.