Changeset 606 for XIOS/branchs/xios-1.0/src/output/onetcdf4.cpp
- Timestamp:
- 06/03/15 15:06:25 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/branchs/xios-1.0/src/output/onetcdf4.cpp
r605 r606 288 288 //--------------------------------------------------------------- 289 289 290 void CONetCDF4::setCompressionLevel(const StdString& varname, int compressionLevel) 291 { 292 int grpid = this->getCurrentGroup(); 293 int varid = this->getVariable(varname); 294 CNetCdfInterface::defVarDeflate(grpid, varid, compressionLevel); 295 } 296 297 //--------------------------------------------------------------- 298 290 299 template <> 291 300 void CONetCDF4::addAttribute … … 414 423 { 415 424 sstart.push_back(record); 416 scount.push_back(1); 425 scount.push_back(1); 417 426 if ((start == NULL) && 418 427 (count == NULL)) i++; … … 421 430 422 431 for (;it != end; it++) 423 { 432 { 424 433 if ((start != NULL) && (count != NULL)) 425 434 {
Note: See TracChangeset
for help on using the changeset viewer.