Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xdsme doesn't interpret CBF 1.7.10 images #26

Open
kevinwithak opened this issue Nov 2, 2022 · 0 comments
Open

xdsme doesn't interpret CBF 1.7.10 images #26

kevinwithak opened this issue Nov 2, 2022 · 0 comments

Comments

@kevinwithak
Copy link

xdsme crashes when I try to process data collected on the Eiger 2 16M at SSRL 12-1 with the following error:

###CBF: VERSION 1.7.
Traceback (most recent call last):
  File "/programs/x86_64-linux/xdsme/0.6.6/bin/noarch/xdsme", line 1830, in <module>
    if not _coll.isContinuous(inputf):
  File "/home/sbgrid/programs/x86_64-linux/xdsme/0.6.6/XDS/XIO/XIO.py", line 887, in isContinuous
    self.image = Image(self.initialImageName, rotationAxis=self.rotationAxis)
  File "/home/sbgrid/programs/x86_64-linux/xdsme/0.6.6/XDS/XIO/XIO.py", line 194, in __init__
    self.headerInterpreter()
  File "/home/sbgrid/programs/x86_64-linux/xdsme/0.6.6/XDS/XIO/XIO.py", line 419, in headerInterpreter
    raise XIOError, "Can't import %s interperter" % (self.type)
XIO.XIO.XIOError: Can't import unknown interperter

The image header is pasted below:

###CBF: VERSION 1.7.10
# CBF file written by CBFlib v0.9.5

data_image-1

_array_data.header_convention SSRL_2.0
_array_data.header_contents
;
# Detector: Dectris EIGER2 Si 16M, S/N E-32-0127
# 2022-11-01T16:43:30.015-07:00
# Pixel_size 75e-6 m x 75e-6 m
# Silicon sensor, thickness 0.000450 m
# Exposure_time 0.200000 s
# Exposure_period 0.200000 s
# Count_cutoff 765114 counts
# Threshold_setting 3500.117920 eV
# N_excluded_pixels = 1251707
# Wavelength 1.771143 A
# Detector_distance 0.250000 m
# Beam_xy (2074.500000, 2181.500000) pixels
# Start_angle 84.000000 deg.
# Angle_increment 0.200000 deg.
# Detector_2theta 0.000000 deg.
;

_array_data.data
;
--CIF-BINARY-FORMAT-SECTION--
Content-Type: application/octet-stream;
     conversions="x-CBF_BYTE_OFFSET"
Content-Transfer-Encoding: BINARY
X-Binary-Size: 18093822
X-Binary-ID: 1
X-Binary-Element-Type: "signed 32-bit integer"
X-Binary-Element-Byte-Order: LITTLE_ENDIAN
Content-MD5: FjtVPtBtU53xlVUJTYcU7g==
X-Binary-Number-of-Elements: 18093576
X-Binary-Size-Fastest-Dimension: 4148
X-Binary-Size-Second-Dimension: 4362
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant