Changeset 292
- Timestamp:
- 11/02/11 15:28:42 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XMLIO_V2/dev/common/src/output/nc4_data_output.cpp
r286 r292 560 560 { 561 561 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() ; 562 567 this->writeTimeAxisAttributes 563 (axisid, cal->get Id(),564 StdString("seconds since ").append( cal->getInitDate().toString()),565 cal->getInitDate().toString());568 (axisid, cal->getType(), 569 StdString("seconds since ").append(strInitdate), 570 strInitdate); 566 571 } 567 572
Note: See TracChangeset
for help on using the changeset viewer.