IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20842


Ignore:
Timestamp:
Nov 25, 2008, 5:23:09 PM (17 years ago)
Author:
bills
Message:

forgot to init the chip level astrometry when bilevelAstrometry

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/magic/remove/src/streaksastrom.c

    r20816 r20842  
    162162    }
    163163
     164    pmHDU *hdu = pmFPAviewThisHDU(sf->view, sf->inAstrom->fpa);
     165    PS_ASSERT_PTR_NON_NULL(hdu, 1)
     166    PS_ASSERT_PTR_NON_NULL(hdu->header, 1)
    164167    if (sf->bilevelAstrometry) {
    165168        // Do we get here for GPC1 ? I don't necessarily have an fpa for the input image
     
    168171            return false;
    169172        }
     173       if (!pmAstromReadBilevelChip (sf->chip, hdu->header)) {
     174            psError(PS_ERR_UNKNOWN, false, "Unable to read bilevel chip astrometry for input FPA.");
     175            return false;
     176        }
    170177    } else {
    171         pmHDU *hdu = pmFPAviewThisHDU(sf->view, sf->inAstrom->fpa);
    172         PS_ASSERT_PTR_NON_NULL(hdu, 1)
    173         PS_ASSERT_PTR_NON_NULL(hdu->header, 1)
    174178
    175179        // we use a default FPA pixel scale of 1.0
Note: See TracChangeset for help on using the changeset viewer.