pyvista.examples.downloads.download_damavand_volcano#

download_damavand_volcano(load=True)[source]#

Download damavand volcano model.

Parameters:
loadbool, default: True

Load the dataset after downloading it when True. Set this to False and only the filename will be returned.

Returns:
pyvista.ImageData | str

DataSet or filename depending on load.

Examples

>>> from pyvista import examples
>>> cpos = [
...     [4.66316700e04, 4.32796241e06, -3.82467050e05],
...     [5.52532740e05, 3.98017300e06, -2.47450000e04],
...     [4.10000000e-01, -2.90000000e-01, -8.60000000e-01],
... ]
>>> dataset = examples.download_damavand_volcano()
>>> dataset.plot(
...     cpos=cpos, cmap="reds", show_scalar_bar=False, volume=True
... )
../../../_images/pyvista-examples-downloads-download_damavand_volcano-1_00_00.png

See also

Damavand Volcano Dataset

See this dataset in the Dataset Gallery for more info.

Volume Rendering

Example using this dataset.