Changeset 15738
- Timestamp:
- Dec 5, 2007, 1:24:28 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/warp_skycell.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/warp_skycell.pl
r15737 r15738 114 114 } 115 115 116 my $skyFile = skycell_file($tess_id, $skycell_id, $workdir) or 117 &my_die("Unable to get name of skycell file", $warp_id, $skycell_id, $tess_id, $PS_EXIT_SYS_ERROR); 118 &my_die("Unable to find skycell file: $skyFile", $warp_id, $skycell_id, $tess_id, $PS_EXIT_SYS_ERROR) unless 119 $ipprc->file_exists( $skyFile ); 120 116 121 $workdir = caturi( $workdir, "tess_" . $tess_id, "sky_" . $skycell_id ) if defined $workdir; 117 122 my $outputRoot = $ipprc->file_prepare( "$tess_id.$skycell_id.wrp$warp_id", $workdir, $$imfiles[0]->{uri} ); … … 124 129 my $outputBin2 = $ipprc->filename("PSWARP.BIN2", $outputRoot, $skycell_id ); 125 130 my $outputStats = $outputRoot . '.stats'; 126 127 my $skyFile = skycell_file($tess_id, $skycell_id, $workdir) or128 &my_die("Unable to get name of skycell file", $warp_id, $skycell_id, $tess_id, $PS_EXIT_SYS_ERROR);129 &my_die("Unable to find skycell file", $warp_id, $skycell_id, $tess_id, $PS_EXIT_SYS_ERROR) unless130 $ipprc->exists( $skyFile );131 131 132 132 my $traceDest = 'file:' . $ipprc->file_resolve($outputRoot) . ".trace"; # Trace messages
Note:
See TracChangeset
for help on using the changeset viewer.
