satpy.tests.reader_tests.test_viirs_edr_active_fires module
VIIRS Active Fires Tests.
This module implements tests for VIIRS Active Fires NetCDF and ASCII file readers.
- class satpy.tests.reader_tests.test_viirs_edr_active_fires.FakeImgFiresNetCDF4FileHandler(filename, filename_info, filetype_info, auto_maskandscale=False, xarray_kwargs=None, cache_var_size=0, cache_handle=False, extra_file_content=None)[source]
Bases:
FakeNetCDF4FileHandler
Swap in CDF4 file handler.
Get fake file content from ‘get_test_content’.
- class satpy.tests.reader_tests.test_viirs_edr_active_fires.FakeImgFiresTextFileHandler(filename, filename_info, filetype_info, **kwargs)[source]
Bases:
BaseFileHandler
Fake file handler for text files at image resolution.
Get fake file content from ‘get_test_content’.
- class satpy.tests.reader_tests.test_viirs_edr_active_fires.FakeModFiresNetCDF4FileHandler(filename, filename_info, filetype_info, auto_maskandscale=False, xarray_kwargs=None, cache_var_size=0, cache_handle=False, extra_file_content=None)[source]
Bases:
FakeNetCDF4FileHandler
Swap in CDF4 file handler.
Get fake file content from ‘get_test_content’.
- class satpy.tests.reader_tests.test_viirs_edr_active_fires.FakeModFiresTextFileHandler(filename, filename_info, filetype_info, **kwargs)[source]
Bases:
BaseFileHandler
Fake file handler for text files at moderate resolution.
Get fake file content from ‘get_test_content’.
- class satpy.tests.reader_tests.test_viirs_edr_active_fires.TestImgVIIRSActiveFiresNetCDF4(methodName='runTest')[source]
Bases:
TestCase
Test VIIRS Fires Reader.
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 = []
- yaml_file = 'viirs_edr_active_fires.yaml'
- class satpy.tests.reader_tests.test_viirs_edr_active_fires.TestImgVIIRSActiveFiresText(methodName='runTest')[source]
Bases:
TestCase
Test VIIRS Fires Reader.
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 = []
- yaml_file = 'viirs_edr_active_fires.yaml'
- class satpy.tests.reader_tests.test_viirs_edr_active_fires.TestModVIIRSActiveFiresNetCDF4(methodName='runTest')[source]
Bases:
TestCase
Test VIIRS Fires Reader.
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 = []
- yaml_file = 'viirs_edr_active_fires.yaml'
- class satpy.tests.reader_tests.test_viirs_edr_active_fires.TestModVIIRSActiveFiresText(methodName='runTest')[source]
Bases:
TestCase
Test VIIRS Fires Reader.
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 = []
- yaml_file = 'viirs_edr_active_fires.yaml'