Skip to content

Commit

Permalink
add print for mask
Browse files Browse the repository at this point in the history
  • Loading branch information
fbunt committed Jan 14, 2025
1 parent 9d70468 commit a913cd2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions raster_tools/rasterize.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ def _mask_onto_chunk(
Burn features onto a chunk. Cells that touch a feature get 1 and the rest
get 0. This is flipped if invert is True.
"""
print(f"_rasterize_onto_chunk:\n{gdf}")
fill = 1 if invert else 0
shape_2d = block_info[None]["chunk-shape"]
# Trim anything outside the chunk
Expand Down

0 comments on commit a913cd2

Please sign in to comment.