NAME

RedMosaic_Next_Pipe

This procedure, part of the RedMosaic pipeline, is resonsible for determining if the next pipline is to be initiated. If the *.redmosaic.cub file has been successfully processed and the RedMosaic_Update_Pipeline configuration parameter is set to TRUE then the *.redmosaic.cub file will be submitted to source table of the next pipeline.


SYNOPSIS

RedMosaic_Next_Pipe -File <pathname> -CAtalog <catalog> -COnfiguration <conf_file>

-File <pathname>

The full pathname of the *.redmosaic.pvl file.

-Catalog <catalog>

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


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

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


DESCRIPTION

This procedure, part of the RedMosaic pipeline, is resonsible for determining if the next pipline is to be initiated. The script verifies the existance of the *.redmosaic.cub file found in $HiRISE_ROOT/Data/RedMosaic directory tree. If the file exists and the RedMosaic_Updaet_Pipeline flag is set to TRUE then the *.redmosaic.cub file is added to the sources table of the next pipeline.

Environment Variables

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

Configuration file

RedMosaic_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/RedMosaic/RedMosaic.conf

 RedMosaic_Update_Pipeline = TRUE or FALSE (place output cube on next pipeline?)
 RedMosaic_Next_Pipeline = RDRgen (name of next pipeline)

Return Codes

The following codes are returned by RedMosaic:

   0;  # Success value
   1;  # HiRISE_ROOT environment variable not defined
   2;  # Configuration file does not exist
   3;  # Can not make an entry on the next pipeline source table
   4;  # Required command file parameter does not exits
   5;  # Can not create subdirectory name with Data_Location
   6;  # Problem with mosaic file
   7;  # Processing mode doesn't match the processed product
   
=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.13 2014/07/15 20:00:37