Changeset 11582
- Timestamp:
- Feb 2, 2007, 9:55:15 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSourceIO_CMP.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSourceIO_CMP.c
r11227 r11582 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1.2 1$ $Name: not supported by cvs2svn $6 * @date $Date: 2007-0 1-22 01:12:06$5 * @version $Revision: 1.22 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2007-02-02 19:55:15 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 42 42 { 43 43 44 int i, type , nSrc;44 int i, type; 45 45 // psMetadataItem *mdi; 46 46 psF32 *PAR, *dPAR; … … 54 54 if (!status) 55 55 ZERO_POINT = 25.0; 56 57 // count the number of sources which will be written58 for (i = nSrc = 0; i < sources->n; i++) {59 pmSource *source = (pmSource *) sources->data[i];60 pmModel *model = pmSourceSelectModel (source);61 if (model == NULL)62 continue;63 nSrc ++;64 }65 psMetadataAdd (header, PS_LIST_TAIL, "NSTARS", PS_DATA_S32 | PS_META_REPLACE, "NUMBER OF STARS", nSrc);66 56 67 57 // MEF elements have XTENSION, not SIMPLE: remove this (replace with SIMPLE)
Note:
See TracChangeset
for help on using the changeset viewer.
