Skip to main content

Package for reading and writing the fortran result files from reservoir simulators

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.

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, 2.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 .
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-6.2.8-cp314-cp314-win_amd64.whl (814.5 kB view details)

Uploaded CPython 3.14Windows x86-64

resdata-6.2.8-cp314-cp314-win32.whl (814.5 kB view details)

Uploaded CPython 3.14Windows x86

resdata-6.2.8-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.2 MB view details)

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

resdata-6.2.8-cp314-cp314-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

resdata-6.2.8-cp313-cp313-win_amd64.whl (795.6 kB view details)

Uploaded CPython 3.13Windows x86-64

resdata-6.2.8-cp313-cp313-win32.whl (795.5 kB view details)

Uploaded CPython 3.13Windows x86

resdata-6.2.8-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.2 MB view details)

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

resdata-6.2.8-cp313-cp313-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

resdata-6.2.8-cp312-cp312-win_amd64.whl (795.6 kB view details)

Uploaded CPython 3.12Windows x86-64

resdata-6.2.8-cp312-cp312-win32.whl (795.5 kB view details)

Uploaded CPython 3.12Windows x86

resdata-6.2.8-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.2 MB view details)

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

resdata-6.2.8-cp312-cp312-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

resdata-6.2.8-cp311-cp311-win_amd64.whl (795.6 kB view details)

Uploaded CPython 3.11Windows x86-64

resdata-6.2.8-cp311-cp311-win32.whl (795.5 kB view details)

Uploaded CPython 3.11Windows x86

resdata-6.2.8-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.2 MB view details)

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

resdata-6.2.8-cp311-cp311-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: resdata-6.2.8-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 814.5 kB
  • 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.2.8-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 211af8ed66c139e139f547bc588cab01611dd300a24844c5bc61debebdb5c0f9
MD5 243825bc60d2f54fe9d23f98c620f483
BLAKE2b-256 d773f65b9c765cb2a92f942566ca98776149af1f61592095c8c574d590e037bc

See more details on using hashes here.

File details

Details for the file resdata-6.2.8-cp314-cp314-win32.whl.

File metadata

  • Download URL: resdata-6.2.8-cp314-cp314-win32.whl
  • Upload date:
  • Size: 814.5 kB
  • Tags: CPython 3.14, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for resdata-6.2.8-cp314-cp314-win32.whl
Algorithm Hash digest
SHA256 5e60ac8252d94b9d79072b9a82ede9ff474f064a8fe0848ec14c833666e0b101
MD5 88456b9875f20720d07b19ed011bbbb3
BLAKE2b-256 0aca0ec68a8e86f7697d762dc32970b124b6c8ce260e4f6dc9313265d12ec573

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for resdata-6.2.8-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6dbefa92326aecea0615a05092aac2f60f0b0dd92bd578e0912429317c7092c9
MD5 c21d56773ffea62a7cb169301338aafc
BLAKE2b-256 fd7df02a3842ed1fe2a1069d55a3274c37a5debcd294ff3b41e61465e1606d04

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for resdata-6.2.8-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bd3e968d259d4e93846cbc0912ccc141d651d729c60f0b6c1184e1cc67f74acb
MD5 c4dadd34e3e1678963b1ab08049fb81d
BLAKE2b-256 94daec5aad82dddc01faa72d3ca70d1bf51f9b7cf6097542fa25da120fb5f757

See more details on using hashes here.

File details

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

File metadata

  • Download URL: resdata-6.2.8-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 795.6 kB
  • 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.2.8-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1c6b340e1e1723de665a24cc288333a86f0ea66013f3a4678cbdbab323dc5312
MD5 5dd12ffbeadc923b70b6b4fe4d32330b
BLAKE2b-256 1881334e1854bc5089dac896dcbee9109f686305cc8dca9551d3812da3d40047

See more details on using hashes here.

File details

Details for the file resdata-6.2.8-cp313-cp313-win32.whl.

File metadata

  • Download URL: resdata-6.2.8-cp313-cp313-win32.whl
  • Upload date:
  • Size: 795.5 kB
  • Tags: CPython 3.13, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for resdata-6.2.8-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 3e5d3e964662b8eb3e9ae9b38335fda688b86655f35e13b8ac3eaa4d5c233d14
