satpy.tests.reader_tests.test_goes_imager_nc module

Tests for the goes imager nc reader.

class satpy.tests.reader_tests.test_goes_imager_nc.GOESNCBaseFileHandlerTest(methodName='runTest')[source]

Bases: TestCase

Testing the file handler.

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.

longMessage = True
setUp(xr_)[source]

Set up the tests.

test_calibrate_ir()[source]

Test IR calibration.

test_calibrate_vis()[source]

Test VIS calibration.

test_end_time()[source]

Test dataset end time stamp.

test_get_earth_mask()[source]

Test identification of earth/space pixels.

test_get_nadir_pixel()[source]

Test identification of the nadir pixel.

test_init()[source]

Tests reader initialization.

test_ircounts2radiance()[source]

Test conversion from IR counts to radiance.

test_is_yaw_flip()[source]

Test yaw flip identification.

test_start_time()[source]

Test dataset start time stamp.

test_viscounts2radiance()[source]

Test conversion from VIS counts to radiance.

class satpy.tests.reader_tests.test_goes_imager_nc.GOESNCEUMFileHandlerRadianceTest(methodName='runTest')[source]

Bases: TestCase

Tests for the radiances.

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.

longMessage = True
setUp(xr_)[source]

Set up the tests.

test_calibrate()[source]

Test whether the correct calibration methods are called.

test_get_dataset_radiance()[source]

Test getting the radiances.

test_get_sector()[source]

Test sector identification.

class satpy.tests.reader_tests.test_goes_imager_nc.GOESNCEUMFileHandlerReflectanceTest(methodName='runTest')[source]

Bases: TestCase

Testing the reflectances.

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.

longMessage = True
setUp(xr_)[source]

Set up the tests.

test_get_dataset_reflectance()[source]

Test getting the reflectance.

class satpy.tests.reader_tests.test_goes_imager_nc.GOESNCFileHandlerTest(methodName='runTest')[source]

Bases: TestCase

Test the file handler.

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.

longMessage = True
setUp(xr_)[source]

Set up the tests.

test_calibrate()[source]

Test whether the correct calibration methods are called.

test_get_dataset_coords()[source]

Test whether coordinates returned by get_dataset() are correct.

test_get_dataset_counts()[source]

Test whether counts returned by get_dataset() are correct.

test_get_dataset_invalid()[source]

Test handling of invalid calibrations.

test_get_dataset_masks()[source]

Test whether data and coordinates are masked consistently.

test_get_sector()[source]

Test sector identification.