pyvista.examples.downloads.download_reservoir#

download_reservoir(load=True)[source]#

Download the UNISIM-II-D reservoir model.

UNISIM-II is a synthetic carbonate reservoir model created by UNISIM-CEPETRO-Unicamp. The dataset can be used to compare methodologies and performance of different techniques, simulators, algorithms, among others. See more at https://www.unisim.cepetro.unicamp.br/benchmarks/br/unisim-ii/overview

This dataset is licenced under the Database Contents License: http://opendatacommons.org/licenses/dbcl/1.0/

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.ExplicitStructuredGrid or str

DataSet or filename depending on load.

Examples

Load and plot dataset.

>>> from pyvista import examples
>>> import pyvista as pv
>>> dataset = examples.download_reservoir()
>>> dataset
ExplicitStructuredGrid (...)
  N Cells:    47610
  N Points:   58433
  X Bounds:   3.104e+05, 3.177e+05
  Y Bounds:   7.477e+06, 7.486e+06
  Z Bounds:   -2.472e+03, -1.577e+03
  N Arrays:   6
>>> plot = pv.Plotter()
>>> _ = plot.add_mesh(dataset, show_edges=True)
>>> camera = plot.camera
>>> camera.position = (312452, 7474760, 3507)
>>> camera.focal_point = (314388, 7481520, -2287)
>>> camera.up = (0.09, 0.63, 0.77)
>>> camera.distance = 9112
>>> camera.clipping_range = (595, 19595)
>>> plot.show()
../../../_images/pyvista-examples-downloads-download_reservoir-1_00_00.png

See also

Reservoir Dataset

See this dataset in the Dataset Gallery for more info.