Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rosepearson committed Oct 10, 2023
1 parent 9292a88 commit ed2772b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/geofabrics/dem.py
Original file line number Diff line number Diff line change
Expand Up @@ -1708,8 +1708,8 @@ def add_coarse_dems(
coarse_dem = (
rioxarray.rioxarray.open_rasterio(coarse_dem_path, masked=True)
.squeeze("band", drop=True)
.set_crs(self.catchment_geometry.crs["horizontal"])
)
coarse_dem.rio.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])
Expand Down Expand Up @@ -1771,7 +1771,7 @@ def _add_coarse_dem_no_chunking(

# Load in the coarse DEM
extents = {
"total": self.catchment_geometry.catchment_boundary,
"total": self.catchment_geometry.catchment,
"land": self.catchment_geometry.full_land,
"foreshore": self.catchment_geometry.foreshore,
}
Expand Down Expand Up @@ -1837,7 +1837,7 @@ def _add_coarse_dem_chunked(
"method": "linear",
}
extents = {
"total": self.catchment_geometry.catchment_boundary,
"total": self.catchment_geometry.catchment,
"land": self.catchment_geometry.full_land,
"foreshore": self.catchment_geometry.foreshore,
}
Expand Down

0 comments on commit ed2772b

Please sign in to comment.