USGS

Isis 2 Documentation


spice2rand Documentation

spice2rand - Convert SPICE and match points to RAND format
This program will create two files to be sent to RAND.  The first file
will contain the SPICE information in RAND format and the second file
will contain the match points in RAND format.  The program will also
report the errors in fit between the match points for the current
camera angles on the labels.  These errors will be printed even if
the SPICE and MATCH files are not created.  Due to the limitations of
TAE, if more than 50 cubes are to be entered, they must be put into a
file and that file name is entered in FROMLIST.
NOTE: All cube files are opened read only, so it is safe to kill job!

PROGRAMMER: Kay Edwards, U.S.G.S., Flagstaff

ParmDescriptionDefault
FROM
Input cube file names
(default extension is .cub)
           or
--
FROMLIST
File containing list of input
cube file names
(no default extension)
--
SPICE
Name of output SPICE file in
RAND format
--
MATCH
Name of output match point file
in RAND format
--
CHECK
Name of output file of bad fits
--
NOMAT
Name of output file of cubes
with no match points.
--
TOL
Tolerance of bad fit
6.0
ERR
Error checking option (BOTH,TOL)
TOL
MATSTART
ID assigned to first matchpoint
--
MATPRE
Matchpoint prefix
--
IDOPT
File identification option
valid="FSC","PRODID"
NONE
SHUTCENT
Shutter Center Time
YES, NO
"NO"

ADDITIONAL NOTES:

ParmDescription
FROM
Input cube file names If the extension is omitted,
then ".cub" will be assumed.  An error will be
printed for any cubes that are not matched to any
other cube in the list.  Up to 50 cubes can be
listed.  If there are more than 50, use FROMLIST.
FROMLIST
Due to the limitations of TAE, if more than 50 cubes are to
be listed, their names must be put into a file.  A maximum
of 128 characters is allowed for each file name.  List one
file per line.  A maximum of 44000 cubes may be listed.
This file can contain cubes that will be ignored if the
first column of those cubes contains a !.
SPICE
If no name is entered for the SPICE file, no file will be
written, but errors will be reported.
MATCH
If no name is entered for the match point file, no file will
be written, but errors will be reported.
NOMAT
This file will contain a list of cubes that do not have any
match points.  If no name is entered, this file will not be
produced.
ERR
If ERR=BOTH, the error tolerance will be checked and the
number of points will be checked.  At least 3 points must
exist on the labels for each pair of cubes or an error
will be printed.
If ERR=TOL only the error tolerance will be checked.
MATSTART
Enter the numeric identifier for the first matchpoint in the
list.  The first 1000 numbers are reserved for tie points,
so MATSTART must be >= to 1001.
MATPRE
Enter an optional matchpoint prefix.  For Galileo images
Flagstaff processors should use a prefix of "F".  This
option is not available for Clementine images.
IDOPT
User must choose to have the images identified by FSC num-
ber or product ID.
SHUTCENT
Shutter center time.  Most of the time shutter close time,
which is the default, will be used.

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