Skip to content

Commit

Permalink
TYPE: Address AreaOfInterest type complaints (#541)
Browse files Browse the repository at this point in the history
  • Loading branch information
snowman2 authored Jun 30, 2022
1 parent ae6f26c commit 570150f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rioxarray/rioxarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,8 @@ def estimate_utm_crs(self, datum_name: str = "WGS 84") -> rasterio.crs.CRS:
else:
minx, miny, maxx, maxy = self.transform_bounds("EPSG:4326", recalc=True)

x_center = np.mean([minx, maxx])
y_center = np.mean([miny, maxy])
x_center = np.mean([minx, maxx]).item()
y_center = np.mean([miny, maxy]).item()

utm_crs_list = query_utm_crs_info(
datum_name=datum_name,
Expand Down

0 comments on commit 570150f

Please sign in to comment.