Skip to main content

Convert reservoir simulator input and output to DataFrames

Project description

Build Status codecov Python 3.11-3.12 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.1.tar.gz (11.9 MB view details)

Uploaded Source

Built Distribution

res2df-1.3.1-py2.py3-none-any.whl (159.8 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for res2df-1.3.1.tar.gz
Algorithm Hash digest
SHA256 bce9c196948d17a3ec2a337b78f387dc0601c78e6f4cc25c5aa9ac65613cd4f1
MD5 3beb6e88c3bcb540a42d7706e3a6fc97
BLAKE2b-256 77e6e5149fc05dbf76b964b412405a83f7c5168de0e798829d0f48fabb605a9f

See more details on using hashes here.

File details

Details for the file res2df-1.3.1-py2.py3-none-any.whl.

File metadata

  • Download URL: res2df-1.3.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 159.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for res2df-1.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 95235be6c165eb9e2d18bb470e871bd6c147599643dd5df72bc178f6dce3e295
MD5 b5f23b26504a7d8f11ba0eca4b06500f
BLAKE2b-256 713559b50eb61c605af35f27794db645eef4eacb97e0ee2e2998f2d9507e6e02

See more details on using hashes here.

Supported by

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