Isis 2 Documentation
moctime Documentation
moctime - Find the time span of a MOC image
MOCTIME - reads a MOC image file to find start time,
number of image lines, line exposure duration,
and crosstrack summing. From these it calculates
the ending time and calls mgstime to convert
start and end times to: UTC, SCLK, and J2000 formats.
The input MOC image (FROM) must have PDS labels or
ISIS cube labels.
***PROGRAM DETAILS***
Individual program that 'moctime' calls: mgstime
The listed program have user interface documentation.
The documentation can be accessed by entering TAE
and tutoring each procedure. For example: TAE>t mgstime
***EXECUTION ALTERNATIVES***
This procedure can run within the ISIS environment, but outside
TAE. At the unix prompt the following command can be
entered:
Syntax: moctime FROM=(moc.imq or moc.cub) [FILEOUT=moc.dat]
[EXISTS='overwrite' or 'rename']
(or) moctime (moc.imq or moc.cub) [moc.dat]
['overwrite' or 'rename']
(or) moctime.pl (moc.imq or moc.cub) [moc.dat]
['overwrite' or 'rename']
Programmer: Glenn Bennett, USGS, Flagstaff, 30 APR 2001
Tammy Becker, USGS, Flagstaff, 16 Feb 2001
| Parm | Description | Default |
|---|---|---|
| FROM | Input PDS or ISIS cub filename (.imq | .cub extension required) | NONE |
| FILEOUT | Output MOC time span ascii filename. (Optional) | -- |
| EXISTS | 'overwrite' or 'rename' if output file already exists MOCtime.out (Optional) |
ADDITIONAL NOTES:
| Parm | Description |
|---|---|
| FROM | The input MOC filename in this parameter must have the ".imq" or ".cub" file extension. This determines whether the input file is in original PDS format or ISIS cube format. |
| FILEOUT | Filename of the output ascii file containing the time span of a MOC image. (Optional) |
| EXISTS | if MOCtime.out already exists, it can be overwritten or renamed. Otherwise script exits with error message. (Optional) |
Contact us online at the Isis Support Center: http://isisdist.wr.usgs.gov