diff --git a/OBIA/OBIABase.py b/OBIA/OBIABase.py index 90abe476d58620e9522c903483d6347bccd490c4..f8ded1389fed88d26dc269bcb812bcb5eb9ec2b8 100644 --- a/OBIA/OBIABase.py +++ b/OBIA/OBIABase.py @@ -342,7 +342,9 @@ class OBIABase: os.remove(output_file) mode = 'w+' if not os.path.exists(output_file) else 'r+' with rio.open(output_file, mode, driver='GTiff', width=self.W, height=self.H, crs=self.crs, - transform=self.transform, count=1, dtype=np.uint16, compress=compress) as dst: + transform=self.transform, count=1, dtype=np.uint16) as dst: + # issue with compress option? + #transform=self.transform, count=1, dtype=np.uint16, compress=compress) as dst: win = Window(self.tiles[tilenum][0], self.tiles[tilenum][1], self.tiles[tilenum][2], self.tiles[tilenum][3]) x = dst.read(1, window=win)