satpy.tests.reader_tests.test_epic_l1b_h5 module

The epic_l1b_h5 reader tests package.

class satpy.tests.reader_tests.test_epic_l1b_h5.TestEPICL1bReader[source]

Bases: object

Test the EPIC L1b HDF5 reader.

_setup_h5(setup_hdf5_file)[source]

Initialise reader for the tests.

setup_method()[source]

Set up the tests.

test_bad_calibration(setup_hdf5_file)[source]

Test that error is raised if a bad calibration is used.

test_counts_calibration(setup_hdf5_file)[source]

Test that data is correctly calibrated.

test_load_ancillary(setup_hdf5_file)[source]

Test that ancillary datasets load correctly.

test_refl_calibration(setup_hdf5_file)[source]

Test that data is correctly calibrated into reflectances.

test_times(setup_hdf5_file)[source]

Test start and end times load properly.

satpy.tests.reader_tests.test_epic_l1b_h5.make_fake_hdf_epic(fname)[source]

Make a fake HDF5 file for EPIC data testing.

satpy.tests.reader_tests.test_epic_l1b_h5.setup_hdf5_file(tmp_path)[source]

Create temp hdf5 files.