gio: Geo I/O for Subsurface Surfaces#
gio
reads and write subsurface data filesdescribing surfaces, grids and horizons.
Quick start#
Install gio
with pip:
pip install gio
Read a Surfer grid:
import gio
da = gio.read_surfer('surface.grd')
da
is a two-dimensional xarray.DataArray
object, which is a kind of
array (NumPy, Dask, Pint, whatever) indexed like a Pandas dataframe. In
general, you can treat it like an array (or use da.data
to get the
underlying array, or da.values
to get the underlying array as a
numpy.ndarray
).
User guide#
API reference#
Other resources#
Other resources