--------------------------------------------------------------------------------------------------
| 759 | |
| 760 | //-------------------------------------------------------------------------------------------------- |
| 761 | std::string vtkNetCDFUGRIDReader::GetDimensionName(int dim) |
| 762 | { |
| 763 | std::array<char, NC_MAX_NAME> buffer{}; |
| 764 | |
| 765 | if (!this->CheckError(nc_inq_dimname(this->NcId, dim, buffer.data()))) |
| 766 | { |
| 767 | vtkErrorMacro("Can not query dim #" << dim << " name"); |
| 768 | return {}; |
| 769 | } |
| 770 | |
| 771 | return std::string{ buffer.data() }; |
| 772 | } |
| 773 | |
| 774 | //-------------------------------------------------------------------------------------------------- |
| 775 | std::string vtkNetCDFUGRIDReader::GetAttributeString(int var, std::string name) |
no test coverage detected