Changeset 1158 for XIOS/dev/dev_olga/src/io/netCdfInterface_impl.hpp
- Timestamp:
- 06/06/17 17:58:16 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/io/netCdfInterface_impl.hpp
r1030 r1158 121 121 inqVarName(ncid, varId, varName); 122 122 sstr << "Unable to write data given the location id: " << ncid << " and the variable whose id: " << varId << " and name: " << varName << std::endl; 123 // if (status == NC_ENOTVAR )124 // sstr << "Variable not found. "<< std::endl;125 // else if (status == NC_EINVALCOORDS)126 // sstr << "Index exceeds dimension bound. "<< std::endl;127 // else if (status == NC_EEDGE)128 // sstr << " Start+count exceeds dimension bound. "<< std::endl;129 // else if (status == NC_ERANGE)130 // sstr << " One or more of the values are out of range. "<< std::endl;131 // else if (status == NC_EINDEFINE)132 // sstr << " Operation not allowed in define mode. "<< std::endl;133 // else if (status == NC_EBADID)134 // sstr << "Bad ncid. "<< std::endl;135 123 throw CNetCdfException(sstr.str()); 136 124 }
Note: See TracChangeset
for help on using the changeset viewer.