This library parses binary files containing CCSDS packets of various structures (APID) and distribute them in pandas dataframes.
It is modular and configurable for multiple missions, but is being primarily developed for Europa-Clipper.
Install:
pip install pydownlinkparser
Use
parse-downlink --file {your ccsds file}
See more options with:
parse-downlink --help
For example in command line:
python3 -m venv venv
source venv/bin/activate
To install the latest version of CCSDSPy:
pip install git+https://github.com/CCSDSPy/ccsdspy.git
Clone the repository
Install the package
pip install -e '.[dev]'
pre-commit install && pre-commit install -t pre-push
Run an example:
python src/pydownlinkparser/downlink_to_excel.py
or
parse-downlink --help
or
parse-downlink --file ./data/ecm_mag_testcase6_cmds_split_out.log --bdsem --header
This package heavily relies on ccsdspy
library (see https://github.com/CCSDSPy/ccsdspy).