Changeset 6932 for trunk/psModules/src/astrom/pmFPARead.c
- Timestamp:
- Apr 20, 2006, 12:33:34 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/astrom/pmFPARead.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/astrom/pmFPARead.c
r6896 r6932 10 10 #include "pmConcepts.h" 11 11 #include "psRegionIsBad.h" 12 #include "pm HDUUtils.h"12 #include "pmFPAHeader.h" 13 13 14 14 #define MAX(x,y) ((x) > (y) ? (x) : (y)) … … 87 87 // Get the HDU and read the header 88 88 pmCell *cell = readout->parent; // The parent cell 89 if (!pmCellReadHeader(cell, fits)) { 90 psError(PS_ERR_IO, false, "Unable to read header for cell!\n"); 91 return false; 92 } 93 89 94 pmHDU *hdu = pmHDUFromCell(cell); // The HDU 90 95 if (!hdu) { … … 92 97 } 93 98 94 if (!hdu->header) { 95 if (!pmHDUReadHeader(hdu, fits)) { 96 psError(PS_ERR_IO, false, "Unable to read HDU header!\n"); 97 return false; 98 } 99 pmConceptsReadCell(cell, PM_CONCEPT_SOURCE_HEADER, false, NULL); 100 } 99 // Make sure we have the information we need 100 pmConceptsReadCell(cell, PM_CONCEPT_SOURCE_HEADER, false, NULL); 101 101 102 102 // Get the trim and bias sections
Note:
See TracChangeset
for help on using the changeset viewer.