MD5 38dcacd4c14bacc1e3ef71821f3557b3
BLAKE2b-256 c005f6b7a1d4a953c3705920be9f1a7abf1ef8dbd29e64adf3c290647445051b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for resdata-6.2.8-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3d23bd136983ce0a49cf1aebe89aae073f46ee994945bfa8c31143223c3630df
MD5 44bb826be4e4d8d037d5c9c5ba1e068b
BLAKE2b-256 054b6ba024c99976052193abd5e591867f2d0b35733974c83fb41f8bace4a7d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for resdata-6.2.8-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d543ff2b85decd0ee1bdff43aae103e8a80a70af9436a20043451e44f831e3bb
MD5 ba3a8565fbd980e9075c0f8e11e4b1c7
BLAKE2b-256 cd4a10e3423563b445cfbc1cd97ac886088e7dfdf2eee0f9c758f4e795d4f98c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: resdata-6.2.8-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 795.6 kB
  • 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.2.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7bc655bdefe22f291589b1968effadf2432748b74cb99285469b0663373757e2
MD5 437305e2f08a2aafded8bd468d17e6d7
BLAKE2b-256 c1d5f84e3124a27ac609c6b60d5b110a28c3533a83e7d39dc83571b867a2b789

See more details on using hashes here.

File details

Details for the file resdata-6.2.8-cp312-cp312-win32.whl.

File metadata

  • Download URL: resdata-6.2.8-cp312-cp312-win32.whl
  • Upload date:
  • Size: 795.5 kB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for resdata-6.2.8-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 738684bbd09ad1786e68a0c0cd14fae703221ee8e7c5be4059ebfb03328569c3
MD5 9436a7aaf5bcc91f4c38e35420d2136b
BLAKE2b-256 ee4bc73ad9f63316fc9c60a1bc31d4bf691e06ab6fda1bde83ffa54a127f0a07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for resdata-6.2.8-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8a7b1dc205d654dac1b8bdfab30227e105e8a08e905a0e8dd430fd71610a338b
MD5 5472513e7b31fd836bb5836a992f0dff
BLAKE2b-256 edb5140a001178f58ec628cea967dcb3f26b178890239a5ec13a43ec5908f76e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for resdata-6.2.8-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2b04476fcc8d3783b991189b0d046ab77c3ae34ee4cfe4cc40248c50f6194bdf
MD5 96c7160a6fca4cd6b2a933722a7de050
BLAKE2b-256 db95a7d47b9604f575fa63dd2c91e87f5230924025251bf413bed27e1cde3d75

See more details on using hashes here.

File details

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

File metadata

  • Download URL: resdata-6.2.8-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 795.6 kB
  • 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.2.8-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6574f89ba0e093c1b60c7e274f7a25654eb3da0ca9c0de314f1eff81ffc95b32
MD5 f29d26dd895f33a6c1e6644265552970
BLAKE2b-256 998674fdb029202a17af5baf093f97c6bed96645c6c1799c4ce0c53e020f5347

See more details on using hashes here.

File details

Details for the file resdata-6.2.8-cp311-cp311-win32.whl.

File metadata

  • Download URL: resdata-6.2.8-cp311-cp311-win32.whl
  • Upload date:
  • Size: 795.5 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for resdata-6.2.8-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 c2fa26c182029abc182044be72b73abfa682fff565d0693c9e00d3f9f9ed1c30
MD5 a67266e4ba55e255cd2d1573871594bc
BLAKE2b-256 27f9b87b4bace06c44df2aeacdb8ad32d466c0d2d1a49e8dd16d02ed0b111203

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for resdata-6.2.8-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 52e0738928f53a035bcaaf773a8929319d5394f433f56c380fd1e516f2be8609
MD5 d5a0c8f7b5c7d93adad62992c39e597f
BLAKE2b-256 af63c6807f51b2bfef53bd8f2367623f2d08d9768d4bd8246a16f950167ec443

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for resdata-6.2.8-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fc424959c4a41cb2ca059fcea935e0fce567d11453c359ead079104443cf905b
MD5 b7f3d49126524f8a99083a04c4a793ec
BLAKE2b-256 e8e66a74804b3679a7b90b0e1352df3258283f5225703c5fea7fab97500d6c08

See more details on using hashes here.

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