Changeset 12716 for trunk/psModules/src/camera
- Timestamp:
- Apr 3, 2007, 10:28:26 AM (19 years ago)
- Location:
- trunk/psModules/src/camera
- Files:
-
- 2 edited
-
pmFPAfileDefine.c (modified) (2 diffs)
-
pmFPAfileIO.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAfileDefine.c
r12696 r12716 288 288 // determine the current format from the header 289 289 // determine camera if not specified already 290 format = pmConfigCameraFormatFromHeader (config, phu );290 format = pmConfigCameraFormatFromHeader (config, phu, true); 291 291 if (!format) { 292 292 psError(PS_ERR_IO, false, "Failed to read CCD format from %s\n", realName); … … 565 565 // on first call to this function, config->camera is not set. 566 566 // later calls will give an error if the cameras do not match 567 format = pmConfigCameraFormatFromHeader (config, phu );567 format = pmConfigCameraFormatFromHeader (config, phu, true); 568 568 if (!format) { 569 569 psError(PS_ERR_IO, false, "Failed to read CCD format from %s\n", (char *)infiles->data[0]); -
trunk/psModules/src/camera/pmFPAfileIO.c
r12696 r12716 719 719 psMetadata *phu = psFitsReadHeader (NULL, file->fits); 720 720 if (!file->format) { 721 file->format = pmConfigCameraFormatFromHeader (config, phu); 721 // XXX do we need to read the recipe here? these files are supplemental, and probably 722 // do not need to re-load the recipes 723 file->format = pmConfigCameraFormatFromHeader (config, phu, false); 722 724 if (!file->format) { 723 725 psError(PS_ERR_IO, false, "Failed to read CCD format from %s\n", file->filename);
Note:
See TracChangeset
for help on using the changeset viewer.
