IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 8, 2013, 11:35:45 AM (13 years ago)
Author:
watersc1
Message:

cam_background_model is NULL, and that's being returned as 32767. I've added a handler to treat this as if it were 0.

File:
1 edited

Legend:

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

    r35239 r35277  
    247247    if (($doBackground)) {
    248248        # &&($imfile->{background_model} == 1)
    249         if ($imfile->{cam_background_model}) {
     249        if (($imfile->{cam_background_model})&&($imfile->{cam_background_model} != 32767)) {
    250250            $bkg    = $ipprc->filename("PPIMAGE.BACKMDL", $imfile->{cam_path_base}, $imfile->{class_id});
    251251        }
Note: See TracChangeset for help on using the changeset viewer.