Ignore:
Timestamp:
02/02/17 14:40:34 (7 years ago)
Author:
ymipsl
Message:
  • Add 2 new file attributes to parameter timestamp : time_stamp_name and time_stamp_format.

Default value :
time_stamp_name="timestamp"
time_stamp_format="%Y-%b-%d %H:%M:%S %Z"

  • timestamp is now given in UTC time

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/file.cpp

    r1013 r1046  
    463463         if (isOpen) data_out->closeFile(); 
    464464 
    465         data_out = shared_ptr<CDataOutput>(new CNc4DataOutput(oss.str(), append, useClassicFormat, useCFConvention, 
     465        data_out = shared_ptr<CDataOutput>(new CNc4DataOutput(this, oss.str(), append, useClassicFormat, useCFConvention, 
    466466                                                              fileComm, multifile, isCollective, time_counter_name)); 
    467467        isOpen = true; 
Note: See TracChangeset for help on using the changeset viewer.