Skip to main content

ResData

Python package for reading and writing the result files from reservoir simulators. The file types covered are the RESTART, INIT, RFT, Summary and GRID files in unified and non-unified, and formatted and unformatted.

ResData officially only supports Linux and macOS. It was initially developed as part of the ert project.

Using

ResData is available on PyPI and can be installed into a Python virtual environment with pip:

pip install resdata

Building

ResData is a Python project with a C++ extension layer. Most of the functionality is implemented in C++ and uses cwrap for binding it to Python.

A C++17-compatible compiler, like GCC 8+ or Clang 11+ is required. Other C++ dependencies are brought in automatically by Conan during CMake compilation.

In a Python virtual environment, run:

# Fetch directly from GitHub
pip install git+https://github.com/equinor/resdata

# If git-cloned, install local directory in editable mode
pip install --editable .

Running tests

As this codebase contains both Python and C++ code, there are tests for both Python and C++.

Python tests

These tests use pytest and require that ResData is installed into a Python virtualenv in --editable mode, as described in the Building section.

Ensure that pytest is installed and do the following to

# Install pytest
pip install pytest

# Run all tests in the python/tests directory
pytest python/tests

C++ tests

ResData uses a homegrown testing suite as well as Catch2, 3.x which is compiled via CMake and ran using ctest.

Ensure that cmake and conan version 2 is installed.

#set up conan
conan profile detect
conan install -of build --build=missing . -o build_tests=True
cmake --preset=conan-release -DENABLE_ASAN=ON -DENABLE_UBSAN=ON


# Build project
cmake --build --preset=conan-release -j 8

# Run all tests
ctest --preset conan-release

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

resdata-6.3.3-cp314-cp314-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.14Windows x86-64

resdata-6.3.3-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

resdata-6.3.3-cp314-cp314-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

resdata-6.3.3-cp313-cp313-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.13Windows x86-64

resdata-6.3.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

resdata-6.3.3-cp313-cp313-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

resdata-6.3.3-cp312-cp312-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.12Windows x86-64

resdata-6.3.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

resdata-6.3.3-cp312-cp312-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

resdata-6.3.3-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

resdata-6.3.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

resdata-6.3.3-cp311-cp311-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file resdata-6.3.3-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: resdata-6.3.3-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for resdata-6.3.3-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 f89850bfd2c12a67284763e90c93a8815f5555136cbd930968db2faf387f23d2
MD5 abedce4ac003d28f77b42ff24d8c61ff
BLAKE2b-256 270b98dc7f38f136de6d209ce7489cfb3fcb6f7cb9b7c6597322a5add9d1ef42

See more details on using hashes here.

File details

Details for the file resdata-6.3.3-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for resdata-6.3.3-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0215794eacd2a16011545814d804513787abfaa219bf96043ba75fc1ff233843
MD5 639d0e09ca3f39721b826cfdf12f7db1
BLAKE2b-256 5cb8c911cffd865caaebf699bb001f9de6fb8398aebd035031a50f04fe7dfb6f

See more details on using hashes here.

File details

Details for the file resdata-6.3.3-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for resdata-6.3.3-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 994c950bfd62094e508c511052f9e907fcfa6222fc5f6f24b37b4b3b9a5576b6
MD5 45e8ff3fad212abbbb66abd129adadb4
BLAKE2b-256 3cb481737a7e8533d421204bc57bf8c664e21c0f00ef4374d7dd0d682787acf7

See more details on using hashes here.

File details

Details for the file resdata-6.3.3-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: resdata-6.3.3-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for resdata-6.3.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1f9a4ee8ec740bfb5bcc2aa7a5ab61d6781c0b2c058dc2fe536d887f43afcef6
MD5 f8cef8e62d70e2fcc2cfeb77f94ce94e
BLAKE2b-256 08dfa23d1785d37ae7eeb23500471951bd82752dd341f3b3c1f810d5c0a068a8

See more details on using hashes here.

File details

