satpy.tests.reader_tests.test_insat3d_img_l1b_h5 module

Tests for the Insat3D reader.

satpy.tests.reader_tests.test_insat3d_img_l1b_h5._create_channels(channels, h5f, resolution)[source]
satpy.tests.reader_tests.test_insat3d_img_l1b_h5._create_lonlats(h5f, resolution)[source]
satpy.tests.reader_tests.test_insat3d_img_l1b_h5.insat_filehandler(insat_filename)[source]

Instantiate a Filehandler.

satpy.tests.reader_tests.test_insat3d_img_l1b_h5.insat_filename(tmp_path_factory)[source]

Create a fake insat 3d l1b file.

satpy.tests.reader_tests.test_insat3d_img_l1b_h5.mask_array(array)[source]

Mask an array with nan instead of 0.

satpy.tests.reader_tests.test_insat3d_img_l1b_h5.test_filehandler_has_start_and_end_time(insat_filehandler)[source]

Test that the filehandler handles start and end time.

satpy.tests.reader_tests.test_insat3d_img_l1b_h5.test_filehandler_returns_area(insat_filehandler)[source]

Test that filehandle returns an area.

satpy.tests.reader_tests.test_insat3d_img_l1b_h5.test_filehandler_returns_coords(insat_filehandler)[source]

Test that lon and lat can be loaded.

satpy.tests.reader_tests.test_insat3d_img_l1b_h5.test_filehandler_returns_data_array(insat_filehandler, calibration, expected_values)[source]

Test that the filehandler can get dataarrays.

satpy.tests.reader_tests.test_insat3d_img_l1b_h5.test_filehandler_returns_masked_data_in_space(insat_filehandler)[source]

Test that the filehandler masks space pixels.

satpy.tests.reader_tests.test_insat3d_img_l1b_h5.test_insat3d_backend_has_1km_channels(insat_filename)[source]

Test the insat3d backend.

satpy.tests.reader_tests.test_insat3d_img_l1b_h5.test_insat3d_datatree_has_global_attributes(insat_filename)[source]

Test that the backend supports global attributes in the datatree.

satpy.tests.reader_tests.test_insat3d_img_l1b_h5.test_insat3d_has_calibrated_arrays(insat_filename, resolution, name, shape, expected_values, expected_name, expected_units)[source]

Check that calibration happens as expected.

satpy.tests.reader_tests.test_insat3d_img_l1b_h5.test_insat3d_has_dask_arrays(insat_filename)[source]

Test that the backend uses dask.

satpy.tests.reader_tests.test_insat3d_img_l1b_h5.test_insat3d_has_global_attributes(insat_filename, resolution)[source]

Test that the backend supports global attributes.

satpy.tests.reader_tests.test_insat3d_img_l1b_h5.test_insat3d_has_orbital_parameters(insat_filehandler)[source]

Test that the filehandler returns data with orbital parameter attributes.

satpy.tests.reader_tests.test_insat3d_img_l1b_h5.test_insat3d_only_has_3_resolutions(insat_filename)[source]

Test that we only accept 1000, 4000, 8000.

satpy.tests.reader_tests.test_insat3d_img_l1b_h5.test_insat3d_opens_datatree(insat_filename, resolution)[source]

Test that a datatree is produced.

satpy.tests.reader_tests.test_insat3d_img_l1b_h5.test_insat3d_returns_lonlat(insat_filename, resolution)[source]

Test that lons and lats are loaded.

satpy.tests.reader_tests.test_insat3d_img_l1b_h5.test_satpy_load_array(insat_filename)[source]

Test that satpy can load the VIS array.

satpy.tests.reader_tests.test_insat3d_img_l1b_h5.test_satpy_load_two_arrays(insat_filename)[source]

Test that satpy can load the VIS array.