IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5826


Ignore:
Timestamp:
Dec 22, 2005, 4:04:42 PM (21 years ago)
Author:
magnier
Message:

added variable init, changed output format from %f to %22.15g

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_rel9_b1/psLib/src/types/psMetadataConfig.c

    r5216 r5826  
    1010*  @author Eric Van Alst, MHPCC
    1111*
    12 *  @version $Revision: 1.48 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2005-10-01 02:22:15 $
     12*  @version $Revision: 1.48.16.1 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2005-12-23 02:04:42 $
    1414*
    1515*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    753753    p_psParseLevelInfo*  nextLevelInfo = NULL;
    754754    psTime *mTime;
    755     psTimeType timeType;
     755    psTimeType timeType = PS_TIME_TAI;
    756756
    757757    // Get the metadata item type
     
    12941294            snprintf(content, MAXSTR, "%s F32  ", item->name);
    12951295            strncat(mdString, content, MAXSTR);
    1296             snprintf(content, MAXSTR, "%f ", item->data.F32);
     1296            snprintf(content, MAXSTR, "%22.15g ", item->data.F32);
    12971297            strncat(mdString, content, MAXSTR);
    12981298            if ( strncmp(item->comment,"",2) ) {
     
    13101310            snprintf(content, MAXSTR, "%s F64  ", item->name);
    13111311            strncat(mdString, content, MAXSTR);
    1312             snprintf(content, MAXSTR, "%f ", item->data.F64);
     1312            snprintf(content, MAXSTR, "%22.15g ", item->data.F64);
    13131313            strncat(mdString, content, MAXSTR);
    13141314            if ( strncmp(item->comment,"",2) ) {
Note: See TracChangeset for help on using the changeset viewer.