- Timestamp:
- May 19, 2010, 2:09:25 PM (16 years ago)
- Location:
- branches/czw_branch/20100427/psModules
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/objects/pmSourceIO.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20100427/psModules
- Property svn:mergeinfo changed
/branches/eam_branches/psModules.20100506 (added) merged: 27923-27924,27931,27948,28011 /branches/pap/psModules (added) merged: 28003,28005 /trunk/psModules merged: 28007,28013
- Property svn:mergeinfo changed
-
branches/czw_branch/20100427/psModules/src/objects/pmSourceIO.c
r28017 r28030 539 539 status &= pmSourcesWrite_CMF_PS1_V2 (file->fits, readout, sources, file->header, outhead, dataname); 540 540 } 541 if (!strcmp (exttype, "PS1_SV1")) { 542 status &= pmSourcesWrite_CMF_PS1_SV1 (file->fits, readout, sources, file->header, outhead, dataname, recipe); 543 } 541 544 if (!strcmp (exttype, "PS1_DV1")) { 542 545 status &= pmSourcesWrite_CMF_PS1_DV1 (file->fits, readout, sources, file->header, outhead, dataname); … … 556 559 status &= pmSourcesWrite_CMF_PS1_V2_XSRC (file->fits, readout, sources, file->header, xsrcname, recipe); 557 560 } 561 if (!strcmp (exttype, "PS1_SV1")) { 562 status &= pmSourcesWrite_CMF_PS1_SV1_XSRC (file->fits, readout, sources, file->header, xsrcname, recipe); 563 } 558 564 if (!strcmp (exttype, "PS1_DV1")) { 559 565 status &= pmSourcesWrite_CMF_PS1_DV1_XSRC (file->fits, readout, sources, file->header, xsrcname, recipe); … … 573 579 status &= pmSourcesWrite_CMF_PS1_V2_XFIT (file->fits, readout, sources, xfitname); 574 580 } 581 if (!strcmp (exttype, "PS1_SV1")) { 582 status &= pmSourcesWrite_CMF_PS1_SV1_XFIT (file->fits, readout, sources, xfitname); 583 } 575 584 if (!strcmp (exttype, "PS1_DV1")) { 576 585 status &= pmSourcesWrite_CMF_PS1_DV1_XFIT (file->fits, readout, sources, xfitname); … … 981 990 // we need to find the corresponding table EXTNAME. 982 991 // first check the header 983 char *extdata = psMetadataLookupStr ( NULL, hdu->header, "EXTDATA");992 char *extdata = psMetadataLookupStr (&status, hdu->header, "EXTDATA"); 984 993 if (extdata) { 985 994 // if EXTDATA is defined in the header, use that value for 'dataname' … … 1023 1032 if (!strcmp (exttype, "PS1_V2")) { 1024 1033 sources = pmSourcesRead_CMF_PS1_V2 (file->fits, hdu->header); 1034 } 1035 if (!strcmp (exttype, "PS1_SV1")) { 1036 sources = pmSourcesRead_CMF_PS1_SV1 (file->fits, hdu->header); 1025 1037 } 1026 1038 if (!strcmp (exttype, "PS1_DV1")) {
Note:
See TracChangeset
for help on using the changeset viewer.
