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.1.0.tar.gz (12.7 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.1.0-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyvista_resqml-0.1.0.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyvista_resqml-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9e90bd5a494282f76c6884b2ca3f2b8fc33a49c98fe6afd9b327aca41c037da1
MD5 fb4bc16aec98e36e04a5717b1d53307a
BLAKE2b-256 a8b563349f09eca839fc6475ec8a17c1acf333e0ab7f34bfbe03faf23a6f46de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyvista_resqml-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyvista_resqml-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d67fa2c7d5fb8e02500a6bc60ef2a6c1aa1ff137e0a0849204c760f0492e873b
MD5 50df80c4854a034f1b6c3416e6ca998f
BLAKE2b-256 d49da5d9a8b76f31247acc9baba074396073f1560457953309e6a8a434df6b3d

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