pyvista.HDFReader

Contents

pyvista.HDFReader#

class HDFReader(*args, **kwargs)[source]#

HDFReader for .hdf files.

Examples

>>> import pyvista as pv
>>> from pyvista import examples
>>> filename = examples.download_can_crushed_hdf(load=False)
>>> filename.split('/')[-1]  # omit the path
'can-vtu.hdf'
>>> reader = pv.get_reader(filename)
>>> mesh = reader.read()
>>> mesh.plot()
../../../_images/pyvista-HDFReader-1_00_00.png

Methods

HDFReader.read()

Read data in file.

Attributes