IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19303


Ignore:
Timestamp:
Aug 31, 2008, 2:19:52 PM (18 years ago)
Author:
eugene
Message:

explicit use of PSPHOT.OUT.CMF.MEF

Location:
trunk/ippScripts/scripts
Files:
2 edited

Legend:

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

    r19197 r19303  
    9999            $templateMask = "PPSTACK.OUTPUT.MASK";
    100100            $templateWeight = "PPSTACK.OUTPUT.WEIGHT";
    101             $templateSources = "PSPHOT.OUTPUT";
     101            $templateSources = "PSPHOT.OUT.CMF.MEF";  ## this must be consistent with the value in stack_skycell.pl:161
     102            ## use an explicit stack name for psphot output objects
    102103        } else {
    103104            $templateMask = "PSWARP.OUTPUT.MASK";
     
    141142$ipprc->define_camera($camera);
    142143
     144# print "templateMask: $templateMask\n";
     145# print "templatePath: $templatePath\n";
     146# print "inputMask: $inputMask\n";
     147# print "inputPath: $inputPath\n";
     148# print "templateWeight: $templateWeight\n";
     149# print "inputWeight: $inputWeight\n";
     150# print "templateSources: $templateSources\n";
     151
    143152$templateMask = $ipprc->filename($templateMask, $templatePath);
    144153$inputMask = $ipprc->filename($inputMask, $inputPath);
     
    146155$inputWeight = $ipprc->filename($inputWeight, $inputPath);
    147156$templateSources = $ipprc->filename($templateSources, $templatePath);
     157
     158print "templateMask: $templateMask\n";
     159print "templatePath: $templatePath\n";
     160print "inputMask: $inputMask\n";
     161print "inputPath: $inputPath\n";
     162print "templateWeight: $templateWeight\n";
     163print "inputWeight: $inputWeight\n";
     164print "templateSources: $templateSources\n";
    148165
    149166&my_die("Couldn't find input: $template", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($template);
     
    159176my $outputMask = $ipprc->filename("PPSUB.OUTPUT.MASK", $outroot);
    160177my $outputWeight = $ipprc->filename("PPSUB.OUTPUT.WEIGHT", $outroot);
    161 my $outputSources = $ipprc->filename("PSPHOT.OUTPUT", $outroot);
     178my $outputSources = $ipprc->filename("PSPHOT.OUT.CMF.MEF", $outroot);
    162179#my $bin1Name =  $ipprc->filename("PPSUB.BIN1", $outroot);
    163180#my $bin2Name =  $ipprc->filename("PPSUB.BIN2", $outroot);
     
    175192    $command .= " -stats $outputStats";
    176193    $command .= " -recipe PPSTATS WARPSTATS";
     194    $command .= " -F PSPHOT.OUTPUT PSPHOT.OUT.CMF.MEF";
    177195    $command .= " -sources $templateSources";
    178196    $command .= " -photometry";
  • trunk/ippScripts/scripts/stack_skycell.pl

    r19284 r19303  
    159159my $outputMask = $ipprc->filename("PPSTACK.OUTPUT.MASK", $outroot);
    160160my $outputWeight = $ipprc->filename("PPSTACK.OUTPUT.WEIGHT", $outroot);
    161 my $outputSources = $ipprc->filename("PSPHOT.OUT.CMF.MEF", $outroot);
     161my $outputSources = $ipprc->filename("PSPHOT.OUT.CMF.MEF", $outroot); ## this must be consistent with the value in diff_skycell.pl:101
     162## use an explicit stack name for psphot output objects
    162163#my $bin1Name =  $ipprc->filename("PPSTACK.BIN1", $outroot);
    163164#my $bin2Name =  $ipprc->filename("PPSTACK.BIN2", $outroot);
Note: See TracChangeset for help on using the changeset viewer.