Changeset 1460 for XIOS/dev/branch_openmp/src/io/netCdfInterface.cpp
- Timestamp:
- 03/22/18 10:43:20 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/src/io/netCdfInterface.cpp
r1362 r1460 30 30 << errormsg << std::endl 31 31 << "Unable to create file, given its name: " << fileName 32 << " and its creation mode " << creationMode2String(cMode) << std::endl;32 << " and its creation mode " << creationMode2String(cMode) << std::endl; 33 33 StdString e = sstr.str(); 34 34 throw CNetCdfException(e); … … 144 144 } 145 145 } 146 146 147 return status; 147 148 } … … 755 756 756 757 if (compressionLevel == 0) return NC_NOERR ; 757 int status = nc_def_var_deflate(ncid, varId, false, (compressionLevel > 0), compressionLevel);758 int status = nc_def_var_deflate(ncid, varId, (compressionLevel > 0), (compressionLevel > 0), compressionLevel); 758 759 if (NC_NOERR != status) 759 760 {
Note: See TracChangeset
for help on using the changeset viewer.