USGS

Isis 2 Documentation


month1_2 Documentation

month1_2 - Apply phase angle correction to selected bands
This application applies a geometric correction to Clementine data
based upon phase angle and orbit number.  It accesses the table file
and if the orbit is contained in the table, reads the coefficients
from the table and applies them.  Any null data is written to the
output unchanged.

Note that the input file must satisfy certain expectations.  This
application is specifically written for Clementine UVVIS image
data.  It expects/requires 5 image bands and 2 specific backplanes.
The backplanes must be "PHASE_ANGLE" and "ORBIT".  "PHASE_ANGLE"
is the phase angle and "ORBIT" specifies the orbit at every pixel
location in the image.  The order of the backplanes do not matter.  If
these criteria are not met, the application will terminate.

NOTE:  This program used to be named CLEMFIX.

Programmer: Kris Becker, U.S.G.S., Flagstaff, AZ


ParmDescriptionDefault
FROM
Input cube file name
 (Default extension is .cub)
NONE
SFROM
Input subcube specifier
--
TO
Output cube file name
 (Default extension is .cub)
NONE
STO
Output subcube specifier
--
SFILE
Stats file name

"stats.fil"

ADDITIONAL NOTES:

ParmDescription
FROM
Input cube file name.  If the file extension is omitted,
then ".cub" will be assumed.
SFROM
SFROM specifies the subcube using a single string for all
three dimensions of the cube.  The order of the three
dimensions is always "samples:lines:bands".
If a dimension is left blank, all the data for that
dimension is selected.  The default value of NULL for SFROM
selects the entire cube.

Any application below can be used for any dimension.
To select specific data from any dimension:
  "10-100(3):11,12,15-20:1-10(2)" =  This example will
select every third sample starting with sample 10 thru 100.
It selects lines 11 and 12, and 15-20. It selects every
other band, starting with band 1 thru 10.

There are special characters that can be used for
selecting a subcube efficiently, such as "*","#", and "~".
For examples type "help sfrom" in TAE.

**NOTE** For more examples and explanation of the many
features of the SFROM parameter, tutor the sfrom.pdf or
refer to Introduction To ISIS, Section 6, of the ISIS
User's Manual **
TO
Output cube file name.  If the file extension is omitted,
then ".cub" will be assumed.
STO
STO specifies the subcube using a single string for all
three dimensions of the cube.  The order of the three
dimensions is always "samples:lines:bands".
If a dimension is left blank, all the data for that
dimension is selected.  The default value of NULL for SFROM
selects the entire cube.

Any application below can be used for any dimension.
To select specific data from any dimension:
  "10-100(3):11,12,15-20:1-10(2)" =  This example will
select every third sample starting with sample 10 thru 100.
It selects lines 11 and 12, and 15-20. It selects every
other band, starting with band 1 thru 10.

There are special characters that can be used for
selecting a subcube efficiently, such as "*","#", and "~".
For examples type "help sfrom" in TAE.

**NOTE** For more examples and explanation of the many
features of the SFROM parameter, tutor the sfrom.pdf or
refer to Introduction To ISIS, Section 6, of the ISIS
User's Manual **
SFILE
Name of stats file (default = stats.fil) contiaining orbit
numbers and associated correction coefficients for each band.

The file should conform to the following convention:

Each record contains data for an orbit requiring correction.

   ORBIT B1_A B1_B B1_C B1_D B2_A B2_B ... B5_C B5_D

   ORBIT = Orbit number
   B[1..5]_[A..D] = Band number [1..5] and
                    correction coefficient [A..D]

The correction coefficients represent the following places in a
third degree polynomial:

   Ax^3 + Bx^2 + Cx + D = F

   x = PHASE ANGLE
   F = CORRECTION FACTOR

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