Ignore:
Timestamp:
11/26/14 12:06:21 (10 years ago)
Author:
rlacroix
Message:

Add a new attribute to the file definition so that the output format can be controlled.

Currently the supported formats are "netcdf4" and "netcdf4_classic". The "format" attribute is optional. The "netcdf4" format will be used when no format is explicitly defined. Since "netcdf4" is the format which was previously used by XIOS, existing configuration files will not be affected by this change.

If "netcdf4_classic" is used, the output file(s) will be created using the classic NetCDF format. This format can be used with the attribute "type" set to "one_file" if the NetCDF4 library was compiled with Parallel NetCDF support (--enable-pnetcdf).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/config/file_attribute.conf

    r501 r517  
    1212DECLARE_ATTRIBUTE(bool,      enabled) 
    1313DECLARE_ENUM2(type,one_file,multiple_file) 
     14DECLARE_ENUM2(format, netcdf4, netcdf4_classic) 
    1415DECLARE_ATTRIBUTE(StdString,      par_access) 
    1516 
Note: See TracChangeset for help on using the changeset viewer.