Changeset 33173
- Timestamp:
- Jan 27, 2012, 2:47:16 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20111222/ippScripts/scripts/background_warp.pl
r28544 r33173 68 68 my $logDest = $ipprc->filename("LOG.EXP", $outroot, $skycell_id) or my_die( "Unable to get log filename", $warp_bg_id, $skycell_id, $PS_EXIT_SYS_ERROR ); 69 69 70 $ipprc->redirect_ output($logDest) or my_die( "Unable to redirect output", $warp_bg_id, $skycell_id, $PS_EXIT_SYS_ERROR ) if $redirect;70 $ipprc->redirect_to_logfile($logDest) or my_die( "Unable to redirect output", $warp_bg_id, $skycell_id, $PS_EXIT_SYS_ERROR ) if $redirect; 71 71 72 72 # Recipes to use based on reduction class … … 138 138 &my_die("Can't find input astrometry: $astrometry", $warp_bg_id, $skycell_id, $PS_EXIT_PROG_ERROR) unless $ipprc->file_exists($astrometry); 139 139 140 my $out_image = $ipprc->filename("PSWARP.OUTPUT", $outroot, $skycell_id ); 141 my $out_mask = $ipprc->filename("PSWARP.OUTPUT.MASK", $outroot, $skycell_id); 142 my $out_stats = $ipprc->filename("SKYCELL.STATS", $outroot, $skycell_id ); 143 my $out_config = $ipprc->filename("PSWARP.CONFIG", $outroot, $skycell_id); 144 my $traceDest = $ipprc->filename("TRACE.EXP", $outroot, $skycell_id); 140 my $error; 141 my $out_image = $ipprc->prepare_output("PSWARP.OUTPUT", $outroot, $skycell_id, 1, \$error ); 142 my $out_mask = $ipprc->prepare_output("PSWARP.OUTPUT.MASK", $outroot, $skycell_id, 1, \$error); 143 my $out_stats = $ipprc->prepare_output("SKYCELL.STATS", $outroot, $skycell_id , 1, \$error); 144 my $out_config = $ipprc->prepare_output("PSWARP.CONFIG", $outroot, $skycell_id, 1, \$error); 145 my $traceDest = $ipprc->prepare_output("TRACE.EXP", $outroot, $skycell_id, 1, \$error); 145 146 146 147 my $skyFile = $ipprc->filename("SKYCELL.TEMPLATE", $outroot, $skycell_id );
Note:
See TracChangeset
for help on using the changeset viewer.
