satpy.tests.reader_tests.test_ahi_hsd module

The ahi_hsd reader tests package.

class satpy.tests.reader_tests.test_ahi_hsd.TestAHICalibration(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test case for various AHI calibration types.

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(*mocks)[source]

Create fake data for testing.

test_default_calibrate(*mocks)[source]

Test default in-file calibration modes.

test_updated_calibrate()[source]

Test updated in-file calibration modes.

test_user_calibration()[source]

Test user-defined calibration modes.

class satpy.tests.reader_tests.test_ahi_hsd.TestAHIHSDFileHandler(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test case for the file reading.

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.

new_unzip()[source]

Fake unzipping.

setUp(fromfile, np2str)[source]

Create a test file handler.

test_blocklen_error(*mocks)[source]

Test erraneous blocklength.

test_read_band(calibrate, *mocks)[source]

Test masking of space pixels.

test_read_header(*mocks)[source]

Test header reading.

test_scanning_frequencies()[source]

Test scanning frequencies.

test_scene_loading(calibrate, *mocks)[source]

Test masking of space pixels.

test_time_properties()[source]

Test start/end/scheduled time properties.

class satpy.tests.reader_tests.test_ahi_hsd.TestAHIHSDNavigation(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test the AHI HSD reader navigation.

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_region(fromfile, np2str)[source]

Test region navigation.

test_segment(fromfile, np2str)[source]

Test segment navigation.