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

Uploaded CPython 3.14Windows x86-64

resdata-7.0.0b2-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.0b2-cp314-cp314-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

resdata-7.0.0b2-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.0b2-cp313-cp313-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

resdata-7.0.0b2-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.0b2-cp312-cp312-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

resdata-7.0.0b2-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.0b2-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.0b2-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: resdata-7.0.0b2-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.0b2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 4fac458092a6dd2c356049f41f762ea56779b0fc1c3282b2e6d3fda370996461
MD5 1effdedebd36afb8cca355bb66cd6300
BLAKE2b-256 0cf0c946c174d93677ae5fb34aa8274a1e59ca2a72cf146a8e101bdc77782077

See more details on using hashes here.

Provenance

The following attestation bundles were made for resdata-7.0.0b2-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.0b2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for resdata-7.0.0b2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4eddf0c79cb69ae042cb26515fcaee7eaec57f08df9135237871a250393ea946
MD5 446c97ab743c167ffdfe511185b5f7cc
BLAKE2b-256 5552f133991b80f181e86f968899d6ab0d50211c4e63540aae22a71187aa4165

See more details on using hashes here.

Provenance

The following attestation bundles were made for resdata-7.0.0b2-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.0b2-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for resdata-7.0.0b2-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6df954b268749d3c484bb73b57ac05fc084f97c19d818a5dbed9dde19d823f4e
MD5 56712a17b67890de0ee3cebb00550c9e
BLAKE2b-256 5511899dda6f3663b0cdafeaa7c15225fd860025a3f9d708368d8fc1a4dea92e

See more details on using hashes here.

Provenance

The following attestation bundles were made for resdata-7.0.0b2-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.0b2-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: resdata-7.0.0b2-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.0b2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 b08525ca6811dd0e0e92bb10e5712dea9d8142ceeaccdf1a2a7e344e5ba915ff
MD5 6e63fba1a68905fe21d0789f117c6a6b
BLAKE2b-256 0085fa443e73a64917b5de240d9859a1b083ed56e83697f906ad4f798a013a7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for resdata-7.0.0b2-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.0b2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for resdata-7.0.0b2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5b3c1b3775a2cbe0565b275c98a07841ad0e6a76ed2497a112d6f5d71d65167d
MD5 81827cf0813044b98f532fe4c9191107
BLAKE2b-256 4e861ec8f3241770ba62d7cd20e209c30cd167ea12769942fdf92767bb3f2e6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for resdata-7.0.0b2-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.0b2-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for resdata-7.0.0b2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 37f9093b02266b2d72a78b5b4396e71c832027822f52efd01b410736e0ccb3ba
MD5 48da8e84cd65613f51c03bd208b1633f
BLAKE2b-256 14dba2fa36263d3369e006817124bbd01028d65d2ba5f1f9cf215e0dda0c3eb7

See more details on using hashes here.

Provenance

The following attestation bundles were made for resdata-7.0.0b2-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.0b2-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: resdata-7.0.0b2-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.0b2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b437035dcc2e617c83d9f5589bd25e573bdd0df3cf35504921fbace7c76dd9bf
MD5 9f3484a1086db3f8118c83549246d66d
BLAKE2b-256 4ec4af8ae336943504e81dd1e0c3b9f20c7b5f29e518adc0acdebb12ba78a7a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for resdata-7.0.0b2-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.0b2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for resdata-7.0.0b2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 67f75f2e51f11279b6f6192ee3aba53d21afbd252a5cd1081240f31bf5d016bf
MD5 eb47f1cc4e86d25c9126d7026ecd2cbf
BLAKE2b-256 0b896b034b8038ed62af570ccf2058898407894ecdc2f8636d39e1b43e8f8384

See more details on using hashes here.

Provenance

The following attestation bundles were made for resdata-7.0.0b2-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.0b2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for resdata-7.0.0b2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ac2c2d52e50d48d66b6042d0608722038a73c2f9b2c61d9c9e669200a4140a35
MD5 3681137775b4e5d69d290799d4658ac2
BLAKE2b-256 af50a1d61a481805c84753b4c6ae2981fd33eb9946b3aa3ff0c2962b12d2c0d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for resdata-7.0.0b2-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.0b2-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: resdata-7.0.0b2-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.0b2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d6fcd1762e2aa924a887da86042cb19496f0e9bc71f2629e3acec94576e0adc2
MD5 fe38433c72e2f10d5c9f733e127403cc
BLAKE2b-256 9bcf1ce8c701502e27752def0ca83f2445986c4cc3e9a0766c4b3c31795f02a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for resdata-7.0.0b2-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.0b2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for resdata-7.0.0b2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a5db453742780a4d69bb130b70a807702cc51782fd736b0010aa11f14a90e892
MD5 889f9779a526d45734cdf01f0e854bee
BLAKE2b-256 0979596d6e523fdb98da2cf7df7f59fadc45b9170f653cde34d7166e3f48246e

See more details on using hashes here.

Provenance

The following attestation bundles were made for resdata-7.0.0b2-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.0b2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for resdata-7.0.0b2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f501e35bab2a08ebe44c237d8d638d81ce291796014eb101b95207911273dfcb
MD5 c4d87c88dfea9eb2852c35ce4a8ee14f
BLAKE2b-256 6ff16eec5828c1a6eea05769508361e10cdcb5e89a791362638b224e52f7f2f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for resdata-7.0.0b2-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