IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 14, 2008, 8:38:42 PM (18 years ago)
Author:
eugene
Message:

mods from head

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080706/ippScripts/scripts/ipp_serial_warp.pl

    r17671 r18527  
    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, "tess_$tess_id", $skycell_id, "$tess_id.$skycell_id.wrp.$warp_id" );
     107        my $outroot = caturi( $workdir, $tess_id, $skycell_id, "$tess_id.$skycell_id.wrp.$warp_id" );
    107108        $ipprc->outroot_prepare( $outroot );
    108109
Note: See TracChangeset for help on using the changeset viewer.