IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35957


Ignore:
Timestamp:
Aug 15, 2013, 2:41:50 PM (13 years ago)
Author:
bills
Message:

add support for skycal distribution. Remove some incorrect and obsolete code.
set $no_magic to true

File:
1 edited

Legend:

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

    r35117 r35957  
    5353                      'PPSTACK.OUTPUT.MASK' => 'mask',
    5454                      'PPSTACK.OUTPUT.VARIANCE' => 'variance' );
    55 my %sky_cleaned   = ( 'PSPHOT.STACK.OUTPUT.IMAGE' => 'image',
    56                       'PSPHOT.STACK.OUTPUT.MASK' => 'mask',
    57                       'PSPHOT.STACK.OUTPUT.VARIANCE' => 'variance' );
     55my %sky_cleaned   = ();
     56my %skycal_cleaned = ();
    5857
    5958
     
    110109    defined $outroot;
    111110
     111$no_magic = 1;
     112
    112113if ($stage eq 'raw' and !$clean and !$no_magic) {
    113114   
     
    462463    } elsif ($stage eq "sky") {
    463464        $type = $sky_cleaned{$rule};
     465    } elsif ($stage eq "skycal") {
     466        $type = $skycal_cleaned{$rule};
    464467    } else {
    465468        &my_die("$stage is not a valid stage", $component, $PS_EXIT_CONFIG_ERROR);
     
    546549        $config_file_rule = "PPSTACK.CONFIG";
    547550    } elsif ($stage eq "sky") {
    548         if (1 or $num_sky_inputs > 1) {
    549             $config_file_rule = "PSPHOT.STACK.CONFIG";
    550         } else {
    551             $config_file_rule = "PSPHOT.SKY.CONFIG";
    552         }
     551        $config_file_rule = "PSPHOT.STACK.CONFIG";
     552    } elsif ($stage eq "skycal") {
     553        $config_file_rule = "PSASTRO.CONFIG";
    553554    } else {
    554555        &my_die("$stage is not a valid stage", $component, $PS_EXIT_CONFIG_ERROR);
Note: See TracChangeset for help on using the changeset viewer.