Changeset 25324 for trunk/psModules/src/astrom/pmAstrometryWCS.c
- Timestamp:
- Sep 10, 2009, 12:52:50 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
psModules/src/astrom/pmAstrometryWCS.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/czw_branch/cleanup merged: 24713,24743,24785,24835,24902,24913,24951-24952,24972
- Property svn:mergeinfo changed
-
trunk/psModules/src/astrom/pmAstrometryWCS.c
r25299 r25324 290 290 if (pcKeys) { 291 291 wcs->wcsCDkeys = 0; 292 293 292 wcs->cdelt1 = psMetadataLookupF64 (&status, header, "CDELT1"); 294 293 wcs->cdelt2 = psMetadataLookupF64 (&status, header, "CDELT2"); … … 379 378 // XXX make it optional to write out CDi_j terms, or other versions 380 379 // apply CDELT1,2 (degrees / pixel) to yield PCi,j terms of order unity 381 382 380 if (!(wcs->wcsCDkeys)) { 383 381 … … 423 421 } 424 422 if (wcs->wcsCDkeys) { 423 425 424 psMetadataAddF64 (header, PS_LIST_TAIL, "CD1_1", PS_META_REPLACE, "", wcs->trans->x->coeff[1][0]); 426 425 psMetadataAddF64 (header, PS_LIST_TAIL, "CD1_2", PS_META_REPLACE, "", wcs->trans->x->coeff[0][1]);
Note:
See TracChangeset
for help on using the changeset viewer.
