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.14.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.14-py3-none-any.whl (158.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for res2df-1.3.14.tar.gz
Algorithm Hash digest
SHA256 fb0a775d2196d1984bc15f51766b0ac30f6675ec2241e8c94ce11b3de760d6f6
MD5 8d9cf7392a4e861eaa0ffeae01122010
BLAKE2b-256 dd6ba82f26eda557f317a746655a1da5fbbcac41bf72db824844aded01bf5092

See more details on using hashes here.

Provenance

The following attestation bundles were made for res2df-1.3.14.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.14-py3-none-any.whl.

File metadata

  • Download URL: res2df-1.3.14-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.12

File hashes

Hashes for res2df-1.3.14-py3-none-any.whl
Algorithm Hash digest
SHA256 9f2b757a01d141431924cb576415426fe5ac63d1a5cfe26f10c16e8cf988dcb4
MD5 038e2d564fc6d6c1e302ccc8f7a95601
BLAKE2b-256 e17f3fb3e291b5861a812df2c4164d02fa647305bf09ab687e56aec799dfc910

See more details on using hashes here.

Provenance

The following attestation bundles were made for res2df-1.3.14-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