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

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.5
File
resdata-6.3.5-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
resdata-6.3.5-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
resdata-6.3.5-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
resdata-6.3.5-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
resdata-6.3.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
resdata-6.3.5-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
resdata-6.3.5-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
resdata-6.3.5-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.5-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
resdata-6.3.5-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
resdata-6.3.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
resdata-6.3.5-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.5-cp314-cp314-win_amd64.whl

Download URL resdata-6.3.5-cp314-cp314-win_amd64.whl
Size 1.3 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
d1d7fa6792e715e26e229a6cf7abfe85e86f2bb5d3445ab15113f6d5c223829b
BLAKE2b-256 checksum
How to use checksums
d6293805bb02f26b5ac33bac922032e3f46e3acd467e46231e795a5378b04d40
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.5-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL resdata-6.3.5-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
ee3197b0632741d775019c4549d090cabcc8f2653be1de47ef029941e3e86d3c
BLAKE2b-256 checksum
How to use checksums
81bb318a2a674b0d0a3381b5ae2b034117a747ea724dbc9f221353742b219422
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.5-cp314-cp314-macosx_11_0_arm64.whl

Download URL resdata-6.3.5-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
71e31db1021145936f0a1674318312b09528308457784ed3d3793cd4acc75ac3
BLAKE2b-256 checksum
How to use checksums
92f26395f0917aa4a361eb29526b0be8f3b5c88439323a2ebf19cfe6e8525ef1
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.5-cp313-cp313-win_amd64.whl

Download URL resdata-6.3.5-cp313-cp313-win_amd64.whl
Size 1.3 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
0ce891828e29d67f41a53ba2be4826d311d6137c956f8b7ec58978d01fa2da4c
BLAKE2b-256 checksum
How to use checksums
c684a11de4c6e31b6c6af0056c30d9bc037980136fd5f7901582bc28641c32a5
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.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL resdata-6.3.5-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
a284faf06742fc40fd9cbabf896be19d905c844cb2ff764f7e3f1b1d6c867aed
BLAKE2b-256 checksum
How to use checksums
14d75581eb59466a453a9cd210d9783174ac68166dcf01895532810b04439c47
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.5-cp313-cp313-macosx_11_0_arm64.whl

Download URL resdata-6.3.5-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
4436c8059cbab6c1a53fff2de2501d61866935009e61ac4a6f0376c5faeed6a0
BLAKE2b-256 checksum
How to use checksums
3f7d75151ab2d74556db69028a434aed35dbb7db99db3a598fd723de5da59882
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.5-cp312-cp312-win_amd64.whl

Download URL resdata-6.3.5-cp312-cp312-win_amd64.whl
Size 1.3 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
528a7c8bf99a30f573dc362b8f573de8c467180d67da3f01cc34ea96acf81eea
BLAKE2b-256 checksum
How to use checksums
34b897a17327c2ecad1840a1c368c126d74851a351b76f9266b977cf50a953d3
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.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL resdata-6.3.5-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
57322a4ba8a67fdf41fefdde9bccc8a08d2adf836393468aaf8260d9c107cf10
BLAKE2b-256 checksum
How to use checksums
49760d8fcbd3dda6a1c37d9d8c36dc16f478a8a950afa418ed5e3d9954af23f1
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.5-cp312-cp312-macosx_11_0_arm64.whl

Download URL resdata-6.3.5-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
acedcf414359fb6751ce6f5965d444eac82e011df1ae1d32f507f06063087bbc
BLAKE2b-256 checksum
How to use checksums
71eb7a26b18d96a1f85c2e61c7e4ff539dee327f84a2a0d3f943ef03dcf68ebb
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.5-cp311-cp311-win_amd64.whl

Download URL resdata-6.3.5-cp311-cp311-win_amd64.whl
Size 1.3 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
c0eb3bdea1885947ea6ddc69b5210bda866eedbde8f3289f84a25ebf1dfb27b2
BLAKE2b-256 checksum
How to use checksums
bfd068edeca2055e3df5d9d625c28dd58ca79b70c9e4245397da7007ffdfbf8e
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.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL resdata-6.3.5-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
c3fe684b61cecafb2665ebc14f0c8ccae3d9bf872ed79168dede799126bd401a
BLAKE2b-256 checksum
How to use checksums
39df955dbaa7039fbdd5f483f8467467ac883f60258826d69131706515922669
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.5-cp311-cp311-macosx_11_0_arm64.whl

Download URL resdata-6.3.5-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
29e09fc58cd2a7a04e644228e7be005c61652444c05f0966d44b7836897ad35a
BLAKE2b-256 checksum
How to use checksums
cc11c39a602eeb0c6faf241cfa48e250b048bb2c0f948230a3fcfb83362748f0
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

This release

6.3.5 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