satpy.tests.reader_tests.utils module
Utilities for reader tests.
- satpy.tests.reader_tests.utils.default_attr_processor(root, attr)[source]
Do not change the attribute.
- satpy.tests.reader_tests.utils.fill_h5(root, contents, attr_processor=<function default_attr_processor>)[source]
Fill hdf5 file with the given contents.
- Parameters:
root – hdf5 file rott
contents – Contents to be written into the file
attr_processor – A method for modifying attributes before they are written to the file.