Ignore:
Timestamp:
07/01/16 16:55:33 (8 years ago)
Author:
oabramkina
Message:

Sequential version for UGRID norms. File attribute "convention" has been added with two possible values "CF" and "UGRID". The default value is "CF".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/io/onetcdf4.hpp

    r802 r878  
    2727            /// Constructeurs /// 
    2828            CONetCDF4(const StdString& filename, bool append, bool useClassicFormat = false, 
     29                          bool useCFConvention = true, 
    2930                      const MPI_Comm* comm = NULL, bool multifile = true, 
    3031                      const StdString& timeCounterName = "time_counter"); 
     
    3536 
    3637            /// Initialisation /// 
    37             void initialize(const StdString& filename, bool append, bool useClassicFormat, 
     38            void initialize(const StdString& filename, bool append, bool useClassicFormat, bool useCFConvention, 
    3839                            const MPI_Comm* comm, bool multifile, const StdString& timeCounterName); 
    3940            void close(void); 
     
    99100 
    100101            bool varExist(const StdString& varname); 
     102            bool dimExist(const StdString& dimname); 
    101103 
    102104            bool useClassicFormat; //!< If true, NetCDF4 will use the classic NetCDF3 format 
     105            bool useCFConvention;  //!< If true data is written in the CF convention otherwise in UGRID 
    103106 
    104107      //---------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.