USGS

Isis 2 Documentation


moclev1 Documentation

moclev1 - Perform radiometric correction on MOC images
MOCLEV1 is a TAE procedure which calls PERL scripts perform
the level1 processing sequence on MOC images.  The processing
includes radiometric correction and camera artifact removal.

The user has the choice to run one image at a time using the
FROM parameter or multiple files through an ascii file that
 contains a list of input image filenames (FROMLIST parameter).
The 'FROMLIST' input file can be a single column file containing
the input filenames.  Input filenames MUST HAVE '.lev0.cub' for
the file extension.

Output filenames are built from the 'root' name with the .lev0.cub
extension "stripped" off and replaced with .lev1.cub.

When DELNPUT="YES", the input .lev0.cub input file(s) will be
deleted if no errors were encountered during processing.


***TRACKING ERRORS***

The PERL scripts called generates a file that gives details
on problems encountered during the process:

         moclev1.err - File name and brief error description
         moclev1.prt - ISIS program log file
If a Fromlist option is used, a more detailed error log file
is created:  moclev1_prt.err

***PROGRAM DETAILS***


Perl Scripts included:
     moclev1.pl
     moclev1_batch.pl

ISIS Programs excuted:
    moccal - Perform radiometric correction and destripping
    mocnoise50 - remove 50 pixel spaced pixel spike
    mocevenodd - addjust dc even/odd detector output

For Blue filter images, mocgap is executed with a maxdev
defaulting to 1.0

***EXECUTION ALTERNATIVES***

The Perl scripts mentioned above that are included in this
procedure can run within the ISIS environment, but outside
TAE.  At the unix prompt the following commands can be
entered

      moclev1.pl -delete=yes input.lev0.cub maxdev

-delete=yes is an optional delete flag to remove the
 input level 0 (.lev0.cub) files

                     ~or~
 to run a list of file names thru in batch:

      moclev1_batch.pl -delete=yes filenames.lis maxdev

Programmer:  Tammy Becker, U.S.G.S., Flagstaff, 08 May 2000

ParmDescriptionDefault
FROM
Input filename
 (".lev0.cub" file
   extention required)
--
FROMLIST
List of input filenames
--
DELINPUT
Delete input file
    (YES/NO)
NO
MAXDEV
Number of standard
deviations used in
determining bad pixels
(WA BLUE filter only)
1.0

ADDITIONAL NOTES:

ParmDescription
FROM
The individual filename in this parameter
must have the ".lev0.cub" file extension
to indicate that the input successfully has
been processed thru MOCLEV0.

The output file name will be the 'root' name (without
the .lev0.cub extension) and .lev1.cub appended.
FROMLIST
The input list can be a single column file that
contains the input image filenames.  The ".lev0.cub"
file extension is required for the input image filenames
to indicate that the files have successfully been
processed thru MOCLEV0. The output filenames will be the
'root' name (without the PDS extension) and .lev1.cub
appended.
DELINPUT
DELINPUT = "YES" will delete all the .lev0.cub input
files if no errors were encountered during the process.
MAXDEV
This parameter only applies to Wide Angle Blue images.
Any point that lies more than MAXDEV standard deviations
from the average of the pixels surrounding detector 371
is considered to be a bad pixel. Refer to the ISIS
program, 'mocgap' for more detail.

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