Read ESRI Grid File

Read an ESRI ASCII grid file

import pyvista
from PVGeo.grids import EsriGridReader
from pyvista import examples

Download a sample ESRI grid file

filename, _ = examples.downloads._download_file('')
dem = EsriGridReader().apply(filename)

Apply a filter to the DEM to have realistic topography

warped = dem.warp_by_scalar()
warped.plot(cmap='terrain', clim=[-100, 400])

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

Gallery generated by Sphinx-Gallery