Metadata-Version: 2.4
Name: res2df
Version: 1.3.13
Summary: Convert reservoir simulator input and output to DataFrames
Author-email: Håvard Berland <havb@equinor.com>
License-Expression: GPL-3.0-only
Project-URL: Homepage, https://github.com/equinor/res2df
Project-URL: Repository, https://github.com/equinor/res2df
Project-URL: Documentation, https://equinor.github.io/res2df/
Keywords: energy,subsurface,reservoir,scientific,engineering
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Utilities
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Natural Language :: English
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: resdata>=5.0.0-b0
Requires-Dist: resfo
Requires-Dist: networkx
Requires-Dist: numpy
Requires-Dist: opm>=2020.10.2
Requires-Dist: pandas>=2
Requires-Dist: pyarrow
Requires-Dist: pyyaml>=5.1
Requires-Dist: treelib
Provides-Extra: tests
Requires-Dist: pytest; extra == "tests"
Requires-Dist: pytest-cov; extra == "tests"
Requires-Dist: pytest-mock; extra == "tests"
Requires-Dist: pytest-timeout; extra == "tests"
Provides-Extra: style
Requires-Dist: pre-commit; extra == "style"
Provides-Extra: types
Requires-Dist: mypy; extra == "types"
Requires-Dist: types-PyYAML; extra == "types"
Requires-Dist: types-python-dateutil; extra == "types"
Requires-Dist: types-setuptools; extra == "types"
Requires-Dist: types-networkx; extra == "types"
Requires-Dist: pandas-stubs; extra == "types"
Provides-Extra: docs
Requires-Dist: sphinx-autoapi; extra == "docs"
Requires-Dist: ipython; extra == "docs"
Requires-Dist: rstcheck; extra == "docs"
Requires-Dist: setuptools; extra == "docs"
Requires-Dist: sphinx<9; extra == "docs"
Requires-Dist: sphinx-argparse; extra == "docs"
Requires-Dist: sphinx-autodoc-typehints; extra == "docs"
Requires-Dist: sphinx_rtd_theme>=3.1.0.rc1; extra == "docs"
Provides-Extra: ert
Requires-Dist: ert>=10.2.0b13; extra == "ert"
Dynamic: license-file

[![Publish to PyPI](https://github.com/equinor/res2df/actions/workflows/publish.yml/badge.svg)](https://github.com/equinor/res2df/actions/workflows/publish.yml)
[![PyPI version](https://img.shields.io/pypi/v/res2df.svg)](https://pypi.org/project/res2df/)
[![codecov](https://codecov.io/gh/equinor/res2df/graph/badge.svg?token=3sZBGGu5VG)](https://codecov.io/gh/equinor/res2df)
[![Python 3.11-3.14](https://img.shields.io/badge/python-3.11%20|%203.12%20|%203.13%20|%203.14-blue.svg)](https://www.python.org)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)

# 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.
