satpy.tests.test_dependency_tree module
Unit tests for the dependency tree class and dependencies.
- class satpy.tests.test_dependency_tree.TestDependencyTree(methodName='runTest')[source]
Bases:
TestCase
Test the dependency tree.
This is what we are working with:
None (No Data) +DataID(name='comp19') + +DataID(name='ds5', resolution=250, modifiers=('res_change',)) + + +DataID(name='ds5', resolution=250, modifiers=()) + + +__EMPTY_LEAF_SENTINEL__ (No Data) + +DataID(name='comp13') + + +DataID(name='ds5', resolution=250, modifiers=('res_change',)) + + + +DataID(name='ds5', resolution=250, modifiers=()) + + + +__EMPTY_LEAF_SENTINEL__ (No Data) + +DataID(name='ds2', resolution=250, calibration=<calibration.reflectance>, modifiers=())
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.
- class satpy.tests.test_dependency_tree.TestMissingDependencies(methodName='runTest')[source]
Bases:
TestCase
Test the MissingDependencies exception.
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.
- class satpy.tests.test_dependency_tree.TestMultipleResolutionSameChannelDependency(methodName='runTest')[source]
Bases:
TestCase
Test that MODIS situations where the same channel is available at multiple resolution works.
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.
- class satpy.tests.test_dependency_tree.TestMultipleSensors(methodName='runTest')[source]
Bases:
TestCase
Test cases where multiple sensors are available.
This is what we are working with:
None (No Data) +DataID(name='comp19') + +DataID(name='ds5', resolution=250, modifiers=('res_change',)) + + +DataID(name='ds5', resolution=250, modifiers=()) + + +__EMPTY_LEAF_SENTINEL__ (No Data) + +DataID(name='comp13') + + +DataID(name='ds5', resolution=250, modifiers=('res_change',)) + + + +DataID(name='ds5', resolution=250, modifiers=()) + + + +__EMPTY_LEAF_SENTINEL__ (No Data) + +DataID(name='ds2', resolution=250, calibration=<calibration.reflectance>, modifiers=())
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.