Read GSLib Point Set

Read GSLib point set file

# sphinx_gallery_thumbnail_number = 1
from pyvista import examples

from PVGeo.gslib import GSLibPointSetReader
# points_url = 'http://www.trainingimages.org/uploads/3/4/7/0/34703305/b_100sampledatawl.sgems'
filename, _ = examples.downloads._download_file('b_100sampledatawl.sgems')

point_set = GSLibPointSetReader().apply(filename)
point_set
HeaderData Arrays
PolyDataInformation
N Cells100
N Points100
X Bounds3.000e+00, 2.520e+02
Y Bounds1.000e+00, 2.980e+02
Z Bounds0.000e+00, 0.000e+00
N Arrays1
NameFieldTypeN CompMinMax
U-random-samplingtransPointsfloat6410.000e+002.302e+03


point_set.plot()
read point set

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

Gallery generated by Sphinx-Gallery