Utilities for reader tests.
- satpy.tests.reader_tests.utils.default_attr_processor(root, attr)
Do not change the attribute.
- satpy.tests.reader_tests.utils.fill_h5(root, contents, attr_processor=<function default_attr_processor>)
Fill hdf5 file with the given contents.
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.
Get all jit-compiled methods in a module.
Determine if numba-based tests should be skipped during unstable CI tests.
If numba fails to import it could be because numba is not compatible with a newer version of numpy. This is very likely to happen in the unstable/experimental CI environment. This function returns
Trueif numba-based tests should be skipped if
numbacould not be imported and we’re in the unstable environment. We determine if we’re in this CI environment by looking for the