Skip to content

Commit

Permalink
Remove debug assert
Browse files Browse the repository at this point in the history
  • Loading branch information
fbunt committed Jun 27, 2024
1 parent 4809e4e commit 166fe61
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion raster_tools/line_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,6 @@ def length(features, like_rast, radius, weighting_field=None):
data, axes={0: 0, 1: ydepth, 2: xdepth}, boundary=1
)
data = da.sum(data, axis=0, keepdims=True)
assert data.chunks == like_rast.data.chunks
xrs = xr.DataArray(
data, dims=("band", "y", "x"), coords=([1], like_rast.y, like_rast.x)
)
Expand Down

0 comments on commit 166fe61

Please sign in to comment.