NAME

RedGeom_Next_Pipe

This procedure, part of the RedGeom pipeline, is resonsible for determining if the next pipline is to be initiated. The script will look at the contents of the *.mosaic.pvl file located in the $HiRISE_ROOT/Data/RedMosaic directory tree. If all of the files listed have been created then the *.mosaic.pvl file is placed on the next pipeline.

SYNOPSIS

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

-File <pathname>

The full pathname of the *.histitch.cub.

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

DESCRIPTION

This procedure, part of the RedGeom pipeline, is resonsible for determining if the next pipline is to be initiated. The script will look at the contents of the *.mosaic.pvl file located in the $HiRISE_ROOT/Data/RedGeom directory tree. If all of the files listed have been created then the *.mosaic.pvl file is placed on the next pipeline.

Environment Variables

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

Configuration file

RedGeom_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/RedGeom/RedGeom.conf

 RedGeom_update_pipeline = TRUE or FALSE (place output cube on next pipeline?)
 RedGeom_next_pipeline = RedMosaic (name of next pipeline)

Return Codes

The following codes are returned by RedGeom:

 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  # Problem with *.mosaic.pvl file
 5  # Can not rename the calibration file.
 6  # Can not make an entry on the next pipeline source table
 7  # Required command file parameter does not exits
 8  # Can not create subdirectory name with Data_Location
 9  # Something wrong with the file input file name
 10 # Input Trigger file does not exist
 11 # Can not delete previous .cam2map.cub file
 12 # Lock file mechanism fails
 

Author

Eric Eliason UA/LPL

Copyright

Copyright (C) 2006-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.15 2023/09/15 21:41:11