Exodus reader not providing timestep info after UpdateInformation
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
As reported by Andrew Slaughter on vtkusers:
Using python vtk on OSX I am getting different behavior when reading ExodusII files. Am I missing a call to some different update function?
The test code is:
#!/usr/bin/env python import vtk
print vtk.VTK_VERSION reader = vtk.vtkExodusIIReader() reader.SetFileName('adapt.e') reader.UpdateInformation() print 'adapt.e', reader.GetNumberOfTimeSteps()
reader.SetFileName('adapt.e-s002') reader.UpdateInformation() print 'adapt.e-s002', reader.GetNumberOfTimeSteps()
On 6.3 (installed via miniconda): 6.3.0 adapt.e 2 adapt.e-s002 1
On VTK 7 (4613a183) 7.1.0 adapt.e 2 adapt.e-s002 0