 
 
DIF and DII SPK file for Tempel 1 Encounter, OPNAV Solution V3 Adjusted by SDC
===========================================================================
 
     Created by Brian Carcich, DI Science Data Center (SDC), Cornell
     University on February 17, 2006. Comments were augmented by Boris
     Semenov on February 21, 2006.
 
 
Objects in the Ephemeris
--------------------------------------------------------
 
     This file contains ephemeris data for Deep Impact Flyby (DIF)
     spacecraft (NAIF ID -140), Deep Impact Impactor (DII) spacecraft
     (NAIF ID -70), and DI primary mission target comet Tempel 1 (NAIF
     ID 1000093) for the two days period around Tempel 1 encounter on
     the July 4, 2005.
 
     In addition to the data for the two spacecraft and comet this SPK also
     contains two segments with data for dummy bodies with IDs 8999999
     and 1000093001. These segments are used to incorporate offset
     between the impact site (which was the center for DIF and DII
     trajectory in the original OPNAV file "di_finalenc_nav_v3.bsp")
     and the comet center.
 
 
Important Notes
--------------------------------------------------------
 
     Neither dummy body with ID 8999999 not dummy body with ID
     1000093001 have a special meaning (such as for example impact site
     or center of figure). They are included in the file for sole
     purpose of providing correct, behind the scenes offsets for
     computing positions of the DIF and DII spacecraft relative to the
     center of Tempel 1.
 
     Since one of the offset segments in this file contain position
     with respect to the Tempel 1 body-fixed frame, this SPK must be
     used with Tempel 1 PCK "di_tempel1_v01.tpc" (included for the
     reference in the Appendix 2 of these comments), with which this
     offset was computed.
 
 
Approximate Time Coverage
--------------------------------------------------------
 
     The DIF and DII trajectories and comet Tempel 1 ephemerides
     provided in this file cover the following time spans:
 
     Deep Impact Impactor Spacecraft (-70):
 
        COVERAGE BEGIN TIME (TDB):   2005 JUL 03 06:16:04.184
        COVERAGE END TIME (TDB):     2005 JUL 04 05:46:38.184
 
     Deep Impact Flyby Spacecraft (-140):
 
        COVERAGE BEGIN TIME (TDB):   2005 JUL 03 06:16:04.184
        COVERAGE END TIME (TDB):     2005 JUL 05 05:45:34.183
 
     Comet Tempel 1 (1000093):
 
        COVERAGE BEGIN TIME (TDB):   2005 JUL 03 06:16:04.184
        COVERAGE END TIME (TDB):     2005 JUL 05 05:46:38.183
 
     Note that the coverage for DII extends about 1 minute past the
     impact time (2005-Jul-04 05:44:34.200 UTC) with the trajectory
     continuing as if the spacecraft flew through the comet.
 
 
Status
--------------------------------------------------------
 
     This file was created by Brian Carcich, SDC, Cornell University to
     provide trajectory of DIF and DII relative to Tempel 1 center (vs.
     impact site provided in the OPNAV solution) adequate for
     processing of the images taken during close encounter.
 
 
Pedigree
--------------------------------------------------------
 
     The mechanics of "adjusting" original "di_finalenc_nav_v3.bsp"
     SPK file to get this SPK included the following steps:
 
         -- making first temporary SPK file providing fixed offset of
            body 1000093001 with respect to body 1000093000 in
            TEMPEL_FIXED frame using MKSPK program
 
         -- merging this file with the original NAV SPK
            "di_finalenc_nav_v3.bsp" using SPKMERGE program
 
         -- replacing Tempel 1 (1000093) as center of motion in DIF and
            DII segments of the merged SPK with body 1000093001 using
            BSPIDMOD program
 
         -- replacing 1000093000 as center of motion in newly added fixed
            offset segment in the merged SPK file with Tempel 1
            (1000093) using BSPIDMOD program
 
         -- replacing all occurrences of Tempel 1 (1000093), both as
            center in the newly added fixed offset segment and as
            target in the comet ephemeris segment, in the merged SPK
            file with 8999999 using BSPIDMOD program
 
         -- making second temporary SPK file providing fixed offset of
            body Tempel 1 (1000093) with respect to body 8999999 in
            J2000 frame using MKSPK program
 
         -- merging the second temporary SPK into the merged SPK using
            SPK merge to produce this SPK.
 
     The offsets stored in the first and seconds temporary SPK were
     derived by processing encounter images in combination with Tempel
     1 shape and rotation data derived by Peter Thomas.
 
     The completed traceback of these steps generated by various programs
     used in the process is provided in the Appendix 1.
 
 
