pyvista-xarray icon indicating copy to clipboard operation
pyvista-xarray copied to clipboard

add more file extension handlers

Open banesullivan opened this issue 2 years ago • 0 comments

the dataset backend here uses pyvista.read() to load files supported by PyVista/VTK. Currently these are limited to vti, vts, and vtr files but any formats the generate a vtkRectilinearGrid, vtkImageData, or vtkStructuredGrid are supported.

This dataset engine should list any file extensions supported by PyVista that will generate those data types. I'm wondering if we could have PyVista list these extensions upstream?

See https://github.com/pyvista/pyvista/blob/75d51c6c1167137051b34c7acb8286c3df8eb926/pyvista/utilities/reader.py#L2081

banesullivan avatar Jul 02 '22 18:07 banesullivan