Skip to main content

Convert reservoir simulator input and output to DataFrames

Project description

Publish to PyPI PyPI version codecov Python 3.11-3.14 Ruff License: GPL v3

res2df

res2df is a Pandas DataFrame wrapper around resdata and opm.io, which are used to access binary files outputted by reservoir simulators, or its input files --- or any other tool outputting to the same data format.

The reverse operation, from a Pandas DataFrame to reservoir simulator include files (commonly given the extension ".inc", ".grdecl" etc.) is provided for some of the modules.

The package consists of a module pr. datatype, e.g. one module for summary files (.UNSMRY), one for completion data etc.

There is a command line frontend for almost all functionality, called res2csv, which converts the reservoir data to DataFrames, and then dumps the dataframes to files in CSV format, and a similar csv2res for the reverse operation.

For documentation, see https://equinor.github.io/res2df/

License

This library is released under GPLv3.

Copyright

The code is Copyright Equinor ASA 2019-2021.

Contributions without copyright transfer are welcome.

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

res2df-1.3.13.tar.gz (11.9 MB view details)

Uploaded Source

Built Distribution

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

res2df-1.3.13-py3-none-any.whl (158.3 kB view details)

Uploaded Python 3

File details

Details for the file res2df-1.3.13.tar.gz.

File metadata

  • Download URL: res2df-1.3.13.tar.gz
  • Upload date:
  • Size: 11.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for res2df-1.3.13.tar.gz
Algorithm Hash digest
SHA256 9bcf1021dcb2937b6aa2cd5dade9afd2279e68df0a4bee926f470063603943bb
MD5 9f309ab66a302f5c22011846076e31af
BLAKE2b-256 cabc2bc5e486b019280b46c8e435ca472fce1a01108856c2a92160b101d7e052

See more details on using hashes here.

Provenance

The following attestation bundles were made for res2df-1.3.13.tar.gz:

Publisher: publish.yml on equinor/res2df

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file res2df-1.3.13-py3-none-any.whl.

File metadata

  • Download URL: res2df-1.3.13-py3-none-any.whl
  • Upload date:
  • Size: 158.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for res2df-1.3.13-py3-none-any.whl
Algorithm Hash digest
SHA256 ab62798b0983cca6581ac147ca8cc7dc3819a3e500334f68bd649fa1ea13582a
MD5 572efa306363c81fffb7a8e870d8f88d
BLAKE2b-256 0b4390d7c3395b8b91f72a4a4c4a00f111d0ae265b3f00b338b3d4358371c347

See more details on using hashes here.

Provenance

The following attestation bundles were made for res2df-1.3.13-py3-none-any.whl:

Publisher: publish.yml on equinor/res2df

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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