pyvista.read_grdecl#
- read_grdecl(filename, elevation=True, other_keywords=None)[source]#
Read a GRDECL file (
'.GRDECL'
).- Parameters:
- Returns:
pyvista.ExplicitStructuredGrid
Output explicit structured grid.
Examples
Read a
'.GRDECL'
file.>>> import pyvista as pv >>> grid = pv.read('file.GRDECL')
Unused keywords contained in the file are stored in
pyvista.ExplicitStructuredGrid.user_dict
:>>> grid.user_dict {"MAPUNITS": ..., "GRIDUNIT": ..., ...}