MCPcopy Create free account
hub / github.com/Kitware/VTK / nc_err

Method nc_err

IO/NetCDF/vtkNetCDFCAMReader.cxx:112–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110};
111
112bool vtkNetCDFCAMReader::Internal::nc_err(int nc_ret, bool msg_on_err) const
113{
114 if (nc_ret == NC_NOERR)
115 {
116 return false;
117 }
118
119 if (msg_on_err)
120 {
121 vtkErrorWithObjectMacro(reader, << "NetCDF error: " << nc_strerror(nc_ret));
122 }
123 return true;
124}
125
126std::string vtkNetCDFCAMReader::Internal::GetNameDimension(int nc_file, int nc_var) const
127{

Callers 3

RequestInformationMethod · 0.45
BuildVarArrayMethod · 0.45
RequestDataMethod · 0.45

Calls 1

nc_strerrorFunction · 0.85

Tested by

no test coverage detected