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 1 is installed.

# Generate CMake build files into `build/`
cmake -B build .

# Build project
cmake --build build

# Run all tests
ctest --test-dir build

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

resdata-5.1.1-cp313-cp313-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.13Windows x86-64

resdata-5.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

resdata-5.1.1-cp313-cp313-macosx_10_9_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13macOS 10.9+ x86-64

resdata-5.1.1-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

resdata-5.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

resdata-5.1.1-cp312-cp312-macosx_10_9_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12macOS 10.9+ x86-64

resdata-5.1.1-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

resdata-5.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

resdata-5.1.1-cp311-cp311-macosx_10_9_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

resdata-5.1.1-cp310-cp310-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.10Windows x86-64

resdata-5.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

resdata-5.1.1-cp310-cp310-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

resdata-5.1.1-cp310-cp310-macosx_10_9_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

resdata-5.1.1-cp39-cp39-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.9Windows x86-64

resdata-5.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

resdata-5.1.1-cp39-cp39-macosx_10_9_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

resdata-5.1.1-cp38-cp38-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.8Windows x86-64

resdata-5.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

resdata-5.1.1-cp38-cp38-macosx_10_9_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: resdata-5.1.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for resdata-5.1.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 11d9fed45fe3f20e25e2e8d6885da5f1acc3b89ac130cb7ec74910e22e421595
MD5 d0e5d61baae76648ac403477d3463a52
BLAKE2b-256 6fb29dfc5d3a13cf15c4834024a2666ef7b03d4e7ccdfbce163290d3a1f5489a

See more details on using hashes here.

File details

Details for the file resdata-5.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for resdata-5.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fe30dcaee1b825b2d5ceef7c44891b4d15fa746cd4f911912ed2f9c8caccde03
MD5 868d320aff59f0609f7f5e4cdab7f80c
BLAKE2b-256 9906366ff752ad3e2da4e538f8100cd5b8356ecc8145b35fbe5347845e865168

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for resdata-5.1.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4837af930a6738a2e9357ab37946cf3f5dfacd1ed7a276eff09dfd51d8c3fd62
MD5 d41875095129cfb0d06e3cd647a97e33
BLAKE2b-256 1523dac569e705ec8049c5825b091e8b00b16f7131813de255f9a0492e0bd1b0

See more details on using hashes here.

File details

Details for the file resdata-5.1.1-cp313-cp313-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for resdata-5.1.1-cp313-cp313-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bf2d15882fcef1a039ee4c196ecbe4624226bce164eb838366310d46d455e0c1
MD5 065f3c1385e49a7f8e5f107f4c478f86
BLAKE2b-256 087c9c54a779f97a8168ee709cb343db9832a76f77c2ee2193f8d19e72a601a7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: resdata-5.1.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for resdata-5.1.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 91e7840fd120cbddc03a6abc70a759aa76457417b4cfdef2729add27d9530e91
MD5 c69ea0b70c10d00401d69e91f732e10f
BLAKE2b-256 d1fcd1c11635d0cb857d6eb943b81067cbba775cb22cc3233ba6a7e4ad967c21

See more details on using hashes here.

File details

Details for the file resdata-5.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for resdata-5.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 13e54b6cec1eef69a8b87b6cd8b55ba0e66ada448ec38c93d9c01314326164fb
MD5 515cb0fc5501a21c71c3f1367204eea5
BLAKE2b-256 251d66021294f4b663e7e0851b20934f4b715191b2cc629caf14a505e1e43efa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for resdata-5.1.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4b94b4502a500e7467de7ffce66b95c90890f551797705d839f3db78cf4cce17
MD5 7668cfaa8f0179441f1e406efc4b193b
BLAKE2b-256 65d28ea591784798d07fbd991a45de5da92640679ab44ff6f5436dc7718201a8

See more details on using hashes here.

File details

Details for the file resdata-5.1.1-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for resdata-5.1.1-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4845f880d03655231447b434933badbfb83982bd20824c62efcd3a2bec1a9764
MD5 120bed3b4d8600597b1846a20c12a028
BLAKE2b-256 897597514a8e501592d709bc60162bde5a5432408d4d767b61c6d4dabd77080b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: resdata-5.1.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for resdata-5.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 041c50d5852f0319b821a2ae8e590df19428ed338ef9b0ed8ba47531c366a6ea
MD5 3b9ed5630aa011637d31a2a227d7329c
BLAKE2b-256 3cf8c7c46f1f69fbcadc6cb91651060a3be25463755c977bdfc48f5065628899

See more details on using hashes here.

File details

Details for the file resdata-5.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for resdata-5.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6bb946413226d147b1e761f864fee04af545d3a236a6beef8cdd7de74bed1c27
MD5 f09ce3ddf63b72be144af1dd9de79383
BLAKE2b-256 c36061732e101cabd49c74887a2e924dae7e6e945213ee480adcf256ed41549d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for resdata-5.1.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0a03b6d208ab5e0615aab9c1d5d5570b80250843c4372a4286fac9daa6502267
MD5 d8de71b7aceb7083d259143ed91b8e4d
BLAKE2b-256 babb5a259966a997c01619c4df8c5466c25e82d94cd77c1f6f52d2051997c52a

