diff --git a/python/s2snow/compute_NOBS.py b/python/s2snow/compute_NOBS.py index 43e947115cd2f42ba960701a9cc0a0b97b9b1fee..41bc04792e168ef5d809fc02375e40c7951ffeb3 100644 --- a/python/s2snow/compute_NOBS.py +++ b/python/s2snow/compute_NOBS.py @@ -36,12 +36,12 @@ def compute_NOBS(input_file, synthesis_name=None, output_dir=None): :return: """ logging.debug("compute_NOBS") - logging.debug("input_file", input_file) - logging.debug("synthesis_name", synthesis_name) - logging.debug("output_dir", output_dir) + logging.debug("input_file : %s", input_file) + logging.debug("synthesis_name : %s", synthesis_name) + logging.debug("output_dir : %s", output_dir) if not os.path.isfile(input_file): - logging.error("Input file does not exist : {}", input_file) + logging.error("Input file does not exist : %s", input_file) return if output_dir is None: @@ -69,8 +69,6 @@ def compute_NOBS(input_file, synthesis_name=None, output_dir=None): with rasterio.open(output_file, 'w', **profile) as dst: dst.write(S.astype(rasterio.uint16), 1) - logging.info("End of compute_NOBS.py") - def show_help(): """ diff --git a/python/s2snow/compute_SOD_SMOD.py b/python/s2snow/compute_SOD_SMOD.py index 1fb2d83b7fa57011fae98f2e58e7fbe641fd3126..5641506d36f9ccccebb0400637a7c6083d3258b2 100644 --- a/python/s2snow/compute_SOD_SMOD.py +++ b/python/s2snow/compute_SOD_SMOD.py @@ -38,9 +38,9 @@ def compute_SOD_SMOD(input_file, synthesis_name=None, output_dir=None): """ logging.info("Start compute_SOD_SMOD.py using: {}".format(input_file)) logging.debug("compute_SOD_SMOD") - logging.debug("tmp_dir", output_dir) - logging.debug("input_file", input_file) - logging.debug("synthesis_name", synthesis_name.format("XXX")) + logging.debug("tmp_dir : %s", output_dir) + logging.debug("input_file : %s", input_file) + logging.debug("synthesis_name : %s", synthesis_name.format("XXX")) if not os.path.isfile(input_file): msg = "Input file does not exist : {}".format(input_file)