Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

On this page, we document errors/problems we've encountered working with OSELOTS.  

We encourage other users to write down/document other issues as they come up, and the solutions they find. 

PROBLEM: When acquiring images, code fails with an error like:

Traceback (most recent call last):
File "/home/sashab/Documents/sashas_python_scripts/pixis/ConvertPIXISRawToFits.py", line 143, in <module>
convertRawToFits(source_file, target_file, source_dir = source_dir, target_dir = target_dir, target_suffix = target_suffix, header_elems_to_add = additional_header_elems);

  File "/home/sashab/Documents/sashas_python_scripts/pixis/ConvertPIXISRawToFits.py", line 49, in convertRawToFits

    flat_img_arrays = [struct.unpack(img_fmt, data_set) for data_set in separated_data]

  File "/home/sashab/Documents/sashas_python_scripts/pixis/ConvertPIXISRawToFits.py", line 49, in <listcomp>

    flat_img_arrays = [struct.unpack(img_fmt, data_set) for data_set in separated_data]
struct.error: unpack requires a buffer of 2097152 bytes

OTHER SIGNS OF ERROR: 

Identified instrument is a Demo: 

(Like): PIXIS: 100B (SN:12345:Demo) [E2V 1340 x 100 (CCD 36)(B)]

Temperature set point is -40 degrees C: 

(Like): Temperature is -40 degrees C