Home

Quick Links

Software Manual
GitHub
API Reference

Documentation Versions

Public Release
8.3.0
8.2.0
8.1.0
8.0.0
7.2.0
7.1.0
7.0.0
6.0.0
3.9.0
3.5.0
USGS

ISIS Application Documentation


messspkgen

Printer Friendly View | TOC | Home

Generates MESSENGER SPKs

Overview Parameters

Description

Generates MESSENGER SPKs from the output of kerneldbgen and the NAIF utility commnt.

This program was created to help automate the process of generating new SPK DB files for the MESSENGER mission, as the output from the ISIS program kerneldbgen requires some further tweaking in order to be fully accurate. Specifically, it sets the end date of the reconstructed time period far into the future, which should be moved into a separate predicted section.

This program creates the predicted section. In order to determine the proper end time for the reconstructed range (and start time for the predicted range), a NAIF utilitt known as commnt is used (available as part of ISIS). Prior to running this program, the user should run commnt as shown in the following example:

        commnt -r msgr_20040803_20120401_od233sc_0.bsp
      
Here, replace the argument with whatever the most recent BSP file happens to be. This will, however, dump far more information than this program is actually interested in. To get the relevant end time, pipe the output of commnt into the following:
        grep -A 1 "Orbit" | sed -n "2p"
      
An example of all this can be found in the downloadMessengerKernels script.

This program will typically be run automatically, and update the most recent DB file (generated by kerneldbgen) in place. The user optionally specify any UTC time or any output file, not conforming to the process laid out above.


Categories


History

Travis Addair2011-11-16 Original version

Parameter Groups

Files

Name Description
FROM Input SPK kernel.xxxx.db file
TO Output SPK kernel.xxxx.db file
TIME The UTC time marking the transition from Reconstructed to Predicted
X

Files: FROM


Description

The incomplete SPK DB file generated by kerneldbgen. This file will be added to in order to make a complete DB file, separating out part of the Reconstructed group to a separate Predicted group. Defaulted to use $ISISDATA/messenger/kernels/spk/kernels.????.db.

Type filename
File Mode input
Internal Default Automatic
Filter *.db
Close Window
X

Files: TO


Description

The new DB file, the result of extracting parts of the Reconstructed group out into a Predicted group. Defaulted to modify the input file in place.

Type filename
File Mode output
Internal Default Automatic
Filter *.db
Close Window
X

Files: TIME


Description

This string should be formatted as a UTC time that will then be transformed into a TDB time. This format in particular is expected, as this value is expected to come from running the NAIF utility commnt on the most recent BSP and extracting the orbit date cut-off time.

This time will be used to take the existing end time from the Reconstructed group, set it to be the end time for the Predicted group, and then this time will mark the correct end time for the Reconstructed group and beginning of the Predicted group.

Type string
Close Window