IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35145


Ignore:
Timestamp:
Feb 11, 2013, 2:07:59 PM (13 years ago)
Author:
watersc1
Message:

warp script update to get camera stage continuous backgrounds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20130211/ippScripts/scripts/warp_skycell.pl

    r34800 r35145  
    245245    print $weightFile "$weight\n";
    246246    my $bkg;
    247     if ($doBackground) {
    248         $bkg    = $ipprc->filename("PSPHOT.BACKMDL", $imfile->{chip_path_base}, $imfile->{class_id});
     247    if (($doBackground)) {
     248        # &&($imfile->{background_model} == 1)
     249        if ($imfile->{cam_background_model}) {
     250            $bkg    = $ipprc->filename("PPIMAGE.BACKMDL", $imfile->{cam_path_base}, $imfile->{class_id});
     251        }
     252        else {
     253            $bkg    = $ipprc->filename("PPIMAGE.BACKMDL", $imfile->{chip_path_base}, $imfile->{class_id});
     254        }
    249255        print $bkgFile "$bkg\n";
    250256    }
Note: See TracChangeset for help on using the changeset viewer.