diff --git a/datacube/storage/_rio.py b/datacube/storage/_rio.py index b0ad6548b1..bf4d39f2c7 100644 --- a/datacube/storage/_rio.py +++ b/datacube/storage/_rio.py @@ -164,7 +164,7 @@ def open(self) -> Iterator[GeoRasterReader]: try: _LOG.debug("opening %s", self.filename) - with rasterio.open(str(self.filename)) as src: + with rasterio.open(str(self.filename), sharing=False) as src: override = False transform = src.transform