NAME

HiColorNorm


SYNOPSIS

HiColorNorm -File <pathname> -Cat <Catalog> -Configuration <conf_file> -Id <Unique_Id> -NoCleanup -Help

-File <pathname>

The full pathname of *.hicolornorm.pvl file that contains a list of the two color files that are to be colornomalized.


=item -Configuration E<lt>B<conf_file>E<gt>

Specify the name of the configuration file such as HiColorNorm.conf. If not specified then the default is $HiRISE_ROOT/Configuration/HiColorNorm/HiColorNorm.conf

-Catalog <Catalog>

Specify the HiRISE Catalog system, if not specified then HiRISE is used.

-Id <Unique_Id>

Specify unique ID used in the construction of temporary file names located in the /tmp directory. If not specified then the script's process ID is used.

-NoCleanup

If specified the temporary files found in the /tmp director are not purged. This flag is useful when debugging the script.


DESCRIPTION

HiColorNorm is the pipeline subsystem for normalizing HiRISE Color products

Environment Variables

HiColorNorm expects the HiRISE_ROOT environment variable specifying the root directory of the HiRISE directory tree. HiColorNorm terminates if this environment variable does not exist.

Configuration file

HiColorNorm must have a configuration file. It can be optionaly specified with the -Configruation parameter. HiColorNorm adds the output file name to the next pipeline in the sequence. If not specified in the command line, HiColorNorm looks for the file $HiRISE_ROOT/Configuration/HiColorNorm/HiColorNorm.conf. If the configuration file can not be found then HiColorNorm will terminate. See HiColorNorm.conf for details on the contents of the confuguration file.

Please note:

Because the HiColorNorm pipeline uses ISIS, its peferences file should be set for pipeline processing.

 Group=UserInterface
   HistoryPath        = $PWD
   HistoryRecording   = Off
 EndGroup
 Group = SessionLog
  TerminalOutput = On
  FileOutput     = Off
 EndGroup
 Group=ErrorFacility
  FileLine = on
  Format = PVL
 EndGroup

Return Codes

The following codes are returned by HiColorNorm:

   0;  # Success value
   1;  # Command line error parameter
   2;  # Can not create a directory file
   3;  # Error with reading/writing/deleting a file
   4;  # Error with environment variable
   5;  # Error with configuration files
   6;  # Error with Data_Location
   7;  # Error returned from ISIS program
   8;  # Error returned from mysql
 
=head1 Author

Eric Eliason UA/LPL


Copyright

Copyright(C) 2006 Arizona Board of Regents on behalf of the Lunar and Planetary Laboratory at the University of Arizona.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


Version

1.26 2014/07/15 19:39:15