VTKHDF: 读入FieldData中的StringArray报错

When I was testing vtkhdf, I found that when the read StringArray was n rows and multiple columns, an error would be prompted

ERROR: In vtkHDFUtilities.cxx, line 558

(nullptr): Dataset: ndims: 2 greater than expected ndims: 0 plus one.

ERROR: In vtkHDFUtilities.cxx, line 602

(nullptr): Error H5Dread

simple_unstructured1.vtkhdf (4.0 MB)

Hello @jie_baoer,

Indeed string array is not well supported by the vtkHDFReader/vtkHDFWriter, there is an issue about that here : https://gitlab.kitware.com/vtk/vtk/-/issues/19771. We need to fix that at some point.

Thanks for the info! I’ve noted the limitation and will use an alternative method to handle string data.
Looking forward to the fix in a future release.