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/output/onetcdf4.hpp

    r413 r472  
    5353               void setDefaultValue(const StdString & varname, const T * value = NULL); 
    5454          
    55             template <class T> 
    56                void addAttribute 
    57                   (const StdString & name, const T & value, const StdString * varname = NULL); 
     55            template <class T>  void addAttribute (const StdString & name, const T & value, const StdString * varname = NULL); 
    5856 
    5957            /// Ecriture des données /// 
Note: See TracChangeset for help on using the changeset viewer.