Contacts
--------------------------------------------------------
 
     If you have questions regarding this data contact
 
 
        (818)-393-1101
        Daniel.G.Kubitschek@jpl.nasa.gov
 
     or
 
        Boris Semenov
        (818)-354-8136
        Boris.Semenov@jpl.nasa.gov
 
 
Appendix 1: Original Comments
--------------------------------------------------------
 
; ./di_finalenc_nav_v3_to2006048.bsp LOG FILE
 
; Created 2006-02-17/02:29:39.00.
;
; BEGIN SPKMERGE COMMANDS
 
LEAPSECONDS_KERNEL   = naif0008.tls
 
SPK_KERNEL           = ./di_finalenc_nav_v3_to2006048.bsp
  SOURCE_SPK_KERNEL  = _2006048.13679.tmpoffset.bsp
    INCLUDE_COMMENTS = YES
    BODIES           = 1000093
    BEGIN_TIME       = 2005 JUL 03 06:15:00.000
    END_TIME         = 2005 JUL 05 05:45:33.999
  SOURCE_SPK_KERNEL  = _2006048.13679.tmpdumy.bsp
    INCLUDE_COMMENTS = NO
    BODIES           = 8999999
    BEGIN_TIME       = 2005 JUL 03 06:15:00.000
    END_TIME         = 2005 JUL 05 05:45:34.000
  SOURCE_SPK_KERNEL  = _2006048.13679.tmpdumy.bsp
    INCLUDE_COMMENTS = NO
    BODIES           = -140
    BEGIN_TIME       = 2005 JUL 03 06:15:00.000
    END_TIME         = 2005 JUL 05 05:44:30.000
  SOURCE_SPK_KERNEL  = _2006048.13679.tmpdumy.bsp
    INCLUDE_COMMENTS = NO
    BODIES           = -70
    BEGIN_TIME       = 2005 JUL 03 06:15:00.000
    END_TIME         = 2005 JUL 04 05:45:34.000
  SOURCE_SPK_KERNEL  = _2006048.13679.tmpdumy.bsp
    INCLUDE_COMMENTS = NO
    BODIES           = 1000093001
    BEGIN_TIME       = 2005 JUL 03 06:15:00.000
    END_TIME         = 2005 JUL 05 05:45:33.999
 
; END SPKMERGE COMMANDS
 
 
********************************************************************************
MKSPK RUN DATE/TIME: 2006-02-17T02:29:39
MKSPK SETUP FILE:    _2006048.13679.mkspk.setup.tmp
MKSPK INPUT FILE:    _2006048.13679.mkspk.inp.tmp
MKSPK OUTPUT FILE:   _2006048.13679.tmpoffset.bsp
OUTPUT FILE STATUS:  NEW FILE
********************************************************************************
 
************************************************************************
PRODUCT_CREATION_TIME=2006-048T07:29:39
 
(The creation time above is UTC)
************************************************************************
\begindata
INPUT_DATA_TYPE   = 'STATES'
INPUT_DATA_FILE   = '_2006048.13679.mkspk.inp.tmp'
OUTPUT_SPK_FILE   = '_2006048.13679.tmpoffset.bsp'
OUTPUT_SPK_TYPE   = 8
OBJECT_ID         = 1000093
CENTER_ID         = 8999999
REF_FRAME_NAME    = 'J2000'
PRODUCER_ID       = 'B. Carcich, FindTrueComet process'
DATA_ORDER        = 'EPOCH X Y Z VX VY VZ'
INPUT_DATA_UNITS  = ('ANGLES=DEGREES' 'DISTANCES=km')
DATA_DELIMITER    = ','
LINES_PER_RECORD  = 1
IGNORE_FIRST_LINE = 1
LEAPSECONDS_FILE  = 'naif0008.tls'
POLYNOM_DEGREE    = 1
TIME_WRAPPER      = '# TDB'
\begintext
 
********************************************************************************
 
************************************************************************
Script
 
  ./maketempelspk.sh
 
(if relative, then relative to path
 
  /usr/home/carcich/src/idl/spiceoffsetbsp
 
) created this binary SP-Kernel to provide a way to offset a target
body from its nominal trajectory.  The idea is to put a fixed offset
into this kernel between a CENTER body
(in this case NAIF ID 8999999) and a target body
(in this case NAIF ID 1000093).  This kernel has
then been merged with a version of the nominal trajectory for that
target body modified such that the target ID 1000093
is replaced with 8999999.  When that merged kernel is
loaded into SPICE, all references to
 
    1000093
 
will be offset by a vector
 
  [0.4672, -0.0600, -0.2370]
 
in km in J2000 coordinates relative to the original nominal kernel's
trajectories for that body i.e.
 
  1000093.
 
************************************************************************
C-Kernel and SCLK-Kernel used to determine this offset are
 
  dif_sc_050704_highrate.bc
 
and
 
  dif_sclkscet_00015_science.tsc
 
