Skip to content

Commit

Permalink
Merge branch '206-dask-values-bottlenecks' of github.com:rosepearson/…
Browse files Browse the repository at this point in the history
…GeoFabrics into 206-dask-values-bottlenecks
  • Loading branch information
rosepearson committed Oct 10, 2023
2 parents 5be595d + 59ed745 commit 9292a88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/geofabrics/dem.py
Original file line number Diff line number Diff line change
Expand Up @@ -1711,7 +1711,9 @@ def add_coarse_dems(
.set_crs(self.catchment_geometry.crs["horizontal"])
)
coarse_dem_resolution = coarse_dem.rio.resolution()
coarse_dem_resolution = max(abs(coarse_dem_resolution[0]), abs(coarse_dem_resolution[1]))
coarse_dem_resolution = max(
abs(coarse_dem_resolution[0]), abs(coarse_dem_resolution[1])
)
coarse_dem_bounds = coarse_dem.rio.bounds()
coarse_dem_bounds = geopandas.GeoDataFrame(
{
Expand Down

0 comments on commit 9292a88

Please sign in to comment.