Skip to content

cannot read marccd image #548

@DHekstra

Description

@DHekstra

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions