Skip to content

Commit 570150f

Browse files
authored
TYPE: Address AreaOfInterest type complaints (#541)
1 parent ae6f26c commit 570150f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rioxarray/rioxarray.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -513,8 +513,8 @@ def estimate_utm_crs(self, datum_name: str = "WGS 84") -> rasterio.crs.CRS:
513513
else:
514514
minx, miny, maxx, maxy = self.transform_bounds("EPSG:4326", recalc=True)
515515

516-
x_center = np.mean([minx, maxx])
517-
y_center = np.mean([miny, maxy])
516+
x_center = np.mean([minx, maxx]).item()
517+
y_center = np.mean([miny, maxy]).item()
518518

519519
utm_crs_list = query_utm_crs_info(
520520
datum_name=datum_name,

0 commit comments

Comments
 (0)