CCSDSPy / ccsdspy

I/O interface and utilities for CCSDS binary spacecraft data in Python. Library used in flight missions at NASA, NOAA, and SWRI
https://ccsdspy.org
BSD 3-Clause "New" or "Revised" License
74 stars 18 forks source link

Sparse packet definitions with array fields are not assigned bit_offset #97

Closed gfireman closed 9 months ago

gfireman commented 9 months ago

Array fields in a FixedLength packet definition are not assigned bit_offset. When not all fields in the packet are defined, this has the effect of reading data starting with the previously-defined end of field instead of the requested position.

gfireman commented 9 months ago

Corrected with #99 21c1dfc

ddasilva commented 9 months ago

Addressed in PR https://github.com/CCSDSPy/ccsdspy/pull/99