Paraview error for vtk file vtkunStructuredGridReader "(0000023206E9DA20)" :Unsupported point attribute type: 0.00

Hi,

I’ve used the vtkwrite libairie on matlab to export my CFD code data on paraview but I’ve this strange error when I open the file.
vtkunStructuredGridReader “(0000023206E9DA20)”: Unsupported point attribute type: 0.00

It works whit the matlab test code from the library, and there is also a 0.00 value in the vtk file.

I don’t know why it doesn’t work. If someone has an idea ?
Thank you.

here are the files (link available until 24/07/2024)
https://filesender.renater.fr/?s=download&token=b51febbf-7ec8-43f5-8f2f-b7d272f8b080

The wind.vtk dataset loads just fine for me.
The 12.vtk shows the error that you attached.

As you can see in VTK/IO/Legacy/vtkDataReader.cxx at 7419b6721571b3db32a499da9d7045a7646da566 · Kitware/VTK · GitHub. only certain types of point attributes are supported, and clearly 0.00 is not one of them. Since they are in binary form (i think) writing them in ASCII form would help you figure out what’s the issue. My guess is that something was either written without following the format, or more data were written than said, e.g. array with 100 values end up having 101 values.

Hello, thank you for your reply. I’ve manage to fix that by load the file whit the error in paraview then export them using paraview and it works. I while maybe code my own matlab to vtk converter to fix that whitout the needed to export the file using paraview .