Fix log message

pull/1057/head
Piero Toffanin 2020-01-21 15:18:50 -05:00
rodzic 0614425994
commit 3f428ecabd
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -117,7 +117,7 @@ def feather_raster(input_raster, output_raster, blend_distance=20):
dist_t[dist_t > blend_distance] = 1
np.multiply(alpha_band, dist_t, out=alpha_band, casting="unsafe")
else:
log.ODM_WARNING("%s does not have an alpha band, cannot blend cutline!" % input_raster)
log.ODM_WARNING("%s does not have an alpha band, cannot feather raster!" % input_raster)
with rasterio.open(output_raster, 'w', **rast.profile) as dst:
dst.colorinterp = rast.colorinterp