Changeset 7097
- Timestamp:
- May 9, 2006, 12:10:13 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAWrite.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAWrite.c
r7017 r7097 15 15 { 16 16 pmHDU *hdu = pmHDUFromReadout(readout); // The HDU to which to write 17 if (!hdu) { 18 psError(PS_ERR_IO, false, "Unable to find HDU for readout.\n"); 19 return false; 20 } 17 21 psMetadata *header = hdu->header; // The FITS header 18 22 if (!header) { … … 43 47 } 44 48 49 if (!hdu->images) { 50 psError(PS_ERR_IO, true, "No images allocated in HDU.\n"); 51 return false; 52 } 45 53 psImage *image = hdu->images->data[z]; // The image from the HDU to write 46 54 if (readout->row0 == 0 && readout->col0 == 0 && z == 0) {
Note:
See TracChangeset
for help on using the changeset viewer.
