satpy.tests.reader_tests.test_slstr_l1b module

Module for testing the satpy.readers.nc_slstr module.

class satpy.tests.reader_tests.test_slstr_l1b.TestSLSTRCalibration(methodName='runTest')[source]

Bases: TestSLSTRL1B

Test the implementation of the calibration factors.

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.

test_cal_rad()[source]

Test the radiance to reflectance converter.

test_radiance_calibration(xr_)[source]

Test radiance calibration steps.

test_reflectance_calibration(da_, xr_)[source]

Test reflectance calibration.

class satpy.tests.reader_tests.test_slstr_l1b.TestSLSTRL1B(methodName='runTest')[source]

Bases: TestCase

Common setup for SLSTR_L1B tests.

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.

setUp(xr_)[source]

Create a fake dataset using the given radiance data.

class satpy.tests.reader_tests.test_slstr_l1b.TestSLSTRReader(methodName='runTest')[source]

Bases: TestSLSTRL1B

Test various nc_slstr file handlers.

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 FakeSpl[source]

Bases: object

Fake return function for SPL interpolation.

static ev(foo_x, foo_y)[source]

Fake function to return interpolated data.

test_instantiate(bvs_, xr_)[source]

Test initialization of file handlers.

satpy.tests.reader_tests.test_slstr_l1b.make_dataid(**items)[source]

Make a data id.