{"id":13407797,"url":"https://github.com/equinor/resdata","last_synced_at":"2026-04-09T09:00:09.136Z","repository":{"id":39826304,"uuid":"85172345","full_name":"equinor/resdata","owner":"equinor","description":"Software for reading and writing the result files from the Eclipse reservoir simulator.","archived":false,"fork":false,"pushed_at":"2025-12-19T09:20:14.000Z","size":24157,"stargazers_count":115,"open_issues_count":34,"forks_count":100,"subscribers_count":23,"default_branch":"main","last_synced_at":"2025-12-22T03:13:35.605Z","etag":null,"topics":["c","eclipse","opm","python","reservoir"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/equinor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-03-16T08:39:13.000Z","updated_at":"2025-12-19T09:20:19.000Z","dependencies_parsed_at":"2023-09-27T03:38:18.812Z","dependency_job_id":"abda9e5a-75a2-4279-938f-dfc7c1fb165b","html_url":"https://github.com/equinor/resdata","commit_stats":{"total_commits":6654,"total_committers":107,"mean_commits":62.18691588785047,"dds":0.6281935677787797,"last_synced_commit":"c76fecd7e9e909c509e94547cb37206901d83cfb"},"previous_names":["statoil/libecl","equinor/ecl"],"tags_count":115,"template":false,"template_full_name":null,"purl":"pkg:github/equinor/resdata","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/equinor%2Fresdata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/equinor%2Fresdata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/equinor%2Fresdata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/equinor%2Fresdata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/equinor","download_url":"https://codeload.github.com/equinor/resdata/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/equinor%2Fresdata/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28075483,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-27T02:00:05.897Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","eclipse","opm","python","reservoir"],"created_at":"2024-07-30T20:00:48.687Z","updated_at":"2026-04-09T09:00:09.124Z","avatar_url":"https://github.com/equinor.png","language":"C++","readme":"# ResData\nPython package for reading and writing the result files from\nreservoir simulators. The file types covered are the\nRESTART, INIT, RFT, Summary and GRID files in unified and non-unified, and formatted and unformatted.\n\nResData officially only supports Linux and macOS. It was initially developed as part of the\n[_ert_](http://github.com/Equinor/ert) project.\n\n## Using\n[ResData is available on PyPI](https://pypi.org/project/resdata/) and can be installed into a [Python virtual environment](https://docs.python.org/3/library/venv.html#creating-virtual-environments) with `pip`:\n\n```sh\npip install resdata\n```\n\n## Building\nResData is a Python project with a C++ extension layer. Most of the functionality is implemented in C++ and uses [cwrap](https://github.com/equinor/cwrap) for binding it to Python.\n\nA C++17-compatible compiler, like GCC 8+ or Clang 11+ is required. Other C++ dependencies are brought in automatically by [Conan](https://conan.io) during [CMake](https://cmake.org) compilation.\n\nIn a [Python virtual environment](https://docs.python.org/3/library/venv.html#creating-virtual-environments), run:\n```sh\n# Fetch directly from GitHub\npip install git+https://github.com/equinor/resdata\n\n# If git-cloned, install local directory in editable mode\npip install --editable .\n```\n\n## Running tests\nAs this codebase contains both Python and C++ code, there are tests for both Python and C++.\n\n### Python tests\nThese tests use [pytest](https://pytest.org) and require that ResData is installed into a Python virtualenv in `--editable` mode, as described in the [Building](#Building) section.\n\nEnsure that pytest is installed and do the following to \n```sh\n# Install pytest\npip install pytest\n\n# Run all tests in the python/tests directory\npytest python/tests\n```\n\n### C++ tests\nResData uses a homegrown testing suite as well as [Catch2, 2.x](https://github.com/catchorg/Catch2) which is compiled via CMake and ran using `ctest`.\n\nEnsure that `cmake` and `conan` version 2 is installed.\n\n```sh\n#set up conan\nconan profile detect\nconan install -of build --build=missing .\ncmake --preset=conan-release -DENABLE_ASAN=ON -DENABLE_UBSAN=ON\n\n\n# Build project\ncmake --build --preset=conan-release -j 8\n\n# Run all tests\nctest --preset conan-release\n```\n","funding_links":[],"categories":["Software"],"sub_categories":["Reservoir Simulation"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fequinor%2Fresdata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fequinor%2Fresdata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fequinor%2Fresdata/lists"}