IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41653


Ignore:
Timestamp:
Jun 8, 2021, 3:36:24 PM (5 years ago)
Author:
eugene
Message:

merge changes from tags/ipp-ps1-20210510: strip nebpath from file in warp_overlap.pl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/warp_overlap.pl

    r41539 r41653  
    125125    }
    126126
    127     my @matchlist = get_overlaps($astromFile, $tess_dir_abs, $astromAccept); # List of overlaps
     127    my @matchlist = get_overlaps($astromFile, $tess_dir_abs, $astromAccept,$maxCerror); # List of overlaps
    128128    if (! @matchlist) {
    129129        &my_die("Unable to perform dvoImageOverlaps: missing astrometry", $warp_id, $PS_EXIT_DATA_ERROR);
     
    212212
    213213    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 warps
     214    $command .= " -accept-astrom" if $accept;
     215    $command .= " -D OVERLAPS_MAX_CERROR $maxCerror"; # skip poorly calibrated images from warps
    216216    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    217217        run(command => $command, verbose => $verbose);
     
    248248    # Get rid of the path
    249249    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;
    251253
    252254    # Work out how to identify this imfile in the output
Note: See TracChangeset for help on using the changeset viewer.