Hello all. I am working on a module to export data to VTKHDF using Fortran. I am able to create the file and h5dump shows the expected data fields. Unfortunately, Paraview fails to read the file with an error flagged by the vtk library indicating the data type is unsupported. The datafile was written using the MPI IO features of the HDF5 library. The intended structure is an UnstructuredGrid type. The linked archive contains a valid vtkxml file for the data which reads in Paraview and the generated vtkhdf file that fails to load.
I am unable to upload files as a new user, but I have uploaded them to our company fileshare at the link below. Inside the archive are the following contents:
paraview_log.txt - contains the error output from Paraview 5.13.0-RC2-335-g80f5b300cc (recent nightly build).
beam_detector_paraview.py - contains a python Paraview statefile which can be used to read in the vtkxml version of the data generated by the software. The data named as “Geometry” is the test case I am mentioning.
beam_detector_GEOM.vtkhdf - contains the VTKHDF that was generated with Fortran that fails to load.
Thanks for checking and that is interesting. How are you importing the data? When I go through File->Open and select the VTKHDF file directly the “Open Data With…” window pops up and does not show the VTKHDF reader as an option. I get the error I posted when I go into the File->Open and click the drop down and select the VTKHDF as the potential options then click on it.
Regarding the intended data, yes there will be time series eventually. This file is the static geometry but there will be other data sets included in additional files. The current plan is to have a separate file per time stamp but we might try out the temporal option.
Sorry for the double message. I just built the Paraview master through my windows subsystem for linux. I am able to load the data there. That makes me think the issue is either windows specific or an issue with the deployed build. Are you able to visualize in windows?
I wonder if it could be due to some issue in your user setting, on windows it should be under a folder named ParaView in AppData\Roaming.
Could you please try to delete this folder and try it again? Doing a copy of this folder before deleting it, might be safer especially if you care about your user setting
Alternatively, you can run paraview in dry run (with the option --dr)
Thanks, gave that a try and it still was unable to read. However, I copied the vtkhdf outside of my WSL environment and it was able to read it from the windows filesystem. A bit odd that it doesn’t work within WSL since the XML files read fine from that environment.
The main reasons I am currently working in that environment are compilation issues with the HDF library and the intel compiler used to build the CFD code which is outputting the VTKHDF. I plan to get them sorted out eventually, but getting a working version on linux is a higher priority so we can use the outputs on a linux HPC.