A PyVista extension for seamless reading and writing of RESQML data (EPC files).
-
Read RESQML EPC files: Load subsurface models and associated metadata directly into Python.
-
Write RESQML EPC files: Export your processed or generated models back to RESQML format for interoperability.
-
PyVista Integration: Visualize and manipulate geological and reservoir models using PyVista’s powerful 3D plotting capabilities.
-
Powered by resqpy: Leverages the robust RESQML handling capabilities of resqpy for reliable data parsing and writing.
The recommended way to install pyvista-resqml and all its dependencies is through the Python Package Index:
pip install pyvista-resqml --userOtherwise, clone and extract the package, then run from the package location:
pip install .[full] --userTo test the integrity of the installed package, check out this repository and run:
pytestimport pyvista as pv
import pvresqml
# Load a mesh (e.g., from GRDECL)
mesh = pv.read("mesh.GRDECL")
# Save to a RESQML file
pvresqml.save("mesh.epc", mesh)
# Read a RESQML file
mesh_epc = pvresqml.read("mesh.epc")This project is supported by Nagra (National Cooperative for the Disposal of Radioactive Waste), Switzerland.
