ISP Extractor

The ISP Extractor (isp_extractor) extracts the values of ISP field(s) into a CSV text file.

ISP Extractor Options

  • -h [ –help ] : Displays options help

  • -v [ –version ] : Displays version information

  • –verbose : Display progress bar while processing the file

  • –schema arg : Schema of the ISP [REQUIRED]

  • –isp arg : ISP file [REQUIRED]

  • –fields arg : Text file containing the list of fields (one per line) to be extracted [REQUIRED]

  • -o arg ` [ `–output arg ] : Output file to store the CSV fields [REQUIRED]

  • –separator arg : The separator to be used in the output; if not provided ‘,’ is used by default [OPTIONAL]

  • –unavailable arg : The [integer] value to be used when a field does not exist; if not provided ‘0’ is used by default [OPTIONAL]

The ISP fields list, provided by using option –fields is a text file where each line contains the path to a field to be extracted. Lines started by # are ignored.

# ISP Identification
/Packet_Primary_Header/Packet_Identification/APID
/Packet_Primary_Header/Packet_Sequence_Ctrl/SSC
/Packet_Primary_Header/Packet_Data_Length
# ISP Data fields
/Packet_Data_Field/NAVATT_Packet_Secondary_Header/Time_Code_Field/Time_Code
/Packet_Data_Field/NAVATT_Packet_Secondary_Header/Time_Code_Field/Time_Code/Coarse_Time
/Packet_Data_Field/NAVATT_Packet_Secondary_Header/Time_Code_Field/Time_Code/Fine_Time
/Packet_Data_Field/NAVATT_User_Data_Field/ISP_Data/AOCS_Navigation_Data_ECI_J2000/Position_X
/Packet_Data_Field/NAVATT_User_Data_Field/ISP_Data/AOCS_Navigation_Data_ECI_J2000/Position_Y
/Packet_Data_Field/NAVATT_User_Data_Field/ISP_Data/AOCS_Navigation_Data_ECI_J2000/Position_Z