************************************************************************
The MKSPK input file for the offset section follows:
MKSPK input file giving a Tempel 1 (1000093) an offset from a dummy body (8999999)
2005 JUL 03 06:16:04.184,0.4672,-0.0600,-0.2370,0.0000000,0.0000000,0.0000000
2005 JUL 05 05:46:38.183,0.4672,-0.0600,-0.2370,0.0000000,0.0000000,0.0000000
************************************************************************
 
 
N.B. The offset above in J2000 coordinates is equivalent to this offset:
 
  [-0.4746, 0.1255, -0.1925]
 
in nominal B-plane coordinates, where
 
   X=Time Of Flight
   Y=Miss Distance i.e. toward target
   Z=Out Of Plane i.e. North
 
************************************************************************
The TCA to the original body location (8999999 in this kernel) is
 
  2005-185T05:58:44.746
 
The TCA to the offset body location (1000093 in this kernel) is
 
  2005-185T05:58:44.699
 
************************************************************************
 
************************************************************************
The file di_finalenc_nav_v3_plus.bsp, with object 1000093 changed to 8999999, was
merged with a fixed offset BSP to form this file
 
The original comments from the file di_finalenc_nav_v3_plus.bsp follow:
************************************************************************
 
; di_finalenc_nav_v3_plus.bsp LOG FILE
 
; Created 2006-02-17/00:15:27.00.
;
; BEGIN SPKMERGE COMMANDS
 
LEAPSECONDS_KERNEL   = naif0008.tls
 
SPK_KERNEL           = di_finalenc_nav_v3_plus.bsp
  SOURCE_SPK_KERNEL  = tempel_impact_site.bsp
    INCLUDE_COMMENTS = YES
    BODIES           = 1000093001
    BEGIN_TIME       = 2005 JUL 03 06:15:00.000
    END_TIME         = 2005 JUL 05 05:45:33.999
  SOURCE_SPK_KERNEL  = di_finalenc_nav_v3.bsp
    INCLUDE_COMMENTS = YES
    BODIES           = -70
    BEGIN_TIME       = 2005 JUL 03 06:15:00.000
    END_TIME         = 2005 JUL 04 05:45:34.000
  SOURCE_SPK_KERNEL  = di_finalenc_nav_v3.bsp
    INCLUDE_COMMENTS = YES
    BODIES           = -140
    BEGIN_TIME       = 2005 JUL 03 06:15:00.000
    END_TIME         = 2005 JUL 05 05:44:30.000
  SOURCE_SPK_KERNEL  = di_finalenc_nav_v3.bsp
    INCLUDE_COMMENTS = YES
    BODIES           = 1000093
    BEGIN_TIME       = 2005 JUL 03 06:15:00.000
    END_TIME         = 2005 JUL 05 05:45:34.000
 
; END SPKMERGE COMMANDS
 
 
********************************************************************************
MKSPK RUN DATE/TIME: 2006-02-17T00:15:27
MKSPK SETUP FILE:    mkspk.setup
MKSPK INPUT FILE:    mkspk.setup
MKSPK OUTPUT FILE:   tempel_impact_site.bsp
OUTPUT FILE STATUS:  NEW FILE
********************************************************************************
 
\begindata
INPUT_DATA_TYPE   = 'STATES'
INPUT_DATA_FILE   = 'mkspk.setup'
OUTPUT_SPK_FILE   = 'tempel_impact_site.bsp'
OUTPUT_SPK_TYPE   = 8
OBJECT_ID         = 1000093001
CENTER_ID         = 1000093000
FRAME_DEF_FILE    = 'di_v16.tf'
REF_FRAME_NAME    = 'TEMPEL_FIXED'
PRODUCER_ID       = 'B. Carcich'
DATA_ORDER        = 'EPOCH X Y Z VX VY VZ SKIP SKIP SKIP'
INPUT_DATA_UNITS  = ('ANGLES=DEGREES' 'DISTANCES=km')
DATA_DELIMITER    = ','
LINES_PER_RECORD  = 1
LEAPSECONDS_FILE  = 'naif0008.tls'
POLYNOM_DEGREE    = 1
TIME_WRAPPER      = '# TDB'
IGNORE_FIRST_LINE = 19
\begintext
2005 JUL 03 06:16:04.184,2.3827645,0.14072763,-1.3636826,0.0,0.0,0.0,R=2.749km,LAT=-29.74deg,WLon=356.62deg,
2005 JUL 05 05:46:38.183,2.3827645,0.14072763,-1.3636826,0.0,0.0,0.0,R=2.749km,LAT=-29.74deg,WLon=356.62deg,
 
********************************************************************************
; di_finalenc_nav_v3.bsp LOG FILE
 
