Ignore:
Timestamp:
02/03/14 14:16:20 (10 years ago)
Author:
ymipsl
Message:

Enhancement : user defined global and field attribute can be output in the netcdfcf file.
A variable child element inclosed into a file element will be output as a global file attribute.
A variable child element inclosed into a field element will be output as a field attribute.

+ variable fortran interface added

YM

File:
1 edited

Legend:

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

    r391 r472  
    2121            /// Ecriture /// 
    2222            void writeFile     (CFile*  file); 
     23            void writeAttribute(CVariable*  var); 
    2324            void syncFile     (void); 
    2425            void closeFile     (void); 
     
    4243 
    4344            virtual void writeFile_       (CFile*     file)   = 0; 
     45            virtual void writeAttribute_(CVariable*  var) = 0 ; 
    4446            virtual void closeFile_       (void)                                            = 0; 
    4547            virtual void syncFile_       (void)                                            = 0; 
Note: See TracChangeset for help on using the changeset viewer.