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
75 stars 18 forks source link

Raise a warning if sequence count is non-consecutive #21

Closed ehsteve closed 1 year ago

ehsteve commented 1 year ago

To let the user know if the packet sequence count in the primary header skips a number which would imply that a packet was lost. The sequence count is per APID therefore they would have to be checked individually.

ddasilva commented 1 year ago

Sounds reasonable. We might make this an option set to True by default, eg warning_on_missing_packet=True. We may also consider making our subclasses of warning, eg CCSDSPyWarning -> ParsingWarning -> MissingPacketWarning or something like that

ddasilva commented 1 year ago

Depends on #15

ehsteve commented 1 year ago

@ddasilva this can be closed.