sc_time
This utility converts the spacecraft time stamp into something more
intelligible. This routine only uses the first 32 bits of the 42 bit
timestamp, so you will only get an accuracy of 0.125 seconds. The
timestamp occurs in each packet and starts at byte number 11. You
can enter the timecode in hex, just as it appears in a dump of
the packet, or you can enter the timecode in MJD format using
a special option.
Format:
$sc_time mjd_time -m | 32_bit_time_code_in_hex -y trans_time_year
Inputs
The ipppssoot.dvx provides the HST timestamp in hexidecimal. Thus:
NHSTTIME= 3359197932 / NIC 57 60 0 7 C8394AECx
The HST hexidecimal time stamp is located at the end of the line,
C8394AEC.
Use the predicted start time, 2003, of the observation for
the veh_time_coef.trans_time window. The predicted start time can be found in the keyword, PSTRTIME, in the ipppssoot.dgx file.
$ sc_time C8394AEC -y 2003
Using veh_time_coeff.trans_time window for year, 2003
mjd = 52865.921517 (2003226220659)
Outputs
Examples
$ sc_time
This command displays the syntax of the command
$sc_time 61831BFD -y 1996
mjd = 50372.843398 (1996290201430)
$sc_time 50372.843398 -m
mjd = 50372.843398 (1996290201430)