Skip to main content

RESQML extension for PyVista

Project description

PyVista RESQML

License Stars Pyversions Version Downloads Code style: black

A PyVista extension for seamless reading and writing of RESQML data (EPC files).

Features

  • 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.

Installation

The recommended way to install pyvista-resqml and all its dependencies is through the Python Package Index:

pip install pyvista-resqml --user

Otherwise, clone and extract the package, then run from the package location:

pip install .[full] --user

To test the integrity of the installed package, check out this repository and run:

pytest

Examples

Convert a GRDECL file to RESQML

import 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")

mesh

Acknowledgements

This project is supported by Nagra (National Cooperative for the Disposal of Radioactive Waste), Switzerland.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyvista_resqml-0.2.0.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyvista_resqml-0.2.0-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file pyvista_resqml-0.2.0.tar.gz.

File metadata

  • Download URL: pyvista_resqml-0.2.0.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for pyvista_resqml-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2320754db1b9d89418ef6e10c350d84c9e8c6f715b128b75d466a944093da6e0
MD5 3265b80d2bb29d71c7c2ebe6300bea12
BLAKE2b-256 428b3dd6ea69ece5ce56c8f8f3b1808a3a752cd9a878f2fa59ea2339fbe6f9f2

See more details on using hashes here.

File details

Details for the file pyvista_resqml-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pyvista_resqml-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for pyvista_resqml-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6fec552f4c4b565e3e24e026780b078f5e133a25f3731651726018670d3950a9
MD5 55913207a7476eca31fde29953a69a1a
BLAKE2b-256 91a151e1dc79d3e6ca17dbbe547e8e6592f8b1b1f4671b5d9edf0392f29d28bf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page