satpy.testing module
Testing helpers for satpy.
- satpy.testing.fake_satpy_reading(scene_dict)[source]
Fake the satpy reading and populate the returned scene with the contents of scene_dict.
This allows users to test their programs that use satpy without actually needing to read files, eg:
scene_dict = {channel: somedata} with fake_satpy_reading(scene_dict): scene = Scene(input_files, reader="dummy_reader") scene.load([channel])