Changeset 292


Ignore:
Timestamp:
11/02/11 15:28:42 (13 years ago)
Author:
ymipsl
Message:

mise en conformite norm CF pour les attribut de l'axe des temps.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_V2/dev/common/src/output/nc4_data_output.cpp

    r286 r292  
    560560         { 
    561561            SuperClassWriter::addVariable(axisid, NC_DOUBLE, dims); 
     562            date::CDate initDate=cal->getInitDate() ; 
     563            StdOStringStream oss2; 
     564            oss2<<initDate.getYear()<<"-"<<initDate.getMonth()<<"-"<<initDate.getDay()<<" " 
     565                <<initDate.getHour()<<"-"<<initDate.getMinute()<<"-"<<initDate.getSecond() ; 
     566            StdString strInitdate=oss2.str() ; 
    562567            this->writeTimeAxisAttributes 
    563                (axisid, cal->getId(), 
    564                 StdString("seconds since ").append(cal->getInitDate().toString()), 
    565                 cal->getInitDate().toString()); 
     568               (axisid, cal->getType(), 
     569                StdString("seconds since ").append(strInitdate), 
     570                strInitdate); 
    566571         } 
    567572 
Note: See TracChangeset for help on using the changeset viewer.