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

Method DescribeDimensions

IO/NetCDF/vtkNetCDFReader.cxx:640–652  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

638
639//------------------------------------------------------------------------------
640vtkStdString vtkNetCDFReader::DescribeDimensions(int ncFD, const int* dimIds, int numDims)
641{
642 std::string description;
643 for (int i = 0; i < numDims; i++)
644 {
645 char name[NC_MAX_NAME + 1];
646 CALL_NETCDF_PTR(this->Accessor->inq_dimname(ncFD, dimIds[i], name));
647 if (i > 0)
648 description += " ";
649 description += name;
650 }
651 return description;
652}
653
654//------------------------------------------------------------------------------
655int vtkNetCDFReader::ReadMetaData(int ncFD)

Callers 1

LoadVariableMethod · 0.95

Calls 1

inq_dimnameMethod · 0.45

Tested by

no test coverage detected