Changeset 27989 for trunk/psModules/src/camera/pmFPAfileFitsIO.c
- Timestamp:
- May 17, 2010, 5:49:51 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAfileFitsIO.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAfileFitsIO.c
r25878 r27989 75 75 } 76 76 77 pmFPA *nameSource = file->src; // Source of FPA.OBS78 if (!nameSource) {79 nameSource = file->fpa;80 }81 bool mdok; // Status of MD lookup82 const char *fpaObs = psMetadataLookupStr(&mdok, nameSource->concepts, "FPA.OBS"); // Observation id83 84 77 pmFPA *copy = pmFPAConstruct(file->camera, file->cameraName); // FPA to return 85 if (!pmFPAAddSourceFromView(copy, fpaObs,phuView, file->format)) {78 if (!pmFPAAddSourceFromView(copy, phuView, file->format)) { 86 79 psError(PS_ERR_UNKNOWN, false, "Unable to insert HDU into FPA for writing.\n"); 87 80 psFree(copy);
Note:
See TracChangeset
for help on using the changeset viewer.
