satpy.tests.test_dataset module
Test objects and functions in the dataset module.
- class satpy.tests.test_dataset.TestCombineMetadata(methodName='runTest')[source]
Bases:
TestCase
Test how metadata is combined.
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.
- _classSetupFailed = False
- _class_cleanups = []
- test_combine_end_times_with_none()[source]
Test the combine_metadata with end times when there’s a None included.
- test_combine_lists_same_size_diff_values()[source]
Test combine metadata with lists with different values.
- class satpy.tests.test_dataset.TestDataID(methodName='runTest')[source]
Bases:
TestCase
Test DataID object creation and other methods.
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.
- _classSetupFailed = False
- _class_cleanups = []
- class satpy.tests.test_dataset.TestIDQueryInteractions(methodName='runTest')[source]
Bases:
TestCase
Test the interactions between DataIDs and DataQuerys.
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.
- _classSetupFailed = False
- _class_cleanups = []
- satpy.tests.test_dataset.test_combine_dicts_close()[source]
Test combination of dictionaries whose values are close.
- satpy.tests.test_dataset.test_combine_dicts_different(test_mda)[source]
Test combination of dictionaries differing in various ways.
- satpy.tests.test_dataset.test_dataid_elements_picklable()[source]
Test individual elements of DataID can be pickled.
In some cases, like in the base reader classes, the elements of a DataID are extracted and stored in a separate dictionary. This means that the internal/fancy pickle handling of DataID does not play a part.
- satpy.tests.test_dataset.test_dataid_equal_if_enums_different()[source]
Check that dataids with different enums but same items are equal.
- satpy.tests.test_dataset.test_frequency_double_side_band_channel_containment()[source]
Test the frequency double side band object: check if one band contains another.
- satpy.tests.test_dataset.test_frequency_double_side_band_channel_distances()[source]
Test the frequency double side band object: get the distance between two bands.
- satpy.tests.test_dataset.test_frequency_double_side_band_channel_equality()[source]
Test the frequency double side band object: check if two bands are ‘equal’.
- satpy.tests.test_dataset.test_frequency_double_side_band_channel_str()[source]
Test the frequency double side band object: test the band description.
- satpy.tests.test_dataset.test_frequency_double_side_band_class_method_convert()[source]
Test the frequency double side band object: test the class method convert.
- satpy.tests.test_dataset.test_frequency_quadruple_side_band_channel_containment()[source]
Test the frequency quadruple side band object: check if one band contains another.
- satpy.tests.test_dataset.test_frequency_quadruple_side_band_channel_distances()[source]
Test the frequency quadruple side band object: get the distance between two bands.
- satpy.tests.test_dataset.test_frequency_quadruple_side_band_channel_equality()[source]
Test the frequency quadruple side band object: check if two bands are ‘equal’.
- satpy.tests.test_dataset.test_frequency_quadruple_side_band_channel_str()[source]
Test the frequency quadruple side band object: test the band description.
- satpy.tests.test_dataset.test_frequency_quadruple_side_band_class_method_convert()[source]
Test the frequency double side band object: test the class method convert.
- satpy.tests.test_dataset.test_frequency_range_channel_containment()[source]
Test the frequency range object: channel containment.
- satpy.tests.test_dataset.test_frequency_range_channel_distances()[source]
Test the frequency range object: derive distances between bands.
- satpy.tests.test_dataset.test_frequency_range_channel_equality()[source]
Test the frequency range object: check if two bands are ‘equal’.
- satpy.tests.test_dataset.test_frequency_range_class_method_convert()[source]
Test the frequency range object: test the class method convert.