Changeset 8246 for trunk/psModules/src/camera/pmHDU.c
- Timestamp:
- Aug 8, 2006, 4:37:08 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmHDU.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmHDU.c
r7720 r8246 78 78 79 79 // Move to the appropriate extension 80 psTrace( __func__, 5, "Moving to extension %s...\n", hdu->extname);80 psTrace("psModules.camera", 5, "Moving to extension %s...\n", hdu->extname); 81 81 if (!hduMove(hdu, fits)) { 82 82 return false; … … 84 84 85 85 if (!hdu->header) { 86 psTrace( __func__, 5, "Reading the header...\n");86 psTrace("psModules.camera", 5, "Reading the header...\n"); 87 87 hdu->header = psFitsReadHeader(NULL, fits); 88 88 if (! hdu->header) { … … 122 122 psFree(hdu->images); // Blow away anything existing 123 123 } 124 psTrace( __func__, 5, "Reading the pixels...\n");124 psTrace("psModules.camera", 5, "Reading the pixels...\n"); 125 125 hdu->images = psFitsReadImageCube(fits, psRegionSet(0,0,0,0)); 126 126 if (! hdu->images) { … … 155 155 PS_ASSERT_PTR_NON_NULL(fits, false); 156 156 157 psTrace( __func__, 7, "Writing HDU %s\n", hdu->extname);157 psTrace("psModules.camera", 7, "Writing HDU %s\n", hdu->extname); 158 158 159 159 if (hdu->images && hdu->table && !hdu->header) { … … 199 199 200 200 if (hdu->images) { 201 psTrace( __func__, 9, "Writing pixels for %s\n", hdu->extname);201 psTrace("psModules.camera", 9, "Writing pixels for %s\n", hdu->extname); 202 202 if (!psFitsWriteImageCube(fits, hdu->header, hdu->images, extname)) { 203 203 psError(PS_ERR_IO, false, "Unable to write image to extension %s\n", hdu->extname);
Note:
See TracChangeset
for help on using the changeset viewer.
