IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17858


Ignore:
Timestamp:
May 29, 2008, 4:18:02 PM (18 years ago)
Author:
Paul Price
Message:

Don't use input PSF any more. ppSub works out its own PSF. Just tell it to do photometry.

File:
1 edited

Legend:

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

    r17803 r17858  
    8787
    8888# Identify the input and the template
    89 my ($input, $inputMask, $inputWeight, $inputPath, $inputPSF); # Input files and path
     89my ($input, $inputMask, $inputWeight, $inputPath); # Input files and path
    9090my ($template, $templateMask, $templateWeight, $templatePath, $templateSources); # Template files and path
    9191my $tess_id;                    # Tesselation identifier
     
    111111            $inputMask = "PPSTACK.OUTPUT.MASK";
    112112            $inputWeight = "PPSTACK.OUTPUT.WEIGHT";
    113             $inputPSF = "PSPHOT.PSF.SAVE";
    114113        } else {
    115114            $inputMask = "PSWARP.OUTPUT.MASK";
    116115            $inputWeight = "PSWARP.OUTPUT.WEIGHT";
    117             $inputPSF = "PSPHOT.PSF.SAVE";
    118116        }
    119117    }
     
    147145$templateWeight = $ipprc->filename($templateWeight, $templatePath);
    148146$inputWeight = $ipprc->filename($inputWeight, $inputPath);
    149 $inputPSF = $ipprc->filename($inputPSF, $inputPath);
    150147$templateSources = $ipprc->filename($templateSources, $templatePath);
    151148
     
    156153&my_die("Couldn't find input: $inputMask", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($inputMask);
    157154&my_die("Couldn't find input: $inputWeight", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($inputWeight);
    158 &my_die("Couldn't find input: $inputPSF", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($inputPSF);
    159155&my_die("Couldn't find input: $templateSources", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($templateSources);
    160156
     
    180176    $command .= " -recipe PPSTATS WARPSTATS";
    181177    $command .= " -sources $templateSources";
    182     $command .= " -psf $inputPSF";
     178    $command .= " -photometry";
    183179    $command .= " -tracedest $traceDest -log $logDest";
    184180
Note: See TracChangeset for help on using the changeset viewer.