HK-ASCII format is a human-readable text-based table format for storing IRAC Housekeeping and Special Engineering Data. The HK data analysis programs HKHisto and HK2D require this format as input. The data base query program HKQuery accepts the format as input and produces it by default as output (it can also read and produce FITS files).
A portion of a sample HK-ASCII format file is given below:
# HK-ASCII
#
# HK-TRACK: User: spitzak
# HK-TRACK: Program: HKQuery 1.0
# HK-TRACK: Command: HKQuery -e CTTEMP,CTTEMP6 -m ../report_integrated.txt
# HK-TRACK: Input file: ../20020518_lff_a.hk.fit
SCLK (TDOUBLE) SCET (TSTRING:21) CTTEMP (TINT32BIT) CTTEMP6 (TINT32BIT)
D 706212179.1340000629 2002/138-18:02:59.134 9854 51129
D 706212209.1340000629 2002/138-18:03:29.134 9855 51129
D 706212239.1340000629 2002/138-18:03:59.134 9857 51129
D 706212269.1579999924 2002/138-18:04:29.158 9858 51129
D 706212299.1340000629 2002/138-18:04:59.134 9859 51129
D 706212329.1340000629 2002/138-18:05:29.134 9861 51129
E 706212350.5102100372 2002/138-18:05:50.510 SEQ4 VM_DELAY_TAG 00 00 00 03 I
E 706212358.5116100311 2002/138-18:05:58.512 SEQ4 IRAC_FPE_READOUT f0 (FPA1ON_FPA2ON_FPA3ON_FPA4ON_Full_Array) 00
D 706212359.1340000629 2002/138-18:05:59.134 9863 51129
E 706212360.5094599724 2002/138-18:06:00.509 SEQ4 IRAC_DOIT 00 00 00 27 '9..!
D 706212389.1340000629 2002/138-18:06:29.134 9864 51129
D 706212419.1340000629 2002/138-18:06:59.134 9866 51129
D 706212449.1340000629 2002/138-18:07:29.134 9867 51129
E 706212461.5107300282 2002/138-18:07:41.511 SEQ4 VM_DELAY_TAG 00 00 00 03 I
E 706212469.5127700567 2002/138-18:07:49.513 SEQ4 IRAC_DOIT 00 00 00 27 '9.."
D 706212479.1340000629 2002/138-18:07:59.134 9868 51129
D 706212509.1570000648 2002/138-18:08:29.157 9870 51129
D 706212539.1340000629 2002/138-18:08:59.134 9872 51129
This sample shows the three major components of an HK-ASCII file:
Note that in general a "#" as the first character in a line identifies that line as
a comment. These can appear anywhere in an HK-ASCII file, and may be added to denote
parts of a file of specific interest. However, any line beginning with the characters
"# HK" will be considered part of the header information.
Under most circumstances the first two data items in the table header will be
the floating point time "SCLK" and its character string translation "SCET". All HK
programs use the SCLK to track time - the SCET is provided only for readability.