Commit 9c5784a3 authored by Gaetano Raffaele's avatar Gaetano Raffaele

FIX: Bug in nodata value parameter for zonal stats.

parent e880a46f
......@@ -318,7 +318,7 @@ if __name__ == "__main__":
sp = 'T'
rp = 'R'
bp = 'B'
ndv = -9999
ndv = -9999.0
fix = False
owt = False
......@@ -346,4 +346,4 @@ if __name__ == "__main__":
stats = args[3].split(',')
multiZonalStats(ras_list, obj_vec, stats, series_prefix=sp, ras_prefix=rp, bnd_prefix=bp,
nodata_value=-ndv, fix_nodata=fix, obj_fld=obj_fld, overwrite=owt)
nodata_value=ndv, fix_nodata=fix, obj_fld=obj_fld, overwrite=owt)
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