satpy.tests.reader_tests.test_nwcsaf_nc module

Unittests for NWC SAF reader.

class satpy.tests.reader_tests.test_nwcsaf_nc.TestNcNWCSAF(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test the NcNWCSAF 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.

setUp(xr_, unzip)[source]

Set up the test case.

test_get_area_def()[source]

Test that get_area_def() returns proper area.

test_scale_dataset_attr_removal()[source]

Test the scaling of the dataset and removal of obsolete attributes.

test_scale_dataset_floating()[source]

Test the scaling of the dataset with floating point values.

test_sensor_name()[source]

Test that the correct sensor name is being set.