Skip to content

Commit

Permalink
fix change to chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
rosepearson committed Nov 3, 2023
1 parent a532d33 commit 05a0f86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/geofabrics/dem.py
Original file line number Diff line number Diff line change
Expand Up @@ -1749,7 +1749,7 @@ def add_coarse_dems(
return False
# Check for overlap with the Coarse DEM
chunks = (
{"x": chunk_size, "y": chunk_size} if chunk_size is not None else False
{"x": chunk_size, "y": chunk_size} if chunk_size is not None else True
)
coarse_dem = rioxarray.rioxarray.open_rasterio(
coarse_dem_path, masked=True, chunks=chunks
Expand Down

0 comments on commit 05a0f86

Please sign in to comment.