IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 5, 2009, 5:15:21 PM (17 years ago)
Author:
Paul Price
Message:

Merging pap_branch_20090128. No conflicts. Not tested.

File:
1 edited

Legend:

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

    r21309 r21371  
    114114my $outputImage = $ipprc->filename("PSWARP.OUTPUT", $outroot, $skycell_id );
    115115my $outputMask = $ipprc->filename("PSWARP.OUTPUT.MASK", $outroot, $skycell_id);
    116 my $outputWeight = $ipprc->filename("PSWARP.OUTPUT.WEIGHT", $outroot, $skycell_id);
     116my $outputWeight = $ipprc->filename("PSWARP.OUTPUT.VARIANCE", $outroot, $skycell_id);
    117117my $outputSources = $ipprc->filename("PSWARP.OUTPUT.SOURCES", $outroot, $skycell_id);
    118118my $outputPSF = $ipprc->filename("PSPHOT.PSF.SKY.SAVE", $outroot);
     
    142142foreach my $imfile (@$imfiles) {
    143143    my $image = $imfile->{uri}; # Image name
    144     my $weight = $ipprc->filename("PPIMAGE.CHIP.WEIGHT", $imfile->{chip_path_base}, $imfile->{class_id}); # Mask name
     144    my $weight = $ipprc->filename("PPIMAGE.CHIP.VARIANCE", $imfile->{chip_path_base}, $imfile->{class_id}); # Mask name
    145145
    146146    my $mask = $ipprc->filename("PSASTRO.OUTPUT.MASK", $imfile->{cam_path_base}, $imfile->{class_id}); # Mask name
    147147    if (!$ipprc->file_exists($mask)) {
    148         print "Celestial mask $mask not found, using basic mask\n";
    149         $mask = $ipprc->filename("PPIMAGE.CHIP.MASK", $imfile->{chip_path_base}, $imfile->{class_id}); # Mask name
    150         &my_die("Couldn't find input file: $mask", $warp_id, $skycell_id, $tess_dir, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($mask);
     148        print "Celestial mask $mask not found, using basic mask\n";
     149        $mask = $ipprc->filename("PPIMAGE.CHIP.MASK", $imfile->{chip_path_base}, $imfile->{class_id}); # Mask name
     150        &my_die("Couldn't find input file: $mask", $warp_id, $skycell_id, $tess_dir, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($mask);
    151151    }
    152152
     
    182182    $command .= " -list $imageName";
    183183    $command .= " -masklist $maskName";
    184     $command .= " -weightlist $weightName";
     184    $command .= " -variancelist $weightName";
    185185    $command .= " -astromlist $astromName";
    186186    $command .= " $outroot $skyFile";
Note: See TracChangeset for help on using the changeset viewer.