satpy.tests.reader_tests.test_sar_c_safe module
Module for testing the satpy.readers.sar-c_safe module.
- class satpy.tests.reader_tests.test_sar_c_safe.Calibration(value)[source]
Bases:
Enum
Calibration levels.
- beta_nought = 3
- dn = 4
- gamma = 1
- sigma_nought = 2
- class satpy.tests.reader_tests.test_sar_c_safe.TestSAFEGRD[source]
Bases:
object
Test the SAFE GRD file handler.
- class satpy.tests.reader_tests.test_sar_c_safe.TestSAFEXMLCalibration[source]
Bases:
object
Test the SAFE XML Calibration file handler.
- test_beta_calibration_array(calibration_filehandler)[source]
Test reading the beta calibration array.
- test_gamma_calibration_array(calibration_filehandler)[source]
Test reading the gamma calibration array.
- test_get_calibration_constant(calibration_filehandler)[source]
Test getting the calibration constant.
- test_get_calibration_dataset(calibration_filehandler)[source]
Test using get_dataset for the calibration.
- class satpy.tests.reader_tests.test_sar_c_safe.TestSAFEXMLNoise[source]
Bases:
object
Test the SAFE XML Noise file handler.
- test_azimuth_noise_array_with_holes(noise_with_holes_filehandler)[source]
Test reading the azimuth-noise array.
- satpy.tests.reader_tests.test_sar_c_safe.annotation_file(granule_directory)[source]
Create an annotation file.
- satpy.tests.reader_tests.test_sar_c_safe.annotation_filehandler(annotation_file)[source]
Create an annotation filehandler.
- satpy.tests.reader_tests.test_sar_c_safe.calibration_file(granule_directory)[source]
Create a calibration file.
- satpy.tests.reader_tests.test_sar_c_safe.calibration_filehandler(calibration_file, annotation_filehandler)[source]
Create a calibration filehandler.
- satpy.tests.reader_tests.test_sar_c_safe.granule_directory(tmp_path_factory)[source]
Create a granule directory.
- satpy.tests.reader_tests.test_sar_c_safe.measurement_file(granule_directory)[source]
Create a tiff measurement file.
- satpy.tests.reader_tests.test_sar_c_safe.measurement_filehandler(measurement_file, noise_filehandler, calibration_filehandler)[source]
Create a measurement filehandler.
- satpy.tests.reader_tests.test_sar_c_safe.noise_file(granule_directory)[source]
Create a noise file.
- satpy.tests.reader_tests.test_sar_c_safe.noise_filehandler(noise_file, annotation_filehandler)[source]
Create a noise filehandler.
- satpy.tests.reader_tests.test_sar_c_safe.noise_with_holes_filehandler(annotation_filehandler, tmpdir_factory)[source]
Create a noise filehandler from data with holes.
- satpy.tests.reader_tests.test_sar_c_safe.test_filename_filtering_from_reader(measurement_file, calibration_file, noise_file, annotation_file, tmp_path)[source]
Test that filenames get filtered before filehandlers are created.
- satpy.tests.reader_tests.test_sar_c_safe.test_incidence_angle(annotation_filehandler)[source]
Test reading the incidence angle in an annotation file.