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

Uploaded Python 3

File details

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

File metadata

  • Download URL: res2df-1.3.12.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.12.tar.gz
Algorithm Hash digest
SHA256 13657238116646aa660ab1315a9bc98281b7fbe06b2bdfe499faaa326f1346d0
MD5 a9e2049c3e3fbc01aecbb552ff18d4cc
BLAKE2b-256 4af64b3734f62c205fe4f33dbcb8d8bff1dae59bcdb8fc24dc1d53ccf6ed870c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: res2df-1.3.12-py3-none-any.whl
  • Upload date:
  • Size: 158.5 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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 cdc2051c924eabd5ab79727781f9d5ace2ab65ceb1f3038ba37f39d94ec3ed39
MD5 6082aa89723c0beccddec596f8ee82b4
BLAKE2b-256 9ca8dc20bb96b9a4dfc4b1cb6b06e0f8d2f94e701a62e066060b68a174aef006

See more details on using hashes here.

Provenance

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