satpy.tests.reader_tests.modis_tests.test_modis_l1b module

Unit tests for MODIS L1b HDF reader.

class satpy.tests.reader_tests.modis_tests.test_modis_l1b.TestModisL1b[source]

Bases: object

Test MODIS L1b reader.

test_available_reader()[source]

Test that MODIS L1b reader is available.

test_load_longitude_latitude(input_files, has_5km, has_500, has_250, default_res)[source]

Test that longitude and latitude datasets are loaded correctly.

test_load_sat_zenith_angle(modis_l1b_nasa_mod021km_file)[source]

Test loading satellite zenith angle band.

test_load_vis(modis_l1b_nasa_mod021km_file)[source]

Test loading visible band.

test_load_vis_saturation(mask_saturated, modis_l1b_nasa_mod021km_file)[source]

Test loading visible band.

test_scene_available_datasets(input_files, expected_names, expected_data_res, expected_geo_res)[source]

Test that datasets are available.

satpy.tests.reader_tests.modis_tests.test_modis_l1b._check_shared_metadata(data_arr)[source]
satpy.tests.reader_tests.modis_tests.test_modis_l1b._load_and_check_geolocation(scene, resolution, exp_res, exp_shape, has_res, check_callback=<function _check_shared_metadata>)[source]