Commit 710783d1 authored by benjaminpillot's avatar benjaminpillot
Browse files

Fix output type argument syntax for raster calculation

parent 75c92804
......@@ -36,7 +36,7 @@ def _raster_mask(raster, geodataframe, driver, output_type, no_data, all_touched
return raster.__class__.raster_calculation([raster, mask],
partial(_mask, no_data=no_data),
gdal_driver=driver,
data_type=output_type,
output_type=raster.data_type,
no_data=no_data,
description="Compute mask",
window_size=window_size,
......
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