Changeset 316 for XIOS/trunk/src/output/nc4_data_output.cpp
- Timestamp:
- 02/20/12 17:42:29 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/output/nc4_data_output.cpp
r314 r316 563 563 SuperClassWriter::addVariable(axisid, NC_DOUBLE, dims); 564 564 date::CDate initDate=cal->getInitDate() ; 565 StdOStringStream oss2; 566 oss2<<initDate.getYear()<<"-"<<initDate.getMonth()<<"-"<<initDate.getDay()<<" " 567 <<initDate.getHour()<<"-"<<initDate.getMinute()<<"-"<<initDate.getSecond() ; 568 StdString strInitdate=oss2.str() ; 565 // StdOStringStream oss2; 566 // oss2<<initDate.getYear()<<"-"<<initDate.getMonth()<<"-"<<initDate.getDay()<<" " 567 // <<initDate.getHour()<<"-"<<initDate.getMinute()<<"-"<<initDate.getSecond() ; 568 // StdString strInitdate=oss2.str() ; 569 StdString strInitdate=initDate.toString() ; 569 570 this->writeTimeAxisAttributes 570 571 (axisid, cal->getType(),
Note: See TracChangeset
for help on using the changeset viewer.