pyvista.examples.downloads.download_crater_imagery

pyvista.examples.downloads.download_crater_imagery#

download_crater_imagery(load=True)[source]#

Download crater texture.

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.Texture | str

DataSet or filename depending on load.

Examples

>>> from pyvista import examples
>>> import pyvista as pv
>>> cpos = pv.CameraPosition(
...     position=(66.0, 73.0, -382.6),
...     focal_point=(66.0, 73.0, 0.0),
...     viewup=(-0.0, -1.0, 0.0),
... )
>>> texture = examples.download_crater_imagery()
>>> texture.plot(cpos=cpos)
../../../_images/pyvista-examples-downloads-download_crater_imagery-7cf1b8d99d544b5e_00_00.png

See also

Crater Imagery Dataset

See this dataset in the Dataset Gallery for more info.

Topographic Map

Example using this dataset.