Skip to content

ULTRA l1a TOF decom error #2557

@lacoak21

Description

@lacoak21

error in the l1a processing that is causing certain jobs to fail.
For example, the unpacking fails for this packet: imap_ultra_l0_raw_20251230-repoint00094_v001.pkts

The error is occurring when decompressing the images for APID 947 (ULTRA_PHXTOF_HIGH_ANGULAR). The specific error is because we are attempting to read past the end of the binary data.

IndexError: Attempted to read past the end of binary string. Current position: 32648, Requested bits: 4, String length: 32648

The following is where exactly it fails.

Epoch: 5
Image plane: 1
Row: 52 of 54
Block: 8 of 12

Pixel: 13 of 15 within that block
Larry helped me figure out that we are getting extra sequences.
E.g. the Sequence IDs for the group that it is failing on are [ 0 32 1 2 3 4 5 6 7]
For reference, all dataset SIDS
sequence ids: [ 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7
0 1 2 3 4 5 6 7 0 32 1 2 3 4 5 6 7 0 96 1 2 3 4 5
6 7 0 65 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4
5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7]
is 32 a fillval? NO not expected. flight software issue?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions