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

Release files for resdata 6.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for resdata 6.3.4
File
resdata-6.3.4-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
resdata-6.3.4-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
resdata-6.3.4-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
resdata-6.3.4-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
resdata-6.3.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
resdata-6.3.4-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
resdata-6.3.4-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
resdata-6.3.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
resdata-6.3.4-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
resdata-6.3.4-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
resdata-6.3.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
resdata-6.3.4-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details

Total release size: 31.6 MB

Release files / resdata-6.3.4-cp314-cp314-win_amd64.whl

Download URL resdata-6.3.4-cp314-cp314-win_amd64.whl
Size 1.3 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
0abca647ec9230b4e088a7a06ba59ad96f0606c349296c269dd448cabbf4084b
BLAKE2b-256 checksum
How to use checksums
d58fa8c1734820f54c94e2557133a42b8d2cb6212006b9ff671f2ae2f5525e19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / resdata-6.3.4-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL resdata-6.3.4-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 4.9 MB
Tags CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
5fd636134609d038776ac6568ac7907470b113b75822e0ba6b24fb1c24f5e352
BLAKE2b-256 checksum
How to use checksums
cfdeed89e9b9b04774cd88a1c6b8627696d42fdc984a566d7d56b24b01c7ebb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / resdata-6.3.4-cp314-cp314-macosx_11_0_arm64.whl

Download URL resdata-6.3.4-cp314-cp314-macosx_11_0_arm64.whl
Size 1.7 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
78c01d8378adafb1bf476f8210b3e91ab1e9b23f011bb02727b93f87210bf7a7
BLAKE2b-256 checksum
How to use checksums
d38008ab5db1ffa1f3e1a2ed728c31caac3ca7d89da9e95f9bab4b78d4633467
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / resdata-6.3.4-cp313-cp313-win_amd64.whl

Download URL resdata-6.3.4-cp313-cp313-win_amd64.whl
Size 1.3 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
23d2b36d34bdb6d85f73900934958ccc1a9c01fb05342b87fc2f5cff0cc67136
BLAKE2b-256 checksum
How to use checksums
815df40b764ade6cd97ed80902e22b0220b4d5d33ab9c46dd2de8c2e23cb83d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / resdata-6.3.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL resdata-6.3.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 4.9 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
cb9689d341fe21118838075a11f9977e657c200b40f57c410b2bc93174abd92a
BLAKE2b-256 checksum
How to use checksums
dbd7f74307094372f6a7c8aba6921b37a763b32621bcd53665a5ffdd22b8b1cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / resdata-6.3.4-cp313-cp313-macosx_11_0_arm64.whl

Download URL resdata-6.3.4-cp313-cp313-macosx_11_0_arm64.whl
Size 1.7 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7b71c9769bd40b06e84381bd320d7c2e7bb7a503c755b9ea22cea0bf24359f33
BLAKE2b-256 checksum
How to use checksums
229a4c7a9d14bd4d335c73dbb00a7dd55db85582ac67c2277125c858eca60d62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / resdata-6.3.4-cp312-cp312-win_amd64.whl

Download URL resdata-6.3.4-cp312-cp312-win_amd64.whl
Size 1.3 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
c3ae7eb2189741b35387d171b44fadda38a5ddc9f1395ddf0dc214f4ec5fc5f4
BLAKE2b-256 checksum
How to use checksums
1a5075579af8ba4626674edd07d476a029907ebdbae6fa598d36cc75feb769af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / resdata-6.3.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL resdata-6.3.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 4.9 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
4bd70813e02886078eec5a464efe7248434a55a081749af663f08fce094bbbf4
BLAKE2b-256 checksum
How to use checksums
ab2e691099665a94ed13ebc9b3880e31e6de71ad2641246dd6e6622eda43f509
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / resdata-6.3.4-cp312-cp312-macosx_11_0_arm64.whl

Download URL resdata-6.3.4-cp312-cp312-macosx_11_0_arm64.whl
Size 1.7 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
213e92bbf5440b32f865c33eff7c1ff97e63f9fa8e3cb22b67225bd76af3e71f
BLAKE2b-256 checksum
How to use checksums
2bb8d82328c4738897f8fdcecd325481e6c79d7691c2a3442fd33c9e48e541da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / resdata-6.3.4-cp311-cp311-win_amd64.whl

Download URL resdata-6.3.4-cp311-cp311-win_amd64.whl
Size 1.3 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
a5b6bf82cd4e0801e2c2162f05150aafd12c4e03bc14044a7dc1ca046e27e785
BLAKE2b-256 checksum
How to use checksums
d35f2e99a21b9f04ea3d7d406fe27158ee7d722ca96a546fe25afdcfd3748280
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / resdata-6.3.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL resdata-6.3.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 4.9 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0924970294bb369d76a0ad54db014841434d6cf3f91491eff0ca775187621eff
BLAKE2b-256 checksum
How to use checksums
5ba745161d64ad252c6a087f0e902e169059d7d43fd0a0c675e8ef0dd559814d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / resdata-6.3.4-cp311-cp311-macosx_11_0_arm64.whl

Download URL resdata-6.3.4-cp311-cp311-macosx_11_0_arm64.whl
Size 1.7 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8e395ef3cc7e318e59310ccc8d4bda2f66396a414e71d9131e4c262cdd12ffb3
BLAKE2b-256 checksum
How to use checksums
62360a6c2bb69b9a8b665e32cc72ad1909a2f5df92fec170bcf927baacbf9489
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release history Release notifications | RSS feed

6.3.5

12 release files

This release

6.3.4 This release

12 release files

6.3.3

12 release files

6.3.1

12 release files

6.2.9

12 release files

6.2.8

16 release files

6.2.2

12 release files

6.2.0

16 release files

6.1.0

16 release files

6.0.1

22 release files

5.1.3

22 release files

5.1.2

22 release files

5.1.1

22 release files

5.1.0

18 release files

5.0.3

18 release files

5.0.1

18 release files

5.0.0

13 release files

4.2.4

13 release files

4.2.3

13 release files

4.2.0

13 release files

4.1.2

13 release files

4.1.1

13 release files

4.1.0

10 release files

4.0.0

8 release files

3.0.1

8 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page