Hi All,
I am having some problems loading a structured .vts file using a python script and pvbatch.
The vts file has a xml header and contains a static grid and several time step data sets in binary.
The file loads perfectly well in the ParaView GUI but throws the following warning when loading with pvbatch
Warning: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/VTK/IO/Parallel/vtkMultiBlockPLOT3DReader.cxx, line 1364
vtkMPIMultiBlockPLOT3DReader (0x7394560): This appears to be an ASCII file. Please make sure that all settings are correct to read it correctly.
and subsequently fails to load the data.
I am using the following python command
field_0_vts = XMLStructuredGridReader( FileName=[’./field_0.vts’] )
which was output via the paraview start trace function.
I am assuming that the XMLStructuredGridReader function does not know how to deal with this type of vts file? but I am not sure exactly as I don’t know what ParaView is doing.
Any help would be much appreciated.
Kind regards,
Jake