Skip to content

Commit

Permalink
Try converting partition to delayed obj
Browse files Browse the repository at this point in the history
  • Loading branch information
fbunt committed Jan 16, 2025
1 parent 00d76c3 commit 421c59c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raster_tools/rasterize.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def _rasterize_spatial_matches(
# Group by partition and iterate over the groups
for ipart, grp in matches.groupby("part_idx"):
# Get the vector partition
part = partitions[ipart]
part = partitions[ipart].to_delayed()[0]
print(f"_rasterize_spatial_matches:\n{part.compute()}")
# Iterate over the chunks that intersected the vector partition and
# rasterize the partition to each intersecting chunk's grid
Expand Down

0 comments on commit 421c59c

Please sign in to comment.