NumPy ndarray Output #56
Replies: 2 comments 6 replies
-
From the packet definition you sent me earlier, I think the Can you try specifying just one of |
Beta Was this translation helpful? Give feedback.
-
Sorry I should have gave more background in my question: Our data comes down in virtual channel files (back orbit, realtime, etc) that are blocks of transfer frames (TF), these then get parsed/de-muxed into a packet-based binary file. This is the step that CCSDSPy uses as the input for decoding but I was trying to input my virtual channel files as input. So I need to first write an api that does the de-muxing step and then I can utilize CCSDSPy's functions. My colleague wrote a script many years ago to do this in Perl (what is currently used in Ops) but I need to rewrite this in Python and make it mission-generic. Sorry for the links, Github wasn't allowing me to upload files to this reply: |
Beta Was this translation helpful? Give feedback.
-
I made a bit more progress and now have a full run-through of the extract/decode process and am now testing on actual .tlm files (.VC4 in my specific case). I’m new to using numpy arrays (my coding background is primarily in MATLAB and python-automation) so I could be interpreting this incorrectly but my output seems to be garbage at this point.
I tried both with a full script and with the command line split into separate .tlm files and got the same result for a specific packet test:
pkt1612Test_Output.docx
It’s possible the issue is being caused by the fact this packet has ACS_1612_TIME with the RTIME42 data_type, but I'm unsure.
My expected output array is [6691 x 7], 6691 samples for time + 6 parameters. In CCSDSPy format though this would be 6 key value pairs each 6691 x 1
Beta Was this translation helpful? Give feedback.
All reactions