IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 15, 2013, 1:31:26 PM (13 years ago)
Author:
bills
Message:

for raw stamps use regtool -processedExp instead of -processedimfile
so that we can choose which chip the ROI is centered on.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm

    r34716 r35315  
    223223    my $choose_components = 0;
    224224    if ($stage eq "raw") {
    225         $command = "$regtool -processedimfile -dbname $imagedb";
     225        if ($component or $use_imfile_id or !$skycenter) {
     226            $command = "$regtool -processedimfile -dbname $imagedb";
     227            if ($component and $component ne 'all') {
     228                $class_id = $component;
     229                $component_args = " -class_id $class_id";
     230            }
     231        } else {
     232            $command = "$regtool -processedexp -dbname $imagedb";
     233            $choose_components = 1;
     234        }
    226235        # XXX: for now restrict lookups to type object
    227236        # are stamps of detrend exposures interesting?
Note: See TracChangeset for help on using the changeset viewer.