- Timestamp:
- Apr 27, 2013, 1:11:37 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130419/pswarp/src/pswarpLoadAstrometry.c
r35434 r35449 98 98 } 99 99 // for pswarpLocalFrame, I need transformations and HDUs on a single fpa (so set on astrom as well as target) 100 target->fpa->toTPA = psMemIncrRefCounter (astrom->fpa->toTPA);101 target->fpa->fromTPA = psMemIncrRefCounter (astrom->fpa->fromTPA);102 target->fpa->toSky = psMemIncrRefCounter (astrom->fpa->toSky);100 // target->fpa->toTPA = psMemIncrRefCounter (astrom->fpa->toTPA); 101 // target->fpa->fromTPA = psMemIncrRefCounter (astrom->fpa->fromTPA); 102 // target->fpa->toSky = psMemIncrRefCounter (astrom->fpa->toSky); 103 103 104 104 while ((chip = pmFPAviewNextChip (view, astrom->fpa, 1)) != NULL) { … … 126 126 } else { 127 127 // we use a default FPA pixel scale of 1.0 128 if (!pmAstromReadWCS( target->fpa, chip, hdu->header, 1.0)) {128 if (!pmAstromReadWCS(astrom->fpa, chip, hdu->header, 1.0)) { 129 129 psError(psErrorCodeLast(), false, "Unable to read WCS astrometry for skycell."); 130 130 psFree(view); … … 136 136 } 137 137 138 // for pswarpLocalFrame, I need transformations and HDUs on a single fpa (so set on astrom as well as target) 139 target->fpa->toTPA = psMemIncrRefCounter (astrom->fpa->toTPA); 140 target->fpa->fromTPA = psMemIncrRefCounter (astrom->fpa->fromTPA); 141 target->fpa->toSky = psMemIncrRefCounter (astrom->fpa->toSky); 142 138 143 // reset the type to the original value 139 144 astrom->type = saveType;
Note:
See TracChangeset
for help on using the changeset viewer.
