Changeset 20662
- Timestamp:
- Nov 10, 2008, 4:04:13 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/astrom/pmAstrometryWCS.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/astrom/pmAstrometryWCS.c
r19509 r20662 7 7 * @author EAM, IfA 8 8 * 9 * @version $Revision: 1. 29$ $Name: not supported by cvs2svn $10 * @date $Date: 2008- 09-12 01:05:59$9 * @version $Revision: 1.30 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2008-11-11 02:04:13 $ 11 11 * 12 12 * Copyright 2006 Institute for Astronomy, University of Hawaii … … 272 272 wcs->crpix2 = psMetadataLookupF64 (&status, header, "CRPIX2"); 273 273 wcs->toSky = psProjectionAlloc (wcs->crval1*PM_RAD_DEG, wcs->crval2*PM_RAD_DEG, PM_RAD_DEG, PM_RAD_DEG, type); 274 275 // These aren't needed but having them empty is disconcerting 276 strncpy(wcs->ctype2, ctype, PM_ASTROM_WCS_TYPE_SIZE-1); 277 ctype = psMetadataLookupStr (&status, header, "CTYPE1"); 278 strncpy(wcs->ctype1, ctype, PM_ASTROM_WCS_TYPE_SIZE-1); 279 wcs->ctype1[PM_ASTROM_WCS_TYPE_SIZE-1] = 0; 280 wcs->ctype2[PM_ASTROM_WCS_TYPE_SIZE-1] = 0; 281 274 282 // XXX I think this is wrong for linear proj 275 283
Note:
See TracChangeset
for help on using the changeset viewer.
