Forwarding ImageData.array.mask
in NPZ output
#686
Replies: 4 comments
-
No, Lines 353 to 356 in 6343b57 |
Beta Was this translation helpful? Give feedback.
-
Hmmm, it's true for the rasterio/gdal case, but if we are saving as npz format, there isn't really a required format right? Would it make sense to just use numpy's masked array mask format? |
Beta Was this translation helpful? Give feedback.
-
Ah yes, for Is there any specific reason why a user would want the numpy masked array ( |
Beta Was this translation helpful? Give feedback.
-
Our use case is to save to file and read back in as numpy format, effectively doing just If it adds too much complexity, I can always just call the |
Beta Was this translation helpful? Give feedback.
-
In this line,
rio-tiler/rio_tiler/models.py
Line 763 in 6343b57
self.array.mask
instead ofself.mask
? My understanding is that it's not the intention to be usinguint8
for writing the maskBeta Was this translation helpful? Give feedback.
All reactions