You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The satpy mitiff writer uses pillow to write the tiff file with special IMAGEDESCRIPTION tag used by DIANA https://github.com/metno/diana to handle geolocation etc. for visualization.
DIANA can only handle raw strips, ie. the whole dataset as on strip.
So several solutions is possible.
1: Turn off the hard coded compression in the mitiff writer
2: Use other library than pillow that allow user set rows per strip
3: Implement TIFFReadEncodedStrip in DIANA.
I really, really really don't want to do 3.
For 2, I don't have any idea right now.
So then I end up with 1. This will lead to slighter bigger files, but I think this is acceptable.
Any other ideas before I starting doing this?
Please assign this to me.
The text was updated successfully, but these errors were encountered:
Feature Request
The satpy mitiff writer uses pillow to write the tiff file with special IMAGEDESCRIPTION tag used by DIANA https://github.com/metno/diana to handle geolocation etc. for visualization.
When compression is applied using pillow number of rowsperstrip is calculated by pillow and not possible to give by the user. https://github.com/python-pillow/Pillow/blob/main/src/PIL/TiffImagePlugin.py#L1721-L1729
DIANA can only handle raw strips, ie. the whole dataset as on strip.
So several solutions is possible.
1: Turn off the hard coded compression in the mitiff writer
2: Use other library than pillow that allow user set rows per strip
3: Implement TIFFReadEncodedStrip in DIANA.
I really, really really don't want to do 3.
For 2, I don't have any idea right now.
So then I end up with 1. This will lead to slighter bigger files, but I think this is acceptable.
Any other ideas before I starting doing this?
Please assign this to me.
The text was updated successfully, but these errors were encountered: