satpy.tests.reader_tests.test_glm_l2 module

The glm_l2 reader tests package.

class satpy.tests.reader_tests.test_glm_l2.TestGLML2FileHandler(methodName='runTest')[source]

Bases: TestCase

Tests for the GLM L2 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]

Create a fake file handler to test.

test_basic_attributes()[source]

Test getting basic file attributes.

test_get_dataset()[source]

Test the get_dataset method.

test_get_dataset_dqf()[source]

Test the get_dataset method with special DQF var.

class satpy.tests.reader_tests.test_glm_l2.TestGLML2Reader(methodName='runTest')[source]

Bases: TestCase

Test high-level reading functionality of GLM L2 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]

Create a fake reader to test.

test_available_datasets()[source]

Test that resolution is added to YAML configured variables.

yaml_file = 'glm_l2.yaml'
satpy.tests.reader_tests.test_glm_l2.setup_fake_dataset()[source]

Create a fake dataset to avoid opening a file.