Skip to content

Commit

Permalink
Added maxError as a 1 in the bounds for better.
Browse files Browse the repository at this point in the history
  • Loading branch information
dabhicusp committed Feb 16, 2024
1 parent 2ea35e5 commit 7131655
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions xee/ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,11 +279,13 @@ def get_info(self) -> Dict[str, Any]:
rpcs.append(('projection', self.projection))

if isinstance(self.geometry, ee.Geometry):
rpcs.append(('bounds', self.geometry.bounds(proj=self.projection)))
rpcs.append(('bounds', self.geometry.bounds(1, proj=self.projection)))
else:
rpcs.append((
'bounds',
self.image_collection.first().geometry().bounds(proj=self.projection),
self.image_collection.first()
.geometry()
.bounds(1, proj=self.projection),
))

# TODO(#29, #30): This RPC call takes the longest time to compute. This
Expand Down

0 comments on commit 7131655

Please sign in to comment.