IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 11, 2008, 1:26:39 PM (18 years ago)
Author:
Paul Price
Message:

Just found Gene's solution: use the basename of the tess_id. Reverting to this solution.

File:
1 edited

Legend:

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

    r18487 r18489  
    1414use Getopt::Long qw( GetOptions :config auto_help auto_version gnu_getopt );
    1515use Pod::Usage qw( pod2usage );
     16use File::Basename;
    1617
    1718my $ipprc = PS::IPP::Config->new(); # IPP configuration
     
    9697        my $warp_id = $item->{warp_id};
    9798        my $skycell_id = $item->{skycell_id};
    98         my $tess_id = $item->{tess_id};
     99        my $tess_id = basename($item->{tess_id});
    99100        my $cam_id = $item->{cam_id};
    100101        my $workdir = $item->{workdir};
     
    104105        die "No working directory specified.\n" unless defined $workdir;
    105106       
    106         my $outroot = caturi( $workdir, $skycell_id, "$skycell_id.wrp.$warp_id" );
     107        my $outroot = caturi( $workdir, $tess_id, $skycell_id, "$tess_id.$skycell_id.dif.$diff_id" );
    107108        $ipprc->outroot_prepare( $outroot );
    108109
Note: See TracChangeset for help on using the changeset viewer.