IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 12, 2007, 5:01:10 PM (19 years ago)
Author:
Paul Price
Message:

Updating directory names, output file names.

File:
1 edited

Legend:

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

    r12218 r12421  
    8484}
    8585
    86 ### Output file name
     86# Set output directory
    8787if (defined $workdir) {
    8888    $workdir = $ipprc->convert_filename_absolute( $workdir );
     89    $workdir = File::Spec->catdir( $workdir, "tess_" . $tess_id, "sky_" . $skycell_id );
    8990} else {
    9091    my $example = $ipprc->convert_filename_absolute( $$imfiles[0]->{uri} );
     
    9293    $workdir = $dir;
    9394}
    94 
    95 $workdir = File::Spec->catfile( $workdir, "sky$skycell_id" );
    9695system "mkdir -p $workdir" unless -d $workdir;
    9796
    98 my $outputFile = "sky$skycell_id.wrp$warp_id"; # Root name
     97my $outputFile = "$tess_id.$skycell_id.wrp$warp_id"; # Root name
    9998my $outputRoot = File::Spec->catfile( $workdir, $outputFile );
    10099my $outputImage = $ipprc->filename("PSWARP.OUTPUT", $outputRoot, $skycell_id );
Note: See TracChangeset for help on using the changeset viewer.