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/diff_skycell.pl

    r12218 r12421  
    113113if (defined $workdir) {
    114114    $workdir = $ipprc->convert_filename_absolute( $workdir );
     115    $workdir = File::Spec->catdir( $workdir, "tess_" . $tess_id, "sky_" . $skycell_id );
    115116} else {
    116117    my ($vol, $dir, $file) = File::Spec->splitpath( $input );
    117118    $workdir = $dir;
    118119}
    119 
    120 $workdir = File::Spec->catfile( $workdir, "sky$skycell_id" );
    121120system "mkdir -p $workdir" unless -d $workdir;
    122121
    123122# Get the output filenames
    124 my $outputFile = "sky$skycell_id.dif$diff_id"; # Root name
     123my $outputFile = "$tess_id.$skycell_id.dif$diff_id"; # Root name
    125124my $outputRoot = File::Spec->catfile( $workdir, $outputFile );
    126125
     
    133132my $stats = PS::IPP::Metadata::Stats->new(); # Stats parser
    134133unless ($no_op) {
    135     my $command = "$pois $template $input $outputName"; # Command to run pois
     134    my $command = "$pois -v $template $input $outputName"; # Command to run pois
    136135
    137136    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
Note: See TracChangeset for help on using the changeset viewer.