Commit 4b763698 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files
parent fd759fe3
Pipeline #4933 passed with stage
in 41 seconds
......@@ -81,10 +81,11 @@ def RSR_reader(satellite, sensor, subsystem='',
print(msg)
except FileNotFoundError:
msg = 'No spectral response functions found for %s %s %s at %s! >None< is returned.'\
msg = 'No spectral response functions found for %s %s %s at %s!'\
% (satellite, sensor, bandname, RSR_path)
if tolerate_missing:
msg = '%s >None< is returned.' % msg
if logger:
logger.warning(msg)
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment