Repository navigation
feat(generator): add gen.py script to generate CSV from ESA-ADB telemetry data - #50
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of change:
Purpose of this PR:
tools/generator/gen.py, which turns ESA-ADB Mission 1channel_60into a headerlessid,timestamp,channel,valueCSV for LogGrid--size(binaryK/M/Gunits) to keep appending time-shifted copies of the channel until the file reaches the target size--copies N,--rows Nand--dumpfor an exact number of copies, a small sample, or a single full copycbyc · spanso each copy starts 30 s after the last sample of the previous one (timestamps keep increasing, with no gaps and no overlap)assert, so reference sums match bit for bitSafeunpickler that only allowspandas,numpyandbuiltins.slice(plainpickle.loadcan run arbitrary code)tools/generator/README.mdcovering usage, parameters, output format, why channel 60 and the 30 s step were chosen, and expected sizes (1Ggives 2 copies, 1.29 GB)