This procedure, part of the HiStitch pipeline, is resonsible for creating the *.hiccdstitch.pvl file and placing it on the next pipeline source table (currently HiccdStitch). The *.hiccdstitch.pvl file contains the pathnames of the CCD files that will create the HiccdStitch product.


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

-File <pathname>

The full pathname of the *.histitch.pvl file containing the full pathnames of the two channel files used to construct the HiRISE CCD image.

-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 HiStitch.conf. If not specified then the default is $HiRISE_ROOT/Configuration/HiStitch/HiStitch.conf


HiStitch_Next_Pipe is part of the HiStitch pipeline for generating HiRISE CCD images in ISIS format. This procedure will test for the existence of all the CCD files that will be used to construct the HiccdStitch product.

Environment Variables

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

Configuration file

HiStitch_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/HiStitch/HiStitch.conf

 HiStitch_update_pipeline = true or false (place output cube on next pipeline?)
 HiStitch_next_pipeline = HiStitch (name of next pipeline)

Return Codes

The following codes are returned by HiStitch:

   0 - Success value
   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 configuration file
   5 - Can not create the processing text file
   6 - Can not rename the calibration file.
   7 - Can not make an entry on the next pipeline source table
   8 - Required command file parameter does not exits
   9 - Can not create subdirectory name with Data_Location
  10 - Can not read the ISIS keyword PoweredCpmmFlag


Eric Eliason UA/LPL


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.


1.16 2010/02/15 18:10:30