Ignore:
Timestamp:
12/03/14 17:54:33 (9 years ago)
Author:
rlacroix
Message:

Add the ability to append data to existing output file(s).

By default existing file(s) will still be overwritten. Set the new file attribute "append" to true if you wish to append data to existing NetCDF file(s).

Note that the append mode is currently not supported when file splitting is used and that the structure of the output file cannot be changed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/data_output.hpp

    r501 r528  
    3232            virtual void definition_end(void)   = 0; 
    3333 
     34            //!< Test if the file was opened in append mode 
     35            virtual bool IsInAppendMode() const { return appendMode; }; 
     36 
    3437            virtual ~CDataOutput(void); 
    3538 
     
    5659            /// Propriétés protégées /// 
    5760            EDataOutputType type; 
     61            bool appendMode; //!< If true, we are appending data to an existing file 
    5862 
    5963      }; // class CDataOutput 
Note: See TracChangeset for help on using the changeset viewer.