satpy.tests.reader_tests.test_abi_l1b module

The abi_l1b reader tests package.

class satpy.tests.reader_tests.test_abi_l1b.TestABIYAML[source]

Bases: object

Tests for the ABI L1b reader’s YAML configuration.

test_file_patterns_match(channel, suffix)[source]

Test that the configured file patterns work.

class satpy.tests.reader_tests.test_abi_l1b.Test_NC_ABI_File(methodName='runTest')[source]

Bases: TestCase

Test file opening.

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

Test openning a dataset.

class satpy.tests.reader_tests.test_abi_l1b.Test_NC_ABI_L1B(methodName='runTest')[source]

Bases: Test_NC_ABI_L1B_Base

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

test_basic_attributes()[source]

Test getting basic file attributes.

test_get_area_def(adef)[source]

Test the area generation.

test_get_dataset()[source]

Test the get_dataset method.

class satpy.tests.reader_tests.test_abi_l1b.Test_NC_ABI_L1B_Base(methodName='runTest')[source]

Bases: TestCase

Common setup for NC_ABI_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_, rad=None)[source]

Create a fake dataset using the given radiance data.

class satpy.tests.reader_tests.test_abi_l1b.Test_NC_ABI_L1B_H5netcdf(methodName='runTest')[source]

Bases: Test_NC_ABI_L1B

Allow h5netcdf peculiarities.

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]

Create fake data for the tests.

class satpy.tests.reader_tests.test_abi_l1b.Test_NC_ABI_L1B_invalid_cal(methodName='runTest')[source]

Bases: Test_NC_ABI_L1B_Base

Test the NC_ABI_L1B reader with invalid calibration.

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

Test detection of invalid calibration values.

class satpy.tests.reader_tests.test_abi_l1b.Test_NC_ABI_L1B_ir_cal(methodName='runTest')[source]

Bases: Test_NC_ABI_L1B_Base

Test the NC_ABI_L1B reader’s IR calibration.

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]

Create fake data for the tests.

test_ir_calibrate()[source]

Test IR calibration.

class satpy.tests.reader_tests.test_abi_l1b.Test_NC_ABI_L1B_raw_cal(methodName='runTest')[source]

Bases: Test_NC_ABI_L1B_Base

Test the NC_ABI_L1B reader raw calibration.

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]

Create fake data for the tests.

test_raw_calibrate()[source]

Test RAW calibration.

class satpy.tests.reader_tests.test_abi_l1b.Test_NC_ABI_L1B_vis_cal(methodName='runTest')[source]

Bases: Test_NC_ABI_L1B_Base

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

Create fake data for the tests.

test_vis_calibrate()[source]

Test VIS calibration.