lasp / lasp/space_packet_parser

Support `RepeatEntry` for `ParameterRefEntry` elements in `EntryList`s

Open
#29 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
Python
Stars
39
Forks
15
Avg merge
2d 16h
Merged PRs (30d)
12

Description

Section 5.3.3 (p. 235) of https://public.ccsds.org/Pubs/660x1g2.pdf

RepeatEntry allows repeating of a parameter N times where N is possibly a previous parameter value. This could be useful when downlinking arrays of a predictable size.

The principle challenge here is how to represent a repeated ParsedDataItem with a non-unique name (maybe made unique by the repeat number?). Like anything else, if the repeat number is a reference to another parameter, that parameter must occur before the repeated parameter in the data structure.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the existing EntryList, ParameterRefEntry, and ParsedDataItem handling, using XTCE Section 5.3.3 as the behavioral reference. Define how RepeatEntry resolves its count and how repeated parsed items are represented without unique names; done means repeated parameter references are decoded correctly, including counts based on a preceding parameter.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.