It would be useful to be able to read cell or point data that is not of DataArray type. One use case is string data, which is of the Array type, e.g.:
<Array type="String" Name="Container" format="ascii">
Currently this is not implemented in ReadVTK.jl:
|
@assert LightXML.name(xml_element) == "DataArray" |
Alternatively, if Array type data is not readable, it would still be nice to be able to read the DataArray components (without considering the Array components). Currently in ReadVTK.jl, if there is even one XML element that is not DataArray (even if that's not the one you want to read), the @assert referenced above will fail, and the data cannot be read. Ideally, one should be able to read DataArray components, even if Array components exist in the XML tree.