Commit bd079a61 authored by Simon Gascoin's avatar Simon Gascoin
Browse files

add compression to SMOD, SOD

parent 3c3b599a
......@@ -71,6 +71,7 @@ def compute_SOD_SMOD(input_file, sod_file=None, smod_file=None):
profile = src.profile
profile.update(
dtype=rasterio.uint16,
compress='deflate',
count=1)
with rasterio.open(smod_file, 'w', **profile) as dst:
......
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