Ignore:
Timestamp:
03/22/18 10:43:20 (6 years ago)
Author:
yushan
Message:

branch_openmp merged with XIOS_DEV_CMIP6@1459

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/src/io/netCdfInterface.cpp

    r1362 r1460  
    3030         << errormsg << std::endl 
    3131         << "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; 
    3333    StdString e = sstr.str(); 
    3434    throw CNetCdfException(e); 
     
    144144    } 
    145145  } 
     146 
    146147  return status; 
    147148} 
     
    755756   
    756757  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); 
    758759  if (NC_NOERR != status) 
    759760  { 
Note: See TracChangeset for help on using the changeset viewer.