Conflict between arguments co_opts
and compress
/tiled
of Raster.save
#651
Labels
invalid
This doesn't seem right
co_opts
and compress
/tiled
of Raster.save
#651
In Raster.save, there are two options to handle compression and tiling of the output file, either through the arguments
compress
andtiled
, or throughco_opts
.Because the first ones have default values, if one tries to set them through
co_opts
, one gets a rasterio that is not so helpful.I think we should detect this conflict beforehand and raise a warning instead.
Here is a MWE:
-> raises a "TypeError: rasterio.open() got multiple values for keyword argument 'tiled'"
The text was updated successfully, but these errors were encountered: