IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 9, 2013, 12:51:46 PM (13 years ago)
Author:
watersc1
Message:

Update to ppSkycell to switch to exptime=1.0 target. Change to filerule to ensure we write 32-bit images. Change to script to support exptime scaling

File:
1 edited

Legend:

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

    r35853 r36360  
    271271
    272272    my %products = ('image' => "PPSTACK.UNCONV",
    273                     'mask'  => "PPSTACK.UNCONV.MASK",
     273#                   'mask'  => "PPSTACK.UNCONV.MASK",
    274274                    'variance' => "PPSTACK.UNCONV.VARIANCE",
    275275                    'exp'   => "PPSTACK.UNCONV.EXP",
     
    327327                $command .= " -Di BIN1 1 -Di BIN2 1 ";
    328328            }
    329 #           elsif ($key eq 'image') {
    330 #               $command .= " -masks $tangents{$projection_cell}{mask}{NAME} ";
    331 #           }
    332 #           elsif ($key eq 'mask') {
    333 #               next; # This should be made with the images.
    334 #           }
    335             else {
    336                 # Append the image list to other objects, in case the WCS information is unpopulated
    337                 $command .= " -wcsref $tangents{$projection_cell}{image}{NAME} ";
    338             }
     329            elsif ($key eq 'image') {
     330                $command .= " -exptimeOrder 1 ";
     331            }
     332            elsif ($key eq 'variance') {
     333                $command .= " -exptimeOrder 2 ";
     334            }
     335            # Append the image list to other objects, in case the WCS information is unpopulated
     336            $command .= " -wcsref $tangents{$projection_cell}{image}{NAME} ";
     337
    339338            if ($tangents{$projection_cell}{$key}{N} > 0) {
    340339                print "$command\n";
Note: See TracChangeset for help on using the changeset viewer.