IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27662


Ignore:
Timestamp:
Apr 12, 2010, 12:31:27 PM (16 years ago)
Author:
Paul Price
Message:

Adding PSFs as output product.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/chip_outputs.pl

    r24624 r27662  
    1616                             'VARIANCE' => '.ch.wt.fits', # Variance
    1717                             'SOURCES' => '.cmf', # Sources
     18                             'PSF' => '.psf',     # Point-spread function
    1819                         };
    1920
     
    8384    my $neb = "$path$ext"; # Nebulous file
    8485    my $source = `neb-locate --path $neb`;
    85     if (!$source) { 
    86         print "Unable to locate $neb\n"; # Actual file
    87         return;
     86    if (!$source) {
     87        print "Unable to locate $neb\n"; # Actual file
     88        return;
    8889    }
    8990    chomp $source;
     
    9192    my $status = system "cp $source $target";
    9293    if ($status) {
    93         print "Unable to copy $source\n";
    94         return;
     94        print "Unable to copy $source\n";
     95        return;
    9596    }
    9697}
Note: See TracChangeset for help on using the changeset viewer.