satpy.tests.reader_tests.test_mirs module

Module for testing the satpy.readers.tropomi_l2 module.

class satpy.tests.reader_tests.test_mirs.TestMirsL2_NcReader[source]

Bases: object

Test mirs Reader.

setup_method()[source]

Read fake data.

test_available_datasets(filenames, expected_datasets)[source]

Test that variables are dynamically discovered.

test_basic_load(filenames, loadable_ids, platform_name, reader_kw)[source]

Test that variables are loaded properly.

test_reader_creation(filenames, expected_loadables)[source]

Test basic initialization.

yaml_file = 'mirs.yaml'
satpy.tests.reader_tests.test_mirs.fake_coeff_from_fn(fn)[source]

Create Fake Coefficients.

satpy.tests.reader_tests.test_mirs.fake_open_dataset(filename, **kwargs)[source]

Create a Dataset similar to reading an actual file with xarray.open_dataset.