satpy.tests.test_demo module
Tests for the satpy.demo module.
- class satpy.tests.test_demo.TestAHIDemoDownload[source]
Bases:
object
Test the AHI demo data download.
- class satpy.tests.test_demo.TestDemo(methodName='runTest')[source]
Bases:
TestCase
Test demo data download functions.
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_demo.TestGCPUtils(methodName='runTest')[source]
Bases:
TestCase
Test Google Cloud Platform utilities.
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_demo.TestSEVIRIHRITDemoDownload(methodName='runTest')[source]
Bases:
TestCase
Test case for downloading an hrit tarball.
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_demo.TestVIIRSSDRDemoDownload[source]
Bases:
object
Test VIIRS SDR downloading.
- ALL_BAND_PREFIXES = ('SVI01', 'SVI02', 'SVI03', 'SVI04', 'SVI05', 'SVM01', 'SVM02', 'SVM03', 'SVM04', 'SVM05', 'SVM06', 'SVM07', 'SVM08', 'SVM09', 'SVM10', 'SVM11', 'SVM12', 'SVM13', 'SVM14', 'SVM15', 'SVM16', 'SVDNB')
- ALL_GEO_PREFIXES = ('GITCO', 'GMTCO', 'GDNBO')
- test_do_not_download_the_files_twice(_requests, tmpdir)[source]
Test re-downloading VIIRS SDR data.
- test_download_channels_num_granules_dnb(_requests, tmpdir)[source]
Test downloading and re-downloading VIIRS SDR DNB data with select granules.
- satpy.tests.test_demo.mock_filesystem()[source]
Create a mock filesystem, patching open and os.path.isfile.