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.
It would be useful to be able to read cell or point data that is not of
DataArraytype. One use case is string data, which is of theArraytype, e.g.:<Array type="String" Name="Container" format="ascii">Currently this is not implemented in
ReadVTK.jl:ReadVTK.jl/src/ReadVTK.jl
Line 399 in 09aea36
Alternatively, if
Arraytype data is not readable, it would still be nice to be able to read theDataArraycomponents (without considering theArraycomponents). Currently inReadVTK.jl, if there is even one XML element that is notDataArray(even if that's not the one you want to read), the@assertreferenced above will fail, and the data cannot be read. Ideally, one should be able to readDataArraycomponents, even ifArraycomponents exist in the XML tree.