There is a newer version of the record available.

Published October 1, 2024 | Version 5.0.0rc2
Software Open

space_packet_parser

Description

The Space Packet Parser Python library is a generalized, configurable packet decoding library for CCSDS telemetry packets based on the XTCE standard for packet structure definitions. It supports complex and polymorphic packet structures, using the XTCE UML model to represent dynamic inheritance structures and conditionals based on previously parsed data fields. The core functionality of the library is the configuration of an XtcePacketDefinition object from a static XTCE XML document. The configured definition object can then iterate over binary data, parsing and yielding parsed Packet objects containing the decoded packet field values in a generator pattern. The binary data may originate from an in-memory binary object, a buffered file reader opened in binary mode, or a python socket object; in every case, a small buffer is used to read chunks of data to reduce memory footprint. The space_packet_parser library supports robust error handling, is capable of handling malformed packet structures, and can dynamically parse muxed APID packet streams.

Files

medley56/space_packet_parser-5.0.0rc2.zip

Files (1.0 MB)

Name Size Download all
md5:2b66b0305e1382d0eaa8ab60ad60df79
1.0 MB Preview Download

Additional details

Related works