Changeset 1030 for XIOS/dev/dev_olga/src/io/netCdfInterface_impl.hpp
- Timestamp:
- 01/20/17 16:17:57 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/io/netCdfInterface_impl.hpp
r833 r1030 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; 123 135 throw CNetCdfException(sstr.str()); 124 136 }
Note: See TracChangeset
for help on using the changeset viewer.