Commit b5bb65aa authored by Frisinghelli Daniel's avatar Frisinghelli Daniel
Browse files

Improve logging.

parent a2444934
......@@ -2981,10 +2981,12 @@ def compress_raster(src_ds, trg_ds, compress=True):
# compress raster dataset'Compressing: {}'.format(trg_ds))
options = None
if compress:'Compressing: {}'.format(trg_ds))
else:'Saving: {}'.format(trg_ds))
# save raster dataset
gdal.Translate(str(trg_ds), str(src_ds), creationOptions=options)
Supports Markdown
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