Changeset 6722
- Timestamp:
- Mar 28, 2006, 3:39:29 PM (20 years ago)
- File:
-
- 1 edited
-
branches/rel10_ifa/psModules/src/astrom/pmHDU.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/rel10_ifa/psModules/src/astrom/pmHDU.c
r6663 r6722 75 75 psTrace(__func__, 5, "Reading the header...\n"); 76 76 hdu->header = psFitsReadHeader(NULL, fits); 77 if (! hdu->header) { 78 psError(PS_ERR_IO, false, "Unable to read header for extension %s\n", hdu->extname); 79 return false; 80 } 77 81 } 78 82 … … 87 91 psTrace(__func__, 5, "Reading the pixels...\n"); 88 92 hdu->images = psFitsReadImageCube(fits, psRegionSet(0,0,0,0)); 93 if (! hdu->images) { 94 psError(PS_ERR_IO, false, "Unable to read pixels for extension %s\n", hdu->extname); 95 return false; 96 } 89 97 return true; 90 98 #ifdef FITS_TABLES
Note:
See TracChangeset
for help on using the changeset viewer.
