USGS

Isis 2 Documentation


makespk09 Documentation

makespk09 - Convert Lunar Orbiter support data to Naif spk
This program reads an ascii table of Lunar Orbiter support data and
writes the spacecraft positions to a NAIF type-9 spacecraft/planet
kernel.  See the level 2 documentation on the SUPPORT file for the
column headings and format of the table.

After creating an spk, the NAIF program, commnt, should be run to
add comments to the file for documentation.

PROGRAMMER: Debbie A. Cook, U.S.G.S., Flagstaff

ParmDescriptionDefault
LOMISS
Lunar Orbiter mission number
4
LEAPFILE
Leapseconds kernel
"/usgs/isisd/data/mk98264a.tls"
PCKFILE
Planetary constants kernel
"/usgs/isisd/data/pck00005.tpc"
SUPPORT
Ascii table of support data
NONE
SPK09TO
Output NAIF type 9 SPK
(no default extension)
NONE
INSTID
NAIF instrument id
REFFRAM
NAIF inertial frame of spk data
"J2000"
SEGID
Segment identifier string
NONE

ADDITIONAL NOTES:

ParmDescription
LOMISS
This is the Lunar Orbiter spacecraft number that
will be translated to a NAIF instrument code and
used to specify the encoding of the spacecraft
clock time.
LEAPFILE
This is the NAIF leapseconds kernel file needed to
convert the start time in the geometry table to
ephemeris seconds past J2000 and finally to the
encoded spacecraft clock ticks stored in the output
c-kernel.
PCKFILE
This is the NAIF planetary constants file needed to
locate points on a planetary body.
SUPPORT
This file is an ASCII table extracted from the
Lunar Orbiter Photographic Supporting Data document.
It has the following columns: date, time, spacecraft
altitude, subspacecraft latitude, subspacecraft
longitude, tilt angle, tilt azimuth angle, and
swing angle.  All angles are in degrees and
distances are in km.  The endpoints of the table
will be deleted from the spk file, but will be used
to interpolate the rest of the states.
Table format:

yymmdd hhmmss.ss spalt splat splon tilt az swing frame
where yymmdd = last 2 digits of the year (67), followed
               by numeric month and day of the month
      hhmmss.ss = hour of the day, minutes past the hour,
                  and seconds to the nearest hundredth
      spalt = spacecraft altitude in km
      splat = subspacecraft latitude (ographic) degrees
      splon = subspacecraft longitude degrees
      tilt = spacecraft orientation tilt angle degrees
      az = spacecraft orientation tilt azimuth degrees
      swing = spacecraft orientation swing angle degrees
      frame = frame number

SPK09TO
This is the name of the NAIF type-09 spacecraft/planet
kernel.  It will the contain discreet pointing data
from the input in a single segment.
INSTID
This is the NAIF instrument id for the input data.
NAIF supported instrument id's are listed in the
file naif_ids.req.
     MISSION          instrument        id
 Lunar Orbiter 3        all           -533
 Lunar Orbiter 4        all           -534
 Lunar Orbiter 5        all           -535
REFFRAM
This is the NAIF code for the inertial frame of the
data.  Typical values are J2000 or B1950.
SEGID
This is an identifying string to reference the data.
Example:  "GLL SCAN PLT -- NAIF -- 18-NOV-90"
would identify a ck as Galileo Orbiter scan platform
pointing created by NAIF on November 18, 1990.

Last updated: Jan 31 2005
File: pdfs2.html

Contact us online at the Isis Support Center: http://isisdist.wr.usgs.gov

ISIS Documentation Home Page