IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 2, 2007, 9:55:15 AM (19 years ago)
Author:
magnier
Message:

moved header NSTARS to psphotOutput

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSourceIO_CMP.c

    r11227 r11582  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2007-01-22 01:12:06 $
     5 *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2007-02-02 19:55:15 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    4242{
    4343
    44     int i, type, nSrc;
     44    int i, type;
    4545    // psMetadataItem *mdi;
    4646    psF32 *PAR, *dPAR;
     
    5454    if (!status)
    5555        ZERO_POINT = 25.0;
    56 
    57     // count the number of sources which will be written
    58     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);
    6656
    6757    // MEF elements have XTENSION, not SIMPLE: remove this (replace with SIMPLE)
Note: See TracChangeset for help on using the changeset viewer.