Replies: 1 comment 3 replies
-
You can convert it afterwards: mask = cube.mask.values.astype("int8") |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have a lot of Shapely polygons as
shapes
that I want to rasterize into an output image, but the output will be huge. Is there a way to usemake_geocube
so that when I run something likethe
mask
will be an int8 array instead of float64 (shape_types
will naturally only be small integers)? Thanks in advance!Beta Was this translation helpful? Give feedback.
All reactions