Python vtk reader doesn't read all data
I've got a legacy VTK file (https://drive.google.com/file/d/0B268R4ggA2GQMGdnNjNxZlhOMWM/view?usp=sharing) of which ParaView tells me that it has three cell data arrays: cauchy_strain
, cauchy_stress
, and mat_id
. When reading it in Python, however, I only see two. Any ideas?
MWE:
import vtk
reader = vtk.vtkUnstructuredGridReader()
reader.SetFileName('forkSym_r_r_r.05.vtk')
reader.Update()
vtk_mesh = reader.GetOutput()
print(vtk_mesh.GetCellData())
# Number Of Arrays: 2
# Array 0 name = mat_id
# Array 1 name = cauchy_strain