satpy.tests.reader_tests.test_avhrr_l1b_gaclac module

Pygac interface.

class satpy.tests.reader_tests.test_avhrr_l1b_gaclac.GACLACFilePatcher(methodName='runTest')[source]

Bases: PygacPatcher

Patch pygac.

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

Patch GACLACFile.

class satpy.tests.reader_tests.test_avhrr_l1b_gaclac.PygacPatcher(methodName='runTest')[source]

Bases: TestCase

Patch pygac.

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

Patch pygac imports.

tearDown()[source]

Unpatch the pygac imports.

class satpy.tests.reader_tests.test_avhrr_l1b_gaclac.TestGACLACFile(methodName='runTest')[source]

Bases: GACLACFilePatcher

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

test__slice(strip_invalid_lat, get_qual_flags)[source]

Test slicing.

test_get_angle()[source]

Test getting the angle.

test_get_channel()[source]

Test getting the channels.

test_get_dataset_angles(get_angle, *mocks)[source]

Test getting the angles.

test_get_dataset_latlon(*mocks)[source]

Test getting the latitudes and longitudes.

test_get_dataset_qual_flags(*mocks)[source]

Test getting the qualitiy flags.

test_get_dataset_slice(get_channel, slc, *mocks)[source]

Get a slice of a dataset.

test_init()[source]

Test GACLACFile initialization.

test_read_raw_data()[source]

Test raw data reading.

test_slice(_slice)[source]

Test slicing.

test_strip_invalid_lat()[source]

Test stripping invalid coordinates.

class satpy.tests.reader_tests.test_avhrr_l1b_gaclac.TestGetDataset(methodName='runTest')[source]

Bases: GACLACFilePatcher

Test the get_dataset method.

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

Set up the instance.

test_get_dataset_channels(get_channel, *mocks)[source]

Test getting the channel datasets.

test_get_dataset_no_tle(get_channel, *mocks)[source]

Test getting the channel datasets when no TLEs are present.