------------------------------------------------------------------------------
| 752 | |
| 753 | //------------------------------------------------------------------------------ |
| 754 | int vtkNetCDFReader::IsTimeDimension(int ncFD, int dimId) |
| 755 | { |
| 756 | char name[NC_MAX_NAME + 1]; |
| 757 | CALL_NETCDF_INT(this->Accessor->inq_dimname(ncFD, dimId, name)); |
| 758 | name[4] = '\0'; // Truncate to 4 characters. |
| 759 | return (vtksys::SystemTools::Strucmp(name, "time") == 0); |
| 760 | } |
| 761 | |
| 762 | //------------------------------------------------------------------------------ |
| 763 | vtkSmartPointer<vtkDoubleArray> vtkNetCDFReader::GetTimeValues(int ncFD, int dimId) |
no test coverage detected