See more details on using hashes here.

File details

Details for the file resdata-5.1.1-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for resdata-5.1.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3206fe23d2442e44adf541bb80d9125cb1e111c3f6f1747e3a0713f4a71c1db7
MD5 0ef9dc60604a60ad55a6465875518b8c
BLAKE2b-256 d6eec02f016f6a9d7590ac267234086d37c725669ddc27d14af0c972bfae9dee

See more details on using hashes here.

File details

Details for the file resdata-5.1.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: resdata-5.1.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for resdata-5.1.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 056a2f12968ef136b0187c0e1c63d6c2ac2acb24afeb0d3b0fce19582989cd1a
MD5 a7d8ed0573bce6324a5c93e48fd0a1c4
BLAKE2b-256 839fd0b1fccdb077c188921af0d69e4855a92b2f1cb440cb8ce9c7f4e29a4ae6

See more details on using hashes here.

File details

Details for the file resdata-5.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for resdata-5.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 66c5231804ec777fc03bfa12fc50a6cf93e76ab7e9f3ec8c6a52f31c445886d8
MD5 40f85c38580ad6a8d55e505322073424
BLAKE2b-256 a74df56f715edf4abcb062ad5483be9d12193951730653047bfaec0fc38e11aa

See more details on using hashes here.

File details

Details for the file resdata-5.1.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for resdata-5.1.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ef431e423ffba2c059adbf9caab33da2165535773caa8ce0b72699f53be76af9
MD5 f43884a7ea4b35965b707a2a237165df
BLAKE2b-256 272ab9cbe7a6afca9fb5dc2f7b5bcffb2abdcec13df68b2fb850bf75b5ab4d44

See more details on using hashes here.

File details

Details for the file resdata-5.1.1-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for resdata-5.1.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e3d7589a402a0aedcffc77fbdcf5e58e0a153543cf916f1bc3282663f0212f59
MD5 4209f59e6d46440738eaf5d03fdb2c34
BLAKE2b-256 02d761220b0af196f84de436f8a9c2e6c962d8c819fe6ac809b8d090b338a7ea

See more details on using hashes here.

File details

Details for the file resdata-5.1.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: resdata-5.1.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for resdata-5.1.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 a958352c21d2d9aaab953ae3b3e9449b58be2788a0c03304365539c52bb26a6b
MD5 5a83ab31a02605eaf295479fd8a2b80d
BLAKE2b-256 359a09fbb465987096ba8dbe2fd2929d08bff05097b9c7136144345191daa3d3

See more details on using hashes here.

File details

Details for the file resdata-5.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for resdata-5.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a0988689dc248598647dc527c57d617b0f4c2af9f6f9f3d185bb89e9b3afc946
MD5 5d4fa9151eab877c6f56e8c528e32cf5
BLAKE2b-256 f383dce42285bc7c2fb14b7c1af0edcd50512a7decb28bb071b2269f0fc94472

See more details on using hashes here.

File details

Details for the file resdata-5.1.1-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for resdata-5.1.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 73300f5d82aa5c594c60a1b2467d1a6b597745b064d7f6a8aba9334236f589d4
MD5 31137c2f0e7f636c6c12803d59a46961
BLAKE2b-256 fc98fcf51d24675e79ada895ec975f9160e91df27b8e6b763c74576d1508017b

See more details on using hashes here.

File details

Details for the file resdata-5.1.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: resdata-5.1.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for resdata-5.1.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 d9e3d6b9cfac66960af72b449e8d731dd4ec94add380198a861c6cbcd5c227ba
MD5 e887e50324cee6aa3571eb8be2b154a9
BLAKE2b-256 fbf953c369fe9eecf610952831e146fa4362c0ee1df741e2c2a2566d6d00c218

See more details on using hashes here.

File details

Details for the file resdata-5.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for resdata-5.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3db16485f9603d0cfb69f884e28ba5471e2973e4454c0209977d7c4e6244b6b0
MD5 fa7fb6e5451725b16e698ad9e06094d5
BLAKE2b-256 09d69ea9108432b58c08269b74689def2c9591e0ba3cf874db84b6f70bd8ae8e

See more details on using hashes here.

File details

Details for the file resdata-5.1.1-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for resdata-5.1.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 86f3cfc4dbc71d3d7ef3ba30577c62ef7c270454896950070598d9c42394fa3a
MD5 37e8087d64e6f4c4550fd92196ca06d0
BLAKE2b-256 1289b464baca2b401df460b7096b4f5c255e16ecb3abbe9783cf1c4ae3333508

See more details on using hashes here.

Supported by

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