Skip to content

Support for reading Array types, or, support for reading data where some are not DataArray #63

@williamjsdavis

Description

@williamjsdavis

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions