| 126 | } |
| 127 | |
| 128 | bool vtkNetCDFAccessor::GetCoordinates(int ncid, int varId, std::vector<std::string>& coordName) |
| 129 | { |
| 130 | std::string coordinates; |
| 131 | if (!this->ReadTextAttribute(ncid, varId, "coordinates", coordinates)) |
| 132 | return false; |
| 133 | |
| 134 | vtksys::SystemTools::Split(coordinates, coordName, ' '); |
| 135 | return true; |
| 136 | } |
| 137 | |
| 138 | bool vtkNetCDFAccessor::ReadTextAttribute( |
| 139 | int ncid, int varId, const char* name, std::string& result) |
nothing calls this directly
no test coverage detected