From 92febf4926e2c311eef86360aaf9c033b57b53eb Mon Sep 17 00:00:00 2001 From: Rahul Mahrsee Date: Tue, 27 Feb 2024 12:34:06 +0000 Subject: [PATCH] Temp fix for returning first image instead of working on asset_id. --- xee/ext.py | 1 + 1 file changed, 1 insertion(+) diff --git a/xee/ext.py b/xee/ext.py index a30c3b6..8c08346 100644 --- a/xee/ext.py +++ b/xee/ext.py @@ -784,6 +784,7 @@ def _slice_collection(self, image_slice: slice) -> ee.Image: # Get the right range of Images in the collection, either a single image or # a range of images... self._ee_init_check() + return self.store.image_collection.first() start, stop, stride = image_slice.indices(self.shape[0]) # If the input images have IDs, just slice them. Otherwise, we need to do