Tool: split_by_apid

Description

Splits a stream of packets by APID, writing each APID to a different file. If the output files exist, then this tool will append to them.

Option Summary

OptionArgument TypeDefault Value
-dir String .
-format String apid_0x%03x.ccsds
-infile String -

Only the initial unique characters of each option are significant. Each option must be followed by an argument of the given type. Boolean "true" and "false" are indicated with "y" and "n" respectively. A boolean option without a value is assumed to be "true". For filename arguments, "-" means either stdin or stdout as appropriate. Each option is described in detail below.

Parameters

dir String (default = .)
The directory where the output files shoudl be written.

format String (default = apid_0x%03x.ccsds)
A C printf format specification of the filename, with the APID given as an integer argument.

infile String (default = -)
The file containing packets to be sorted.