Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support xtce:UnitSet #47

Open
medley56 opened this issue Apr 2, 2024 · 0 comments
Open

Support xtce:UnitSet #47

medley56 opened this issue Apr 2, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@medley56
Copy link
Owner

medley56 commented Apr 2, 2024

XTCE allows for compound units by specifying multiple <xtce:Unit> elements for a ParameterType. This is discussed in section 4.3.2.2.4 of the XTCE element description green book, here: https://public.ccsds.org/Pubs/660x1g2.pdf (p. 65).

A compound unit will have to be represented in a ParsedDataItem. This could be solved by making the unit attribute of ParsedDataItem either a string or an iterable of strings (e.g. a tuple or list) to support compound units.

@medley56 medley56 added enhancement New feature or request good first issue Good for newcomers labels Apr 2, 2024
@medley56 medley56 added this to the Version 4.3.0 Release milestone Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant