Changeset 6590
- Timestamp:
- Mar 14, 2006, 5:36:21 PM (20 years ago)
- File:
-
- 1 edited
-
branches/rel10_ifa/psModules/src/astrom/pmHDU.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/rel10_ifa/psModules/src/astrom/pmHDU.c
r6575 r6590 52 52 53 53 // Move to the appropriate extension 54 psTrace(__func__, 5, "Moving to extension %s...\n", hdu->extname); 54 55 if (strcasecmp(hdu->extname, "PHU") == 0) { 55 56 if (! psFitsMoveExtNum(fits, 0, false)) { … … 72 73 // Read the header 73 74 if (! hdu->header) { 75 psTrace(__func__, 5, "Reading the header...\n"); 74 76 hdu->header = psFitsReadHeader(NULL, fits); 75 77 } … … 80 82 #endif 81 83 if (hdu->images) { 84 psLogMsg(__func__, PS_LOG_WARN, "HDU %s has already been read --- overwriting.\n", hdu->extname); 82 85 psFree(hdu->images); // Blow away anything existing 83 86 } 87 psTrace(__func__, 5, "Reading the pixels...\n"); 84 88 hdu->images = psFitsReadImageCube(fits, psRegionSet(0,0,0,0)); 85 89 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
