-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Labels
Description
When trying to read a MarCCD image from an old MarCCD detector (165, I believe), I encounter the following error:
WARNING:fabio.tifimage:Unable to read /n/hekstra_lab/projects/laue-dials-tests/hemoglobin_TR/data/new_imgs/HbI5a_off_019.mccd with TiffIO due to cannot reshape array of size 4194304 into shape (3840), trying PIL
ERROR:fabio.tifimage:Error in opening /n/hekstra_lab/projects/laue-dials-tests/hemoglobin_TR/data/new_imgs/HbI5a_off_019.mccd with PIL: image file is truncated (2048 bytes not processed)
ERROR:fabio.tifimage:Error in opening /n/hekstra_lab/projects/laue-dials-tests/hemoglobin_TR/data/new_imgs/HbI5a_off_019.mccd: no tiff reader managed to read the file.
The image has 4194304 = 2048x2048 pixels. I am not quite sure where 3840 comes from. Could I specify how to reshape the array?
I am happy to provide a sample image.
Reactions are currently unavailable