PIO Reader - Choose Time Array
Give the PIO Reader the ability to choose between Simulation Time or Cycle Index as the time array used. The user should be able to choose in the gui which one to use with a combo box.
When first introduced, the PIO Reader used Cycle Index as time, and there was no way to change it. With MRs vtk/vtk!6975 (merged) and !4176 (merged), this feature was introduced and works in the master branch.
In the release branch, additional commits were needed for this to work properly. These commits were in master, but not in the release branch. Yohann backported some commits in MR vtk/vtk!6990 (comment 777033). This fixed some issues, but some issues still were present.
There are currently two issues:
-
The combo box in the gui to choose time array does not work. If you choose Cycle Index, then hit Apply, the Simulation Time still loads.
-
Switching to a different time array after initially loading the file does not work.
The MR !4187 (closed) backports more commits and seemed to fix these issues, but @utkarsh.ayachit did not want more commits backported, as it was introducing bugs. So the MR has not been merged, yet.