Skip to main content

No project description provided

Project description

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.

Building and testing use uv to manage Python dependencies. See installing uv if you don't already have it.

ResData's build dependencies (cmake, ninja, cwrap, etc.) as well as ResData itself are pinned in uv.lock and installed together with uv sync:

git clone https://github.com/equinor/resdata
cd resdata
uv sync --all-groups

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, as described in the Building section.

Run the tests via uv run, which uses the same locked environment:

uv sync --group test

# Run all tests in the tests directory
uv run pytest 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

Project details


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-7.0.0b1-cp314-cp314-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.14Windows x86-64

resdata-7.0.0b1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (6.6 MB view details)

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

resdata-7.0.0b1-cp314-cp314-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

resdata-7.0.0b1-cp313-cp313-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.13Windows x86-64

resdata-7.0.0b1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (6.6 MB view details)

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

resdata-7.0.0b1-cp313-cp313-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

resdata-7.0.0b1-cp312-cp312-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.12Windows x86-64

resdata-7.0.0b1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (6.6 MB view details)

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

resdata-7.0.0b1-cp312-cp312-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

resdata-7.0.0b1-cp311-cp311-win_amd64.whl (2.9 MB view details)

Uploaded CPython 3.11Windows x86-64

resdata-7.0.0b1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (6.6 MB view details)

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

resdata-7.0.0b1-cp311-cp311-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file resdata-7.0.0b1-cp314-cp314-win_amd64.whl.

File metadata

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

File hashes

Hashes for resdata-7.0.0b1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 5c3c379d48a0fdedc820cb7e6c97f2959f9e0d042180be823074b46848f9c49e
MD5 28baba576fcb3ba86254efed2fe8057c
BLAKE2b-256 60a383f87144f25a5247e984ce206cc539a6834b0721e90419829bc1f15cf9ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for resdata-7.0.0b1-cp314-cp314-win_amd64.whl:

Publisher: testing.yml on equinor/resdata

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file resdata-7.0.0b1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for resdata-7.0.0b1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2b924b90dd76eb1dde1e319112c9dd958a2da2fb58a0de7914c2255b282265a5
MD5 e53a99c8f9d562b667a46a53234df89c
BLAKE2b-256 c488253ae1dac3f3c631b2d81cce2a1db877db1ab727e353ac2705f65ffd5025

See more details on using hashes here.

Provenance

The following attestation bundles were made for resdata-7.0.0b1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: testing.yml on equinor/resdata

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file resdata-7.0.0b1-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for resdata-7.0.0b1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 328967959b82e30c14d57314def5ced6f54a909c19e416a4b201a79fe6d76693
MD5 e49086b139ec1f6b0cb8c061a196ea54
BLAKE2b-256 83ef5952cef34d62149fcba88d2afa96be847c890d30552028c724321580add1

See more details on using hashes here.

Provenance

The following attestation bundles were made for resdata-7.0.0b1-cp314-cp314-macosx_11_0_arm64.whl:

Publisher: testing.yml on equinor/resdata

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file resdata-7.0.0b1-cp313-cp313-win_amd64.whl.

File metadata

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

File hashes

Hashes for resdata-7.0.0b1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d1f6435ba8dc765470937ccf32da897b5e4980ca96e9808479270c2fd398d6a1
MD5 76fdf2ef54d36cf9437e92d0b59e9148
BLAKE2b-256 ae215fdafc93444cceb523c6532119e1d2a6317148b62d1f37eb00ed394b8041

See more details on using hashes here.

Provenance

The following attestation bundles were made for resdata-7.0.0b1-cp313-cp313-win_amd64.whl:

Publisher: testing.yml on equinor/resdata

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file resdata-7.0.0b1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for resdata-7.0.0b1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0a1792c8e86a23783260b0d3367f404495b0ac9f7bdc488c9d9e0ca8461a12c2
MD5 c2532ad4db1f1530ebd53df0af4d650c
BLAKE2b-256 17b73c4369f87d557b1a37f5709fef8d4675bc5ad4b09ab227e5632005076c42

