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

Method nc_err

IO/NetCDF/vtkMPASReader.cxx:227–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227bool vtkMPASReader::Internal::nc_err(int nc_ret, bool msg_on_err) const
228{
229 if (nc_ret == NC_NOERR)
230 {
231 return false;
232 }
233
234 if (msg_on_err)
235 {
236 vtkErrorWithObjectMacro(reader, << "NetCDF error: " << nc_strerror(nc_ret));
237 }
238 return true;
239}
240
241std::string vtkMPASReader::Internal::dimensionedArrayName(int nc_var) const
242{

Callers 11

RequestDataMethod · 0.45
GetNcDimsMethod · 0.45
GetNcAttsMethod · 0.45
GetNcVarsMethod · 0.45
BuildVarArraysMethod · 0.45
AllocPlanarGeometryMethod · 0.45
LoadPointVarDataMethod · 0.45
LoadCellVarDataMethod · 0.45
LoadTimeFieldDataMethod · 0.45

Calls 1

nc_strerrorFunction · 0.85

Tested by

no test coverage detected