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 27f21ed commit 5be595d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/geofabrics/dem.py
Original file line number Diff line number Diff line change
Expand Up @@ -1686,9 +1686,6 @@ def add_coarse_dems(
"Consider adding coarse DEMs to fill areas outside the " "LiDAR extents"
)

# Clip to within the full DEM extents
full_extents = self.catchment_geometry.land_and_foreshore

# Iterate through DEMs
logging.info(f"Incorporating coarse DEMs: {coarse_dem_paths}")
for coarse_dem_path in coarse_dem_paths:
Expand All @@ -1701,7 +1698,7 @@ def add_coarse_dems(
.count()
.isnull()
)
if no_value_mask.any():
if not no_value_mask.any():
logging.info(
f"No land areas greater than the cell buffer {buffer_cells}"
" without LiDAR values. Ignoring all remaining coarse DEMs."
Expand Down

0 comments on commit 5be595d

Please sign in to comment.