diff --git a/mapchete_eo/base.py b/mapchete_eo/base.py index 423b8f6..c98485e 100644 --- a/mapchete_eo/base.py +++ b/mapchete_eo/base.py @@ -91,6 +91,9 @@ def products(self) -> IndexedFeatures[EOProductProtocol]: if not isinstance(item, CorruptedProductMetadata) ], crs=self.tile.crs, + # by not using rtree, we avoid an edge case where products outside of process CRS bounds + # cause rtree to fail when indexing the products. + index=None, ) # just return the prouducts as is @@ -101,6 +104,9 @@ def products(self) -> IndexedFeatures[EOProductProtocol]: if not isinstance(item, CorruptedProductMetadata) ], crs=self.tile.crs, + # by not using rtree, we avoid an edge case where products outside of process CRS bounds + # cause rtree to fail when indexing the products. + index=None, ) def read(