IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

Fixing up input metadata for ppStack.

File:
1 edited

Legend:

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

    r16718 r16720  
    135135    my $mask = $ipprc->filename( "PSWARP.OUTPUT.MASK", $file->{path_base} ); # Mask name
    136136    my $weight = $ipprc->filename( "PSWARP.OUTPUT.WEIGHT", $file->{path_base} ); # Weight name
     137    my $psf = $ipprc->filename( "PSPHOT.PSF.SAVE", $file->{path_base} ); # Weight name
    137138
    138139    &my_die("Image $image does not exist", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists( $image );
    139140    &my_die("Mask $mask does not exist", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists( $mask );
     141    &my_die("Weight $weight does not exist", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists( $weight );
     142    &my_die("PSF $psf does not exist", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists( $psf );
    140143   
    141144    print $listFile "\tIMAGE\tSTR\t" . $image . "\n";
    142145    print $listFile "\tMASK\tSTR\t" . $mask . "\n";
    143146    print $listFile "\tWEIGHT\tSTR\t" . $weight . "\n";
     147    print $listFile "\tPSF\tSTR\t" . $psf . "\n";
    144148
    145149    ### XXX NEED TO UPDATE THESE appropriately
    146     print $listFile "\tSEEING\tF32\t" . 1.0 . "\n";
    147150    print $listFile "\tWEIGHTING\tF32\t" . 1.0 . "\n";
    148     print $listFile "\tSCALE\tF32\t" . 1.0 . "\n";
    149151
    150152    print $listFile "END\n\n";
Note: See TracChangeset for help on using the changeset viewer.