Changeset 19263 for trunk/ippScripts/scripts/warp_overlap.pl
- Timestamp:
- Aug 28, 2008, 10:03:06 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/warp_overlap.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/warp_overlap.pl
r19117 r19263 119 119 &my_die("Unable to determine the astrometry source", $warp_id, $PS_EXIT_DATA_ERROR); 120 120 } 121 $astromFile = $ipprc->file_resolve($astromFile); 122 if (!$astromFile) { 123 &my_die("Unable to resolve real astrometry source filename", $warp_id, $PS_EXIT_DATA_ERROR); 124 } 121 125 122 126 my @matchlist = get_overlaps($astromFile, $tess_dir_abs, $astromAccept); # List of overlaps … … 148 152 149 153 # Generate a MDC file with the overlaps 150 my ($overlapFile, $overlapName) = tempfile( 'overlaps.wrp' . $warp_id . '.mdc.XXXX', UNLINK => !$save_temps );154 my ($overlapFile, $overlapName) = tempfile( "/tmp/overlaps.wrp.$warp_id.mdc.XXXX", UNLINK => !$save_temps ); 151 155 print $overlapFile "warpSkyCellMap MULTI\n\n"; 152 156 foreach my $overlap (@overlaps) { … … 203 207 my $accept = shift; # Do we use the -accept-astrom flag? 204 208 205 my $command = "$dvoImageOverlaps -D CATDIR $tess_dir_abs " . $ ipprc->file_resolve($filename);209 my $command = "$dvoImageOverlaps -D CATDIR $tess_dir_abs " . $filename; 206 210 $command .= ' -accept-astrom' if $accept; 207 211 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = … … 249 253 # we need to pull out the single CLASS_ID for this imfile from the full list 250 254 my $class_id = $imfile->{class_id}; 251 my $chipRoot = $i pprc->file_resolve( $imfile->{chip_path_base} );255 my $chipRoot = $imfile->{chip_path_base}; 252 256 my $extname = $ipprc->extname_rule("CMF.HEAD", $class_id); # MEF psastro output 253 257
Note:
See TracChangeset
for help on using the changeset viewer.
