pyvista.DEMReader

Contents

pyvista.DEMReader#

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

DEM Reader for .dem files.

Examples

>>> import pyvista as pv
>>> from pyvista import examples
>>> filename = examples.download_st_helens(load=False)
>>> filename.split("/")[-1]  # omit the path
'SainteHelens.dem'
>>> reader = pv.get_reader(filename)
>>> mesh = reader.read()
>>> mesh.plot()
../../../_images/pyvista-DEMReader-1_00_00.png

Methods

Attributes