NAME

HiCal_Next_Pipe

This procedure, part of the HiCal pipeline, is resonsible for placing the *.histitch.dat file on the next pipeline source table (currently HiStitch). The *.histitch.dat file contains the filenames of the two channel files used to create the CCD product.

SYNOPSIS

HiCal_Next_Pipe -File <pathname> -CAtalog <catalog <gt -COnfiguration <conf_file>>

-File <pathname>

The full pathname of the ISIS cube file containing a raw HiRISE channel image. This is the same file name given to the main HiCal procedure.

-Catalog <catalog>

Specify the catalog for the sources table of the next pipeline. If not specified the default is HiRISE.

-Configuration <conf_file>

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

DESCRIPTION

HiCal_Next_Pipe is part of the HiCal pipeline for generating radiometrically corrected HiRISE images. This procedure will test for the existence of the two channel files that will be used to construct the HiRISE CCD image file. If the two files exist then a *.histitch.dat file is created containing the names of the two files. ThE *.histitch.dat file is then placed on the sources table to trigger the processing on the CCD product.

Environment Variables

HiCal_Next_Pipe requires the environment variable HiRISE_ROOT specfying the root directory of the HiRISE directory tree. HiCal_Next_Pipe terminates if this environment variable does not exist.

Configuration file

HiCal_Next_Pipe must have a configuration file. It can be optionaly specified with the -Configruation parameter. If unspecified in the command line, the default is $HiRISE_ROOT/Configuration/HiCal/HiCal.conf

 HiCal_Update_Pipeline = True or False (place output cube on next pipeline?)
 HiCal_Next_Pipeline = HiStitch (name of next pipeline)

Return Codes

The following codes are returned by HiCal:

 0 - Success
 1 - HiRISE_ROOT environment variable not defined
 2 - Can not create directory for next pipeline
 3 - Configuration file does not exist
 4 - Error in configuration file
 5 - Can not create a directory for the next pipeline
 6 - Can not create the processing text file
 7 - Can not rename the calibration file.
 8 - Can not make an entry on the next pipeline source table
 9 - Required command file parameter does not exits
 10- Can not create subdirectory name with Data_Location
 11- Error with lockfile

Author

Eric Eliason UA/LPL Audrie Fennema UA/LPL

Copyright

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

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Version

1.29 2022/04/19 22:08:24