Changeset 972 for XIOS/trunk/src


Ignore:
Timestamp:
10/17/16 16:44:57 (8 years ago)
Author:
ymipsl
Message:

Do not call compression if compression_level=0
It appear to be a bug for newer version of netcdf

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/io/netCdfInterface.cpp

    r833 r972  
    746746int CNetCdfInterface::defVarDeflate(int ncid, int varId, int compressionLevel) 
    747747{ 
     748   
     749  if (compressionLevel == 0) return NC_NOERR ; 
    748750  int status = nc_def_var_deflate(ncid, varId, false, (compressionLevel > 0), compressionLevel); 
    749751  if (NC_NOERR != status) 
Note: See TracChangeset for help on using the changeset viewer.