download_mount_damavand#
- download_mount_damavand(load: bool = True) PolyData | str[source]#
Download the Mount Damavand dataset.
Visualize 3D models of Damavand Volcano, Alborz, Iran. This is a 2D map with the altitude embedded as
'z'cell data within thepyvista.PolyData.Originally posted at banesullivan/damavand-volcano.
- Parameters:
- Returns:
- output
pyvista.PolyData|str DataSet or filename depending on
load.
- output
Examples#
Download Python source code | Download Jupyter notebook
Download the Damavand dataset and plot it after warping it by its altitude.
>>> from pyvista import examples
>>> dataset = examples.download_mount_damavand()
>>> dataset = dataset.cell_data_to_point_data()
>>> dataset = dataset.warp_by_scalar('z', factor=2)
>>> dataset.plot(cmap='gist_earth', show_scalar_bar=False)
See also
- Mount Damavand Dataset
See this dataset in the Dataset Gallery for more info.