CKBRIEF User's Guide |
Table of ContentsCKBRIEF User's Guide Abstract Summary Usage Helpful Hints for Those in a Hurry Ways to Provide File Names Default Summary Format Options Controlling Output Summary Format Displaying Interpolation Intervals (``-dump'') Displaying Segment Boundaries (``-nm'') Displaying Relative-to-Frames (``-rel'') Displaying Frames Associated with Structure IDs (``-n'') Displaying Summary in a Tabular Format (``-t'') Displaying Tabular Summary Grouped by Coverage (``-g'') Specifying Multiple Options Controlling Output Format Options Controlling Output Time Format Displaying Times in UTC Calendar Date Format (``-utc'') Displaying Times in UTC Day-of-Year Format (``-utcdoy'') Displaying Times as SCLK Strings (``-sclk'') Displaying Times as Encoded SCLKs (``-dpsclk'') Miscellaneous Options Filtering for a Specified Structure ID (``[ID]'') Summarizing Kernels Listed in a File (``-f [list]'') Displaying Help and Version (``-h'' and ``-v'') Troubleshooting CKBRIEF User's Guide
Abstract
Summary
Usage
ckbrief [-options] file [file ...]where [file]s are binary CK files and text kernels needed to support time conversion (LSK and SCLKs), or containing frame definitions (FKs), provided in any order. The options are:
-dump display interpolation intervals boundaries -nm display segment boundaries -rel display relative-to frames -n display frames associated with structure IDs -t display summary in a tabular format -g display summary grouped by coverage -utc display times in UTC calendar date format -utcdoy display times in UTC day-of-year format -sclk display times as SCLK strings -dpsclk display times as SCLK ticks [ID] display summary for structure with [ID] -f [list] summarize kernels listed in the [list] file -h display help -v display versionThe options can be provided in any order and can appear before, after, or intermixed with file names. The case of option keys is significant -- they must be lowercase as shown above. While any option can be provided together with any other option or a combination of options, some options will override others. For specific information on this refer to the sections of this document describing individual options in detail. If the command line is blank, the program displays usage. If the command line contains a token that is not the name of an existing file or a recognized option, the program displays help. Helpful Hints for Those in a Hurry
Ways to Provide File Names
Default Summary Format
The example below illustrates CKBRIEF's default output. This example should be used as a reference when examining the examples in later sections of this document discussing various options. The output summary lines in this example and all other examples in this document were truncated to 69 characters to fit in the maximum page width allowed for this User's Guide. If CKBRIEF is run to display the default summary for two binary CK files -- ``m01_sc.bc'', containing orientation data for the 2001 Mars Odyssey (M01) spacecraft and ``m01_hga.bc'', containing orientation data for the M01 High Gain Antenna (HGA), -- with the LSK file ``naif0009.tls'' and the SCLK file ``m01.tsc'' files provided to support time conversions, it will generate the following summary:
> ckbrief m01_sc.bc m01_hga.bc m01.tsc naif0009.tls CKBRIEF -- Version 5.0.0, February 11, 2009 -- Toolkit Version N0062 Summary for: m01_sc.bc Object: -53000 Interval Begin ET Interval End ET AV ------------------------ ------------------------ --- 2007-JAN-01 00:01:08.296 2007-APR-01 00:01:01.564 Y Summary for: m01_hga.bc Object: -53211 Interval Begin ET Interval End ET AV ------------------------ ------------------------ --- 2007-JAN-01 00:01:57.468 2007-MAR-31 23:58:58.431 Y Object: -53212 Interval Begin ET Interval End ET AV ------------------------ ------------------------ --- 2007-JAN-01 00:01:57.468 2007-MAR-31 23:58:58.431 Y Options Controlling Output Summary Format
Displaying Interpolation Intervals (``-dump'')
> ckbrief -dump m01_sc.bc m01.tsc naif0009.tls CKBRIEF -- Version 5.0.0, February 11, 2009 -- Toolkit Version N0062 Summary for: m01_sc.bc Segment No.: 1 Object: -53000 Interval Begin ET Interval End ET AV ------------------------ ------------------------ --- 2007-JAN-01 00:01:08.296 2007-JAN-01 06:35:52.430 Y 2007-JAN-01 06:40:16.430 2007-JAN-01 12:54:46.269 Y 2007-JAN-01 12:58:16.269 2007-JAN-03 06:27:52.809 Y 2007-JAN-03 06:28:58.809 2007-JAN-03 06:30:46.808 Y 2007-JAN-03 06:35:16.808 2007-JAN-03 06:42:04.803 Y ... Segment No.: 18 Object: -53000 Interval Begin ET Interval End ET AV ------------------------ ------------------------ --- 2007-MAR-29 04:20:23.895 2007-MAR-29 18:36:23.126 Y 2007-MAR-29 19:17:35.110 2007-MAR-29 20:32:13.677 Y 2007-MAR-29 20:34:05.075 2007-APR-01 00:01:01.564 Y Displaying Segment Boundaries (``-nm'')
> ckbrief -nm m01_hga.bc m01.tsc naif0009.tls CKBRIEF -- Version 5.0.0, February 11, 2009 -- Toolkit Version N0062 Summary for: m01_hga.bc Object: -53211 Interval Begin ET Interval End ET AV ------------------------ ------------------------ --- 2007-JAN-01 00:01:57.468 2007-MAR-15 11:53:47.032 Y 2007-MAR-15 11:53:47.032 2007-MAR-31 23:58:58.431 Y Object: -53212 Interval Begin ET Interval End ET AV ------------------------ ------------------------ --- 2007-JAN-01 00:01:57.468 2007-MAR-15 11:53:47.032 Y 2007-MAR-15 11:53:47.032 2007-MAR-31 23:58:58.431 YAs with the default summary, the coverage displayed in this summary is based on segment descriptor information rather than on interpolation intervals from the file segments, meaning that there may be gaps within these coverage periods. Displaying Relative-to-Frames (``-rel'')
> ckbrief -rel m01_hga.bc m01.tsc naif0009.tls CKBRIEF -- Version 5.0.0, February 11, 2009 -- Toolkit Version N0062 Summary for: m01_hga.bc Object: -53211 Interval Begin ET Interval End ET AV Relative to F ------------------------ ------------------------ --- ------------- 2007-JAN-01 00:01:57.468 2007-MAR-31 23:58:58.431 Y -53210 Object: -53212 Interval Begin ET Interval End ET AV Relative to F ------------------------ ------------------------ --- ------------- 2007-JAN-01 00:01:57.468 2007-MAR-31 23:58:58.431 Y -53211 > ckbrief -rel m01_hga.bc m01.tsc naif0009.tls m01.tf CKBRIEF -- Version 5.0.0, February 11, 2009 -- Toolkit Version N0062 Summary for: m01_hga.bc Object: -53211 Interval Begin ET Interval End ET AV Relative to F ------------------------ ------------------------ --- ------------- 2007-JAN-01 00:01:57.468 2007-MAR-31 23:58:58.431 Y M01_HGA_BOOM Object: -53212 Interval Begin ET Interval End ET AV Relative to F ------------------------ ------------------------ --- ------------- 2007-JAN-01 00:01:57.468 2007-MAR-31 23:58:58.431 Y M01_HGA_INNERIf a CK file contains segments that provide data for the same structure but with respect to different frames, the word ``MIXED'' is displayed in the right column instead of the frame name or ID. Displaying Frames Associated with Structure IDs (``-n'')
> ckbrief -n m01_hga.bc m01.tsc naif0009.tls CKBRIEF -- Version 5.0.0, February 11, 2009 -- Toolkit Version N0062 Summary for: m01_hga.bc Frame: NO FRAME FOR -53211 Interval Begin ET Interval End ET AV ------------------------ ------------------------ --- 2007-JAN-01 00:01:57.468 2007-MAR-31 23:58:58.431 Y Frame: NO FRAME FOR -53212 Interval Begin ET Interval End ET AV ------------------------ ------------------------ --- 2007-JAN-01 00:01:57.468 2007-MAR-31 23:58:58.431 Y > ckbrief -n m01_hga.bc m01.tsc naif0009.tls m01.tf CKBRIEF -- Version 5.0.0, February 11, 2009 -- Toolkit Version N0062 Summary for: m01_hga.bc Frame: M01_HGA_INNER_GIMBAL Interval Begin ET Interval End ET AV ------------------------ ------------------------ --- 2007-JAN-01 00:01:57.468 2007-MAR-31 23:58:58.431 Y Frame: M01_HGA_OUTER_GIMBAL Interval Begin ET Interval End ET AV ------------------------ ------------------------ --- 2007-JAN-01 00:01:57.468 2007-MAR-31 23:58:58.431 Y Displaying Summary in a Tabular Format (``-t'')
> ckbrief -t m01_hga.bc m01.tsc naif0009.tls CKBRIEF -- Version 5.0.0, February 11, 2009 -- Toolkit Version N0062 Summary for: m01_hga.bc Objects Interval Begin ET Interval End ET AV -------- ------------------------ ------------------------ --- -53211 2007-JAN-01 00:01:57.468 2007-MAR-31 23:58:58.431 Y -53212 -- same -- -- same -- Y Displaying Tabular Summary Grouped by Coverage (``-g'')
> ckbrief -g m01_hga.bc m01.tsc naif0009.tls CKBRIEF -- Version 5.0.0, February 11, 2009 -- Toolkit Version N0062 Summary for: m01_hga.bc Begin ET: 2007-JAN-01 00:01:57.468 End ET: 2007-MAR-31 23:58:58.431 Objects: -53211 -53212 Specifying Multiple Options Controlling Output Format
Options Controlling Output Time Format
In order for the program to display times in the default format or any other format (except encoded SCLK), both an LSK file and an SCLK file containing required time correlation data must be provided on the command line, in a list file (specified with the option ``-f'' described later in this document), or in a meta-kernel file given on the command line or in the list file. When multiple options controlling the output time format are given at the same time, the option specified last on the command line takes precedence. Displaying Times in UTC Calendar Date Format (``-utc'')
> ckbrief -utc m01_sc.bc m01.tsc naif0009.tls CKBRIEF -- Version 5.0.0, February 11, 2009 -- Toolkit Version N0062 Summary for: m01_sc.bc Object: -53000 Interval Begin UTC Interval End UTC AV ------------------------ ------------------------ --- 2007-JAN-01 00:00:03.112 2007-MAR-31 23:59:56.378 YNote the UTC tag format is identical to the format of ET times; the fact that the tags are UTCs is reflected in the table header. Displaying Times in UTC Day-of-Year Format (``-utcdoy'')
> ckbrief -utcdoy m01_sc.bc m01.tsc naif0009.tls CKBRIEF -- Version 5.0.0, February 11, 2009 -- Toolkit Version N0062 Summary for: m01_sc.bc Object: -53000 Interval Begin UTC/DOY Interval End UTC/DOY AV ------------------------ ------------------------ --- 2007-001 // 00:00:03.112 2007-090 // 23:59:56.378 Y Displaying Times as SCLK Strings (``-sclk'')
> ckbrief -sclk m01_sc.bc m01.tsc naif0009.tls CKBRIEF -- Version 5.0.0, February 11, 2009 -- Toolkit Version N0062 Summary for: m01_sc.bc Object: -53000 Interval Begin SCLK Interval End SCLK AV ------------------------ ------------------------ --- 2/0852077102.124 2/0859853107.255 Y Displaying Times as Encoded SCLKs (``-dpsclk'')
> ckbrief -dpsclk m01_sc.bc m01.tsc naif0009.tls CKBRIEF -- Version 5.0.0, February 11, 2009 -- Toolkit Version N0062 Summary for: m01_sc.bc Object: -53000 Interval Begin TICKS Interval End TICKS AV ------------------------ ------------------------ --- 218131739502. 220122396913. Y Miscellaneous Options
Filtering for a Specified Structure ID (``[ID]'')
> ckbrief -53000 m01_sc.bc m01_hga.bc m01.tsc naif0009.tls CKBRIEF -- Version 5.0.0, February 11, 2009 -- Toolkit Version N0062 Summary for: m01_sc.bc Object: -53000 Interval Begin ET Interval End ET AV ------------------------ ------------------------ --- 2007-JAN-01 00:01:08.296 2007-APR-01 00:01:01.564 Y No data for specified objects in m01_hga.bc Summarizing Kernels Listed in a File (``-f [list]'')
m01_sc.bc m01_hga.bcis provided to CKBRIEF using this option, the program displays a summary for these two CKs as if they were provided on the command line:
> ckbrief -f ck_list.txt m01.tsc naif0009.tls CKBRIEF -- Version 5.0.0, February 11, 2009 -- Toolkit Version N0062 Summary for: m01_hga.bc Object: -53211 Interval Begin ET Interval End ET AV ------------------------ ------------------------ --- 2007-JAN-01 00:01:57.468 2007-MAR-31 23:58:58.431 Y Object: -53212 Interval Begin ET Interval End ET AV ------------------------ ------------------------ --- 2007-JAN-01 00:01:57.468 2007-MAR-31 23:58:58.431 Y Summary for: m01_sc.bc Object: -53000 Interval Begin ET Interval End ET AV ------------------------ ------------------------ --- 2007-JAN-01 00:01:08.296 2007-APR-01 00:01:01.564 YThis option is useful when there is a need to produce a summary for a large number of files whose names, if put all together on the command line, may overflow either the terminal shell buffer or CKBRIEF's command line buffer. In such cases a simple listing of these files can be made and provided to CKBRIEF using the ``-f'' option. The list file name specified after ``-f'' must be separated from ``-f'' by one or more spaces, i.e. ``-f FILE'' not ``-fFILE''. The list file may include only the names of binary CK files and text kernels. The file names can be provided one-per-line or a few-per-line separated by one or more spaces. The file may include blank lines. IMPORTANT: All lines in the list file, including the last line, must be terminated with the line terminators native to the computer platform on which the program is run. When a list file is provided to the program, additional files to be summarized can still be listed on the command line. If ``-f'' is provided more than once, only the list file provided using the last occurrence of this option is considered and all earlier ones are ignored. Displaying Help and Version (``-h'' and ``-v'')
The ``-h'' option tells CKBRIEF to display a more complete usage message listing all options. This display is similar to the text provided in the ``Usage'' section of this document. When ``-h'' is specified, CKBRIEF ignores any other options and/or file names specified on the command line. The ``-v'' option tells CKBRIEF to display just the version line that is normally displayed at the top of every summary produced by the program. This option is ignored if ``-h'' or any file names are provided. Troubleshooting
The CKBRIEF command line buffer can hold up to 25,000 characters. If the command line is longer than 25,000 characters it gets truncated. The truncation most frequently happens in the middle of a file name resulting in the ``SPICE(FILENOTFOUND)'' error being signaled. To fix this situation the number of files provided on the command line should be reduced, or a list file listing all required files should be created and provided with the ``-f'' option. When CKBRIEF coverage information buffers overflow due to too many segments present in a file (for any summary run) or too many intervals present in a single segment (for summaries with ``-dump''), CKBRIEF displays the ``SPICE(BUFFEROVERRUN1/2)'' or the ``SPICE(WINDOWEXCESS)'' error. If this happens, the user must contact NAIF because the situation cannot be fixed by the user.
|