Read UBC Topography File

Read a UBC topography file

# sphinx_gallery_thumbnail_number = 1
import PVGeo
import pyvista
from pyvista import examples

Download sample data files and keep track of names:

url = ''
topo_file, _ = examples.downloads._retrieve_file(url, 'LdM_topo.topo')
topo = PVGeo.ubc.TopoReader().apply(topo_file)


PolyData (0x7f0ea79f14c8)
  N Cells:      381924
  N Points:     381924
  X Bounds:     3.550e+05, 3.720e+05
  Y Bounds:     5.999e+06, 6.016e+06
  Z Bounds:     2.050e+03, 3.104e+03
  N Arrays:     1

Total running time of the script: ( 0 minutes 5.883 seconds)

Gallery generated by Sphinx-Gallery