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

Method nc_dim_id

IO/NetCDF/vtkMPASReader.cxx:814–822  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

812//------------------------------------------------------------------------------
813
814int vtkMPASReader::Internal::nc_dim_id(const char* name, bool msg_on_err) const
815{
816 int dimid;
817 if (nc_err(nc_inq_dimid(ncFile, name, &dimid), msg_on_err))
818 {
819 return -1;
820 }
821 return dimid;
822}
823
824//------------------------------------------------------------------------------
825// Check if there is a NetCDF attribute by that name

Callers 3

GetNcDimsMethod · 0.80
LoadTimeFieldDataMethod · 0.80
CanReadFileMethod · 0.80

Calls 1

nc_inq_dimidFunction · 0.85

Tested by

no test coverage detected