Changeset 833 for XIOS/trunk/src/io/netCdfInterface.cpp
- Timestamp:
- 04/08/16 15:00:15 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/io/netCdfInterface.cpp
r811 r833 279 279 sstr << "Error when calling function nc_inq_varname(ncid, varId, varNameBuff)" << std::endl 280 280 << errormsg << std::endl 281 << "Unable to get variable name given its id: " << varId << std::endl;281 << "Unable to get variable name: "<< varName << " given its id: " << varId << std::endl; 282 282 StdString e = sstr.str(); 283 283 throw CNetCdfException(e); … … 329 329 sstr << "Error when calling function nc_inq_dimname(ncid, dimId, fullNameIn)" << std::endl 330 330 << errormsg << std::endl 331 << "Unable to get dimension name given its id: " << dimId << std::endl;331 << "Unable to get dimension name: " << dimName << " given its id: " << dimId << std::endl; 332 332 StdString e = sstr.str(); 333 333 throw CNetCdfException(e); … … 612 612 sstr << "Error when calling function nc_inq_attname(ncid, varid, attnum, attName)" << std::endl; 613 613 sstr << errormsg << std::endl; 614 sstr << "Unable to query the name of attribute " << attnum << " given the location id:" << ncid << " and the variable id:" << varid << std::endl;614 sstr << "Unable to query the name: " << name << " of attribute " << attnum << " given the location id:" << ncid << " and the variable id:" << varid << std::endl; 615 615 StdString e = sstr.str(); 616 616 throw CNetCdfException(e);
Note: See TracChangeset
for help on using the changeset viewer.