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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I have a lot of Shapely polygons as
shapesthat I want to rasterize into an output image, but the output will be huge. Is there a way to usemake_geocubeso that when I run something likethe
maskwill be an int8 array instead of float64 (shape_typeswill naturally only be small integers)? Thanks in advance!Beta Was this translation helpful? Give feedback.
All reactions