Hello,
I try to read a vector field on a 2DCoRectMesh. If I use an XML format for the data, I am able to open the xdmf file into paraview.
But if I try to do the same with the data in an h5 file, paraview said: “Failed to read attribute data”.
I don’t understand what happens here.
Loic,
HDF5 files are raw data/arrays containers. ParaView does not provide a generic reader to read those files and arrays without attaching them to a format (like Visit) or XML schema (like XDMF) that describes how to use the h5 raw data to create datasets (points, cells, attributes).
HTH
Thanks @Dave_DeMarle , I can still reproduce the issue if we go back to the ternary test with the dataset of this old thread.
That said, something like count[2] += ((update_extents[1] - update_extents[0]) > 0 || count[2] == 0 )? 1 : 0;
does the trick for both files but I cannot ensure it is an absolute correct solution.