Changeset 20842 for trunk/magic/remove/src
- Timestamp:
- Nov 25, 2008, 5:23:09 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/magic/remove/src/streaksastrom.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/magic/remove/src/streaksastrom.c
r20816 r20842 162 162 } 163 163 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) 164 167 if (sf->bilevelAstrometry) { 165 168 // Do we get here for GPC1 ? I don't necessarily have an fpa for the input image … … 168 171 return false; 169 172 } 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 } 170 177 } 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)174 178 175 179 // we use a default FPA pixel scale of 1.0
Note:
See TracChangeset
for help on using the changeset viewer.