See more details on using hashes here.

Provenance

The following attestation bundles were made for resdata-7.0.0b1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: testing.yml on equinor/resdata

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file resdata-7.0.0b1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for resdata-7.0.0b1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 995b170efe80d6387da773b46baec8bfea7b7ac60928d806af7996d37e518e6e
MD5 bbe1cad8c41b4052fa85e6ed1f9243f1
BLAKE2b-256 8d3a05949ce376f4eb7ed15fab121f444945b8ff2fdb01dcc71cc78ac3cc28b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for resdata-7.0.0b1-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: testing.yml on equinor/resdata

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file resdata-7.0.0b1-cp312-cp312-win_amd64.whl.

File metadata

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

File hashes

Hashes for resdata-7.0.0b1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 92468d7d597af2e88f099fadef284150c338b20e25f9903225af389dbd3cdc36
MD5 85563206459136a134923ecbd725e0d9
BLAKE2b-256 bfb08e1edcd3945bc2cde42bf832ebb9b951f32f3485c61126b3c2a4eefd72cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for resdata-7.0.0b1-cp312-cp312-win_amd64.whl:

Publisher: testing.yml on equinor/resdata

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file resdata-7.0.0b1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for resdata-7.0.0b1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 09854224ecca531111e671f5fadc298620dc914b5fa6580d6190ee3d6dce7b55
MD5 8c4d1224f7f5371f0181e8e31f18469d
BLAKE2b-256 fd45e580e6876dd00eab6d5f87842a06b35ad4f00cadc1a7894f9eb163c31a67

See more details on using hashes here.

Provenance

The following attestation bundles were made for resdata-7.0.0b1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: testing.yml on equinor/resdata

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file resdata-7.0.0b1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for resdata-7.0.0b1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3f81fc69f186a87e71117e92a90ccf2d5753ee32f42ad6e3fc2c1601cc0c7b12
MD5 f73a023f30737437849e8fa3f41b3f18
BLAKE2b-256 0068022be936a5fbed041afbafaed5abf458219267dcba9a9935d43df8fdeb86

See more details on using hashes here.

Provenance

The following attestation bundles were made for resdata-7.0.0b1-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: testing.yml on equinor/resdata

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file resdata-7.0.0b1-cp311-cp311-win_amd64.whl.

File metadata

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

File hashes

Hashes for resdata-7.0.0b1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 00c6b9fc19a93ce3276754a1fc78f32565d1c17f8e8102b08ebd53528ff531a6
MD5 e2206e7bec308748c42e5a881c280649
BLAKE2b-256 7fed906274fe4ea5242f7deea4458ed86b5f80d30597a77524c172f31cf01a0d

See more details on using hashes here.

Provenance

The following attestation bundles were made for resdata-7.0.0b1-cp311-cp311-win_amd64.whl:

Publisher: testing.yml on equinor/resdata

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file resdata-7.0.0b1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for resdata-7.0.0b1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1c3f8b6241b11aea027974f0a0dc7eadb45113e8b1ab499c22aab0b012097bb1
MD5 1bb9fc322024d3d76381382ddc0608d0
BLAKE2b-256 31b9f629dd6863bd094714aaac8c56a5abe4e54a13d104d638d8be7857226b94

See more details on using hashes here.

Provenance

The following attestation bundles were made for resdata-7.0.0b1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: testing.yml on equinor/resdata

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file resdata-7.0.0b1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for resdata-7.0.0b1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c0f52a38854e87233d72f9e80b4120a8667049460c2d7063daa1e08a14db3703
MD5 9cfa35883f3ca60ce03e10e0c7da08a2
BLAKE2b-256 7dce25ef4d5c5c9c732ceeddba017822b45ee083cb4a581dfa725a4cca09722f

See more details on using hashes here.

Provenance

The following attestation bundles were made for resdata-7.0.0b1-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: testing.yml on equinor/resdata

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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