satpy.tests.reader_tests.test_oli_tirs_l1_tif module
Unittests for generic image reader.
- class satpy.tests.reader_tests.test_oli_tirs_l1_tif.TestOLITIRSL1[source]
Bases:
object
Test generic image reader.
- test_calibration_counts(all_files, b4_data, b11_data)[source]
Test counts calibration mode for the reader.
- test_calibration_highlevel(all_files, b4_data, b11_data)[source]
Test high level calibration modes for the reader.
- test_calibration_radiance(all_files, b4_data, b11_data)[source]
Test radiance calibration mode for the reader.
- test_loading_badchan(mda_file, b11_file)[source]
Test loading a Landsat Scene with bad channel requests.
- test_loading_badfil(mda_file, b4_file)[source]
Test loading a Landsat Scene with bad channel requests.
- satpy.tests.reader_tests.test_oli_tirs_l1_tif.all_files(b4_file, b11_file, mda_file, sza_file)[source]
Return all the files.
- satpy.tests.reader_tests.test_oli_tirs_l1_tif.b11_file(l1_files_path, b11_data, l1_area)[source]
Create the file for the b11 channel.
- satpy.tests.reader_tests.test_oli_tirs_l1_tif.b4_file(l1_files_path, b4_data, l1_area)[source]
Create the file for the b4 channel.
- satpy.tests.reader_tests.test_oli_tirs_l1_tif.create_tif_file(data, name, area, filename)[source]
Create a tif file.
- satpy.tests.reader_tests.test_oli_tirs_l1_tif.l1_files_path(tmp_path_factory)[source]
Create the path for l1 files.