XTGeo is a Python library for 3D grids, surfaces, wells, and other geological objects, developed by Equinor. The current version is 4.21.0, requiring Python >=3.11. It is actively maintained with frequent releases (monthly) and provides IO and manipulation for reservoir modelling workflows.
pip install xtgeoVerified import paths — ran on the pinned version, not inferred.
Read a grid and a surface from files and print basic info.
Use Python 3.11 or later.
Use `import xtgeo` then `xtgeo.Grid`.
Update code to use `h5py` for HDF5 operations, or pin xtgeo<4.18.0 if `tables` is required.
Convert Path objects to string with `str(path)` when calling xtgeo file functions.
Use `import xtgeo` then `xtgeo.Grid`.
Remove the `format` parameter; xtgeo now detects format from the file extension.
Use `xtgeo.points` and `xtgeo.polygons` for point/polygon data, or access via top-level `xtgeo.Points`.
No dependency data recorded yet.