satpy.tests.reader_tests.test_mirs module

Module for testing the satpy.readers.mirs module.

satpy.tests.reader_tests.test_mirs._check_area(data_arr)[source]
satpy.tests.reader_tests.test_mirs._check_attrs(data_arr, platform_name)[source]
satpy.tests.reader_tests.test_mirs._check_fill_value(data_arr, test_fill_value)[source]
satpy.tests.reader_tests.test_mirs._check_metadata(data_arr: DataArray, test_data: Dataset, platform_name: str) None[source]
satpy.tests.reader_tests.test_mirs._check_valid_range(data_arr, test_valid_range)[source]
satpy.tests.reader_tests.test_mirs._create_fake_reader(filenames: list[str], reader_kwargs: dict, exp_loadable_files: int | None = None) FileYAMLReader[source]
satpy.tests.reader_tests.test_mirs._get_datasets_with_attributes(**kwargs)[source]

Represent files with two resolution of variables in them (ex. OCEAN).

satpy.tests.reader_tests.test_mirs._get_datasets_with_less_attributes()[source]

Represent files with two resolution of variables in them (ex. OCEAN).

satpy.tests.reader_tests.test_mirs._load_and_check_limb_correction_variables(reader: FileYAMLReader, loadable_ids: list[str], platform_name: str, exp_limb_corr: bool) dict[DataID, DataArray][source]
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.

satpy.tests.reader_tests.test_mirs.test_available_datasets(filenames, expected_datasets)[source]

Test that variables are dynamically discovered.

satpy.tests.reader_tests.test_mirs.test_basic_load(filenames, loadable_ids, platform_name, reader_kw)[source]

Test that variables are loaded properly.