Tool: set_swift_id

Description

This tool sets the Swift obs/target IDs in Swift telemetry. It adjusts the values in packets with tertiary headers as well as in the first page of an LDP. Note this tool will not work on UVOT segmented packets. Such packets must first be merged. Note also that it only adjusts the values in headers. In particular it does not touch the obs/target ID embedded in the data of ACS packets.

Option Summary

OptionArgument TypeDefault Value
-24_target Integer 0
-8_obs Integer 1
-apid_list String swift_apids.list
-infile String -
-outfile 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

24_target Integer (default = 0)
The 24 bit target ID to use.

8_obs Integer (default = 1)
The 8 bit obs ID to use.

apid_list String (default = swift_apids.list)
The name of a SwiftTypedPacketReader configuration file, listing packet types by APID.

infile String (default = -)
File containing CCSDS telemetry to be updated.

outfile String (default = -)
File which will contain the modified telemetry.