satpy.tests.reader_tests.test_ghi_l1 module

The agri_l1 reader tests package.

class satpy.tests.reader_tests.test_ghi_l1.FakeHDF5FileHandler2(filename, filename_info, filetype_info, **kwargs)[source]

Bases: FakeHDF5FileHandler

Swap-in HDF5 File Handler.

Get fake file content from ‘get_test_content’.

get_test_content(filename, filename_info, filetype_info)[source]

Mimic reader input file content.

make_test_data(cwl, ch, prefix, dims, file_type)[source]

Make test data.

class satpy.tests.reader_tests.test_ghi_l1.Test_HDF_GHI_L1_cal[source]

Bases: object

Test VIRR L1B Reader.

setup()[source]

Wrap HDF5 file handler with our own fake handler.

teardown()[source]

Stop wrapping the HDF5 file handler.

test_ghi_all_bands_have_right_units()[source]

Test all bands have the right units.

test_ghi_channels_are_loaded_with_right_resolution()[source]

Test all channels are loaded with the right resolution.

test_ghi_counts_calibration()[source]

Test loading data at counts calibration.

test_ghi_for_one_resolution(resolution_to_test)[source]

Test loading data when only one resolution is available.

test_ghi_geo()[source]

Test loading data for angles.

test_ghi_orbital_parameters_are_correct()[source]

Test orbital parameters are set correctly.

yaml_file = 'ghi_l1.yaml'