Add nominal noise polynomial to sicd utility (sarpy.utils.nominal_sicd_noise)¶
Add a nominal noise polynomial to a sicd.
For a basic help on the command-line, check
>>> python -m sarpy.utils.nominal_sicd_noise --help
- sarpy.utils.nominal_sicd_noise.nominal_sicd_noise(input_reader, out_directory, output_file=None, noise_db_value=-16.0, override=False, check_existence=True, check_older_version=False, preserve_nitf_information=False)¶
Create a sicd with the nominal noise value.
- Parameters:
input_reader (str|SICDReader) –
out_directory (str) – The directory of the output.
output_file (None|str) – If None, then the name will mirror the original with noise details appended.
noise_db_value (int|float) – The estimate for nesz in decibels.
override (bool) – If a NoisePoly is already populated, should we override the value? If False and a NoisePoly is already populated, then an exception will be raised.
check_existence (bool) – Check for the existence of the file before overwriting?
check_older_version (bool) – Try to use a less recent version of SICD (1.1), for possible application compliance issues?
preserve_nitf_information (bool) – Try to preserve some of the original NITF information?