Changeset 41653
- Timestamp:
- Jun 8, 2021, 3:36:24 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/warp_overlap.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/warp_overlap.pl
r41539 r41653 125 125 } 126 126 127 my @matchlist = get_overlaps($astromFile, $tess_dir_abs, $astromAccept ); # List of overlaps127 my @matchlist = get_overlaps($astromFile, $tess_dir_abs, $astromAccept,$maxCerror); # List of overlaps 128 128 if (! @matchlist) { 129 129 &my_die("Unable to perform dvoImageOverlaps: missing astrometry", $warp_id, $PS_EXIT_DATA_ERROR); … … 212 212 213 213 my $command = "$dvoImageOverlaps -D CATDIR $tess_dir_abs " . $filename; 214 $command .= ' -accept-astrom'if $accept;215 $command .= ' -D OVERLAPS_MAX_CERROR $maxCerror'; # skip poorly calibrated images from warps214 $command .= " -accept-astrom" if $accept; 215 $command .= " -D OVERLAPS_MAX_CERROR $maxCerror"; # skip poorly calibrated images from warps 216 216 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 217 217 run(command => $command, verbose => $verbose); … … 248 248 # Get rid of the path 249 249 my @dirlist = File::Spec->splitdir( $filename ); # The elements of the full path 250 $filename = pop @dirlist; 250 my $filenamecut = pop @dirlist; 251 my @splitlist = split /:/, $filenamecut; 252 $filename = pop @splitlist; 251 253 252 254 # Work out how to identify this imfile in the output
Note:
See TracChangeset
for help on using the changeset viewer.
