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

    r515 r517  
    8585    static int defVarChunking(int ncid, int varId, int storage, StdSize chunkSize[]); 
    8686 
     87    //! Set or unset the fill mode 
     88    static int setFill(int ncid, bool fill); 
     89 
    8790    //! Define variable fill parameters 
    8891    static int defVarFill(int ncid, int varId, int noFill, void* fillValue); 
Note: See TracChangeset for help on using the changeset viewer.