IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 28, 2008, 12:37:05 PM (18 years ago)
Author:
Paul Price
Message:

Turning on input and output sources.

File:
1 edited

Legend:

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

    r16720 r16721  
    153153
    154154    # XXX details about supplying sources, etc, need to be specified in the libraries
    155     #unless (defined $inputSources) {
    156     #$inputSources = $ipprc->filename("PSWARP.OUTPUT.SOURCES", $file->{path_base});
    157     #&my_die("Source file $inputSources does not exist", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists( $inputSources );
    158     #}
     155    unless (defined $inputSources) {
     156        $inputSources = $ipprc->filename("PSWARP.OUTPUT.SOURCES", $file->{path_base});
     157        &my_die("Source file $inputSources does not exist", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists( $inputSources );
     158    }
    159159       
    160160}
     
    166166my $outputMask = $ipprc->filename("PPSTACK.OUTPUT.MASK", $outputRoot);
    167167my $outputWeight = $ipprc->filename("PPSTACK.OUTPUT.WEIGHT", $outputRoot);
    168 #my $outputSources = $ipprc->filename("PSPHOT.OUTPUT", $outputRoot, "none");
     168my $outputSources = $ipprc->filename("PSPHOT.OUTPUT", $outputRoot, "none");
    169169#my $bin1Name =  $ipprc->filename("PPSTACK.BIN1", $outputRoot);
    170170#my $bin2Name =  $ipprc->filename("PPSTACK.BIN2", $outputRoot);
     
    179179    $command .= " -stats $outputStats";
    180180    $command .= " -recipe PPSTATS WARPSTATS";
    181     # $command .= " -sources $inputSources"; XXX : see above re recipes
    182     # $command .= " -target 5.0";
    183     # $command .= " -photometry";
     181    $command .= " -sources $inputSources";
     182    $command .= " -photometry";
    184183    $command .= " -tracedest $traceDest -log $logDest";
    185184
     
    193192    &my_die("Couldn't find expected output file: $outputMask", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputMask);
    194193    &my_die("Couldn't find expected output file: $outputWeight", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputWeight);
    195 #   &my_die("Couldn't find expected output file: $outputSources", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputSources);
     194    &my_die("Couldn't find expected output file: $outputSources", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputSources);
    196195#   &my_die("Couldn't find expected output file: $bin1Name",    $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($bin1Name);
    197196#   &my_die("Couldn't find expected output file: $bin2Name",    $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($bin2Name);
Note: See TracChangeset for help on using the changeset viewer.