Commit 85c4ca83 authored by Aurore Dupuis's avatar Aurore Dupuis
Browse files

Patch 1.6.6

parents babe09ca d92a7384
......@@ -234,6 +234,7 @@ def main(argv):
if log:
os.remove(stdout_file)
os.remove(stderr_file)
logging.info("End run_snow_annual_map.py")
def create_snow_annual_map_metadata(product_list, path_out):
......
......@@ -57,6 +57,7 @@ def compute_NOBS(input_file, output_file=None):
profile.update(
dtype=rasterio.uint16,
driver='GTiff',
compress='deflate',
count=1)
with rasterio.open(output_file, 'w', **profile) as dst:
......
......@@ -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:
......
......@@ -102,7 +102,7 @@ def compute_SCD(binary_snow_mask_list, multitemp_cloud_vrt, input_dates_filename
expression = "+".join(["im1b" + str(i) for i in band_index])
logging.debug("expression: {}".format(expression))
bandMathApp = band_math([gapfilled_timeserie],
snow_coverage_duration,
snow_coverage_duration + "?&gdal:co:COMPRESS=DEFLATE",
expression,
ram,
otb.ImagePixelType_uint16)
......
......@@ -20,4 +20,4 @@
# limitations under the License.
#
VERSION = "1.6.5"
VERSION = "1.6.6"
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