satpy.tests.reader_tests.test_scmi module

The scmi_abi_l1b reader tests package.

class satpy.tests.reader_tests.test_scmi.FakeDataset(info, attrs, dims=None)[source]

Bases: object

Fake dataset.

Init the dataset.

close()[source]

Close the dataset.

rename(*args, **kwargs)[source]

Rename the dataset.

class satpy.tests.reader_tests.test_scmi.TestSCMIFileHandler(methodName='runTest')[source]

Bases: TestCase

Test the SCMIFileHandler 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 = []
setUp(xr_)[source]

Set up for test.

test_basic_attributes()[source]

Test getting basic file attributes.

test_data_load()[source]

Test data loading.

class satpy.tests.reader_tests.test_scmi.TestSCMIFileHandlerArea(methodName='runTest')[source]

Bases: TestCase

Test the SCMIFileHandler’s area creation.

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 = []
create_reader(proj_name, proj_attrs, xr_)[source]

Create a fake reader.

test_get_area_def_bad(adef)[source]

Test the area generation for bad projection.

test_get_area_def_geos(adef)[source]

Test the area generation for geos projection.

test_get_area_def_lcc(adef)[source]

Test the area generation for lcc projection.

test_get_area_def_merc(adef)[source]

Test the area generation for merc projection.

test_get_area_def_stere(adef)[source]

Test the area generation for stere projection.