nasa / EdsLib

CCSDS SOIS Electronic Data Sheet Tool and Library
Apache License 2.0
31 stars 12 forks source link

Minor issues/inconsistencies in the COSMOS DB artifacts #88

Closed jphickey closed 5 months ago

jphickey commented 5 months ago

Describe the bug The following issues were reported when trying to import the generated DB into COSMOS:

  1. If the overall byte ordering is BIG_ENDIAN, an extra/redundant BIG_ENDIAN tag for the CCSDS header fields confuses COSMOS. This tag should only be added if the overall byte ordering is LITTLE_ENDIAN.
  2. The ranges on some fields were getting output with an extra .0 on the end (floating point). For example, 4294967295 instead of 4294967295.0 for the max value of a 32-bit UINT.
  3. Some fields were missing descriptions (nil).

To Reproduce Build COSMOS DB from EDS and attempt to import into current COSMOS

Expected behavior Success

System observed on: DTN test infrastructure

Reporter Info Joseph Hickey on behalf of Stuart Bozievich (GSFC).