Changeset 18364 for trunk/psModules/src/camera
- Timestamp:
- Jun 29, 2008, 2:53:45 PM (18 years ago)
- Location:
- trunk/psModules/src/camera
- Files:
-
- 3 edited
-
pmFPA.c (modified) (4 diffs)
-
pmFPAfileFitsIO.h (modified) (1 diff)
-
pmFPAfileIO.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPA.c
r17986 r18364 303 303 304 304 tmpCell->concepts = psMetadataAlloc(); 305 tmpCell->conceptsRead = PM_CONCEPT_SOURCE_NONE;306 305 if (!psMetadataAddStr(tmpCell->concepts, PS_LIST_HEAD, "CELL.NAME", 0, NULL, name)) { 307 306 psErrorClear(); 308 307 psWarning("Could not add CELL.NAME to metadata."); 309 308 } 310 pmConceptsBlankCell(tmpCell); 309 tmpCell->conceptsRead = PM_CONCEPT_SOURCE_NONE; 310 // XXX does this work? moved to conceptsRead... pmConceptsBlankCell(tmpCell); 311 311 312 312 return tmpCell; … … 342 342 343 343 tmpChip->concepts = psMetadataAlloc(); 344 tmpChip->conceptsRead = PM_CONCEPT_SOURCE_NONE;345 344 if (!psMetadataAddStr(tmpChip->concepts, PS_LIST_HEAD, "CHIP.NAME", 0, NULL, name)) { 346 345 psErrorClear(); 347 346 psWarning("Could not add CHIP.NAME %s to concepts.", name); 348 347 } 349 pmConceptsBlankChip(tmpChip); 348 tmpChip->conceptsRead = PM_CONCEPT_SOURCE_NONE; 349 // XXX does this work? moved to conceptsRead... pmConceptsBlankChip(tmpChip); 350 350 return tmpChip; 351 351 } … … 372 372 373 373 tmpFPA->concepts = psMetadataAlloc(); 374 tmpFPA->conceptsRead = PM_CONCEPT_SOURCE_NONE;375 pmConceptsBlankFPA(tmpFPA);376 377 374 if (!psMetadataAddStr(tmpFPA->concepts, PS_LIST_TAIL, "FPA.CAMERA", PS_META_REPLACE, 378 375 "Camera name (according to configuration)", cameraName)) { … … 380 377 psWarning("Could not add FPA.CAMERA %s to concepts.", cameraName); 381 378 } 379 tmpFPA->conceptsRead = PM_CONCEPT_SOURCE_NONE; 380 // XXX does this work? moved to conceptsRead... pmConceptsBlankFPA(tmpFPA); 382 381 383 382 // this may be somewhat pedantic, but it makes these things consistent -
trunk/psModules/src/camera/pmFPAfileFitsIO.h
r18330 r18364 5 5 * @author PAP, IfA 6 6 * 7 * @version $Revision: 1.1 3$ $Name: not supported by cvs2svn $8 * @date $Date: 2008-06- 26 21:11:56$7 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2008-06-30 00:53:45 $ 9 9 * Copyright 2004-2005 Institute for Astronomy, University of Hawaii 10 10 */ -
trunk/psModules/src/camera/pmFPAfileIO.h
r18330 r18364 5 5 * @author PAP, IfA 6 6 * 7 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $8 * @date $Date: 2008-06- 26 21:11:56$7 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2008-06-30 00:53:45 $ 9 9 * Copyright 2004-2005 Institute for Astronomy, University of Hawaii 10 10 */
Note:
See TracChangeset
for help on using the changeset viewer.