Details for the file resdata-6.3.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for resdata-6.3.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aaba699ba445798e8ce21e13c94624f52f61cd26e6dc7771ace4cf3fd39bb781
MD5 9f10e568233ac7618797e10b6de8bf02
BLAKE2b-256 c02fb0bd53597adf7c607f785e8b87a8f6b811a391e4f3a31879868acc6953aa

See more details on using hashes here.

File details

Details for the file resdata-6.3.3-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for resdata-6.3.3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e02371ff5d34c8ec899befd6f72f5758025a689f2279f8ed61503df372e66b98
MD5 0072e79d0d87b5229c6f5c350c14d5c7
BLAKE2b-256 6aeb0a3a0045a1c9dcc259651b45efae81974a5392445df9f0e594dd18906630

See more details on using hashes here.

File details

Details for the file resdata-6.3.3-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: resdata-6.3.3-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for resdata-6.3.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 51ece7cf7f82c2b1b88c6a8391f76859b859147e58f7972a9ef4cdb9e0ac59af
MD5 b90c00858dcd4006c2cdb6a6f551309f
BLAKE2b-256 c6873f54ad496325859318c007b502e1c0f7bf3550d664adf4bccd300cebe01d

See more details on using hashes here.

File details

Details for the file resdata-6.3.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for resdata-6.3.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8cd1bf0b44e9aff219a5b849155e9896435905bcce73ba02a60e1d8e2d6eb677
MD5 1ac51cdeaf83126fdeead7c6b3bbe4ab
BLAKE2b-256 e47222605f16f8528c1d1088be2f4368eae47f9d38d3513cc40283fcb263057c

See more details on using hashes here.

File details

Details for the file resdata-6.3.3-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for resdata-6.3.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b871d0f56738ceb34ebd6f36c989a21a6bf7d40771d1fb1475823114f974a98a
MD5 f77f9835231dc3230d74438731faff6c
BLAKE2b-256 14c9bbe439f17e2898dc9ee1ed0ed5f76990d2f2bc68ff700686d0b103624930

See more details on using hashes here.

File details

Details for the file resdata-6.3.3-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: resdata-6.3.3-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for resdata-6.3.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b91c7ab75fc2b43586ac7d774167685d8f94c3b488056e9845f1734f409a24bc
MD5 85f9c227a619ab5d6f614099a28688ff
BLAKE2b-256 0af08cf27966fa5dbe309602355f3535e6e0bb38cdb6aa2a8462350a0917a802

See more details on using hashes here.

File details

Details for the file resdata-6.3.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for resdata-6.3.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8c1bc9b4c2a0f895552887c71a397dfa66472c2502258b043ad8386c81fa547a
MD5 36fde8c378aae3b4da23585ea737f541
BLAKE2b-256 f93062b72b449f83608346ac7e29c01c1f7ca40b974a89457c188cbb21166ad2

See more details on using hashes here.

File details

Details for the file resdata-6.3.3-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for resdata-6.3.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a84e6a2b5e71562a550d4d56244282d3b4e93c52c86e3afa96758d9a8d01b8a3
MD5 5bcbdfb9aa68b6f151d7c48cc2dffa6e
BLAKE2b-256 16b2ba23cc32066e89efa558d5c641529fba6c920a0ca9b51b88872faf7e1c77

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

6.3.3 This release

12 files

6.3.2

12 files

6.3.1

12 files

6.3.0

12 files

6.2.10

12 files

6.2.9

12 files

6.2.8

16 files

6.2.7

16 files

6.2.6

16 files

6.2.5

16 files

6.2.4

12 files

6.2.3

12 files

6.2.2

12 files

6.2.0

16 files

6.1.0

16 files

6.0.1

22 files

5.1.3

22 files

5.1.2

22 files

5.1.1

22 files

5.1.0

18 files

5.0.3

18 files

5.0.2

18 files

5.0.1

18 files

5.0.0

13 files

4.2.4

13 files

4.2.3

13 files

4.2.2

13 files

4.2.1

13 files

4.2.0

13 files

4.1.2

13 files

4.1.1

13 files

4.1.0

10 files

4.0.0

8 files

3.0.1

8 files

Supported by

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