resfo
A (lazy) parser and writer for reservoir simulator fortran output format.
Decision gist · record as of 2026-08-14
Yes. resfo is a specialized, actively maintained parser with low install friction and no security issues. If you work with reservoir simulator output files (especially from opm flow), it directly solves the problem of extracting binary/ASCII data into usable arrays. The LGPL-3.0-or-later license requires attention if you plan proprietary distribution, but poses no barrier to internal or open-source use.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction: pure Python wheel with only numpy and typing_extensions as runtime dependencies.
- Actively maintained with a recent release and ongoing repository activity.
License · maintenance · safety
LGPL-3.0-or-later (copyleft) — Licensed under LGPL-3.0-or-later (copyleft). Derivative works and modifications must be distributed under compatible terms; proprietary use requires careful licensing review.
last release 2025-12-12 (245 days) · last repo commit 2026-08-05 · 19 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 128,715 downloads/mo, #11,698 on PyPI
Alternatives
Verify before relying
pip install resfo
import resfo
for kw, arr in resfo.read("my_grid.egrid"):
print(kw, arr.shape)- Whether the package handles all variants of reservoir simulator output formats beyond opm flow
- Performance characteristics when parsing large binary files
- Availability of lazy-loading features mentioned in the summary
What it is and what it does
resfo is a parser for the binary and ASCII output formats used by reservoir simulators, particularly opm flow. It reads files with extensions like .UNRST, .EGRID, .INIT (binary) and .FUNRST, .FEGRID, .FINIT (ASCII), extracting them as a sequence of named arrays. The package does not interpret the semantic meaning of array names—it simply returns tuples of name and numpy array, leaving interpretation to the caller.
The package depends only on numpy and typing_extensions, making it lightweight to install. It is classified as Mature and supports Python 3.10 through 3.14. The repository is actively maintained with recent commits, and the package carries no known security vulnerabilities.
Use it for
- Extract grid geometry and properties from opm flow simulation output for post-processing or visualization
- Read reservoir simulator results into numpy arrays for numerical analysis or machine learning workflows
- Parse historical or archived simulation output files in binary or ASCII format for data recovery
- Integrate simulator output into automated workflows that require programmatic access to simulation results
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
resfo is a specialized, actively maintained parser with low install friction and no security issues. If you work with reservoir simulator output files (especially from opm flow), it directly solves the problem of extracting binary/ASCII data into usable arrays. The LGPL-3.0-or-later license requires attention if you plan proprietary distribution, but poses no barrier to internal or open-source use.
Install
resfo on PyPI
Before you install
Low friction: pure Python wheel with only numpy and typing_extensions as runtime dependencies. Actively maintained with a recent release and ongoing repository activity.
License in practice
Licensed under LGPL-3.0-or-later (copyleft). Derivative works and modifications must be distributed under compatible terms; proprietary use requires careful licensing review.
Quickstart
pip install resfo
import resfo
for kw, arr in resfo.read("my_grid.egrid"):
print(kw, arr.shape)
Verify before relying
- Whether the package handles all variants of reservoir simulator output formats beyond opm flow
- Performance characteristics when parsing large binary files
- Availability of lazy-loading features mentioned in the summary
Package facts
| License | LGPL-3.0-or-later copyleft |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesnumpytyping_extensions |
| Maintenance | Actively maintained 245 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 128,715 / month, #11,698 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 6 - MatureProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: resfo-5.0.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “reservoir simulator output parser”
- resforesfo parses binary and ASCII output files from reservoir simulators…
- resfo-utilitiesresfo-utilities parses and processes output data from reservoir…
- resdataResData reads and writes result files from reservoir simulators,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also resdata · resfo-utilities · oil-reservoir-synthesizer · FlowIO · f90nml · xtgeo · RoffIO · fparser · numpy-minmax · stanio