; Created 2006-02-09/12:05:17.00.
;
; BEGIN SPKMERGE COMMANDS
 
LEAPSECONDS_KERNEL   = /home/kubi/spice/naif0007.tls
 
SPK_KERNEL           = di_finalenc_nav_v3.bsp
  SOURCE_SPK_KERNEL  = Deep_Impact_flyby-cometcenter.bsp
    INCLUDE_COMMENTS = NO
    BODIES           = 1000093
    BEGIN_TIME       = 2005 JUL 03 06:15:00.000
    END_TIME         = 2005 JUL 05 05:45:34.000
  SOURCE_SPK_KERNEL  = Deep_Impact_flyby-cometcenter.bsp
    INCLUDE_COMMENTS = NO
    BODIES           = -140
    BEGIN_TIME       = 2005 JUL 03 06:15:00.000
    END_TIME         = 2005 JUL 05 05:44:30.000
  SOURCE_SPK_KERNEL  = imp-recon-cometcenter3.bsp
    INCLUDE_COMMENTS = NO
    BODIES           = -70
    BEGIN_TIME       = 2005 JUL 03 06:15:00.000
    END_TIME         = 2005 JUL 04 05:45:34.000
 
; END SPKMERGE COMMANDS
=====================================================
   !!!!!!!!!!!!!!!!!!!Warning !!!!!!!!!!!!!!!!!
=====================================================
This file was modified by the SPICE program "BSPIDMOD".
 
Date and time modified: 2006-FEB-17 00:15:28
 
Every occurrence of a central body in a segment descriptor
with idcode 1000093 was changed to the value 1000093001.  This change
was performed on the segments in the following list.
 
Segments: 2 3 4 5 6 7
=====================================================
   !!!!!!!!!!!!!!!!!!!Warning !!!!!!!!!!!!!!!!!
=====================================================
This file was modified by the SPICE program "BSPIDMOD".
 
Date and time modified: 2006-FEB-17 00:15:28
 
Every occurrence of a central body in a segment descriptor
with idcode 1000093000 was changed to the value 1000093.  This change
was performed on the segments in the following list.
 
Segments: 1
 
************************************************************************
End of the original comments from the file di_finalenc_nav_v3_plus.bsp
************************************************************************
 
 
 
Appendix 2: PCK File "di_tempel1_v01.tpc"
--------------------------------------------------------
 
KPL/PCK
 
P_constants (PcK) SPICE kernel file
===========================================================================
 
     By: Brian Carcich, Cornell University  16-FEB-2006
 
 
Organization
--------------------------------------------------------
 
     The sections of this file are as follows.
 
     Introductory Information:
 
         --   Version description
 
         --   Disclaimer
 
         --   Sources
 
     Pck Data:
 
         --   Orientation constants for Comet 9P/Tempel 1
 
         --   Radii for Comet 9P/Tempel 1
 
 
Version description
--------------------------------------------------------
 
     This file was created on February 16, 2006
 
     This PCK contains 9P/Tempel 1 rotation constants and radii derived
     by Peter Thomas, Cornell University as the result of post mission
     analysis of Deep Impact data.
 
 
Disclaimer
--------------------------------------------------------
 
     This constants file may not contain the parameter values that you
     prefer. Note that this file may be readily modified by you or
     anyone else. NAIF suggests that you inspect this file visually
     before proceeding with any critical or extended data processing.
 
     NAIF requests that you update the `by line' and date if you modify
     the file.
 
 
Sources
--------------------------------------------------------
 
     The sources for the constants listed in this file are:
 
        1) Peter Thomas, Cornell University
 
 
Orientation constants for Comet 9P/Tempel 1
--------------------------------------------------------
 
     The inertial reference frame for these constants is J2000; this is
     the default reference frame for PCK orientation data.
 
     The epoch of the constants is J2000; this is Julian ephemeris date
     (JED) 2451545.0.
 
     The NAIF integer code for 9P/Tempel 1 is 1000093. See the NAIF_IDs
     required reading for further information on NAIF integer codes.
 
     The 9P/Tempel 1 rotation constants below were derived by Peter
     Thomas, Cornell University as the result of post mission analysis
     of Deep Impact data.
 
     \begindata
 
        BODY1000093_POLE_RA  = (   293.8029312223    0.0           0.0 )
        BODY1000093_POLE_DEC = (    72.6186911772    0.0           0.0 )
        BODY1000093_PM       = (   252.630000000   212.0640900000  0.0 )
 
     \begintext
 
 
Radii for Comet 9P/Tempel 1
--------------------------------------------------------
 
     The radii provided in the keyword below are
 
          a/b/c = 3.1km/2.1km/2.1km
 
     \begindata
 
        BODY1000093_RADII    = (     3.1             2.1           2.1 )
 
     \begintext
 
