pyvista_zstd.Reader.available_cell_arrays#
- property Reader.available_cell_arrays: set[str]#
Return a set of all cell array names available in the dataset.
- Returns:
- set[str]
Names of all cell arrays available in the dataset.
Examples
First write out an example dataset.
>>> import pyvista as pv >>> import numpy as np >>> import pyvista_zstd >>> ds = pv.Sphere() >>> ds.point_data["pdata"] = np.arange(ds.n_points) >>> pyvista_zstd.write(ds, "sphere.pv")
Create a reader and list available point arrays.
>>> reader = pyvista_zstd.Reader("sphere.pv") >>> reader.available_point_arrays {"Normals", "pdata"}