CKSMRG User's Guide =========================================================================== Last revised on 2010 JUN 03 by B. V. Semenov. Abstract -------------------------------------------------------- CKSMRG is a command-line program that merges segments in Type 3 CK files. Summary -------------------------------------------------------- CKSMRG is a program that takes an existing type 3 CK file, finds in it all segments that match a specified structure/reference pair, merges the data from these segments, and writes merged segment(s) out to an output Type 3 CK file. While doing this, it re-computes interpolation intervals boundaries based on a specified tolerance, regenerates, if requested, angular rates and optionally applies a time offset to the input CK time tags. CKSMRG can also down sample input CK data to produce output CK file of a smaller size matching the attitude in the input CK at or better than specified angular threshold. Normally this program is used to merge segments in the CK files that were created from the same input data stream, for example daily CKs created from orientation telemetry. In some cases a few CKs must be concatenated together using DAFCAT and resulting concatenated file should then be used as CKSMRG input. NAIF strongly advises to NOT use this program to merge CKs containing data that came from two or more different input data streams, for example reconstructed and predicted CKs. Usage -------------------------------------------------------- To make a new type 3 CK file containing a merged segment(s) for a set of homogeneous type 3 segments from an existing CK file: > CKSMRG -K|-KERNELS -I|-INPUT -O|-OUTPUT -S|-SEGID -F|-FILEID -B|-BODY -R|-REFERENCE -A|-AV -T|-TOLERANCE [-C|-CORRECTION