Skip to main content

gio

Tests PyPI status PyPI versions PyPI license

Geoscience I/O for grids and horizons.

The goal of this project is to load and save various geoscience surface data formats (2D and 3D seismic horizons, grids, etc). The interchange formats are the xarray.DataArray (and xarray.Dataset where we need a collection of arrays). This format is convenient because it allows us to store a NumPy array with Pandas-like indexing (as opposed to ordinary NumPy positional indexing).

We've started with:

  • OpendTect horizons
  • ZMAP grids
  • Surfer grids
  • Petrel horizons

What formats would you like to see? Make an issue.

Installation

This library is on PyPI, so you can install it with:

pip install gio

To get the latest unstable release, you can install it from GitHub:

python -m pip install --upgrade https://github.com/agile-geoscience/gio/archive/develop.zip

Examples

import gio

da = gio.read_surfer(fname)
da.plot()

See more examples in the notebooks folder.

Contributing

Please get involved! See CONTRIBUTING.md.

Testing

You can run the tests (requires pytest and pytest-cov) with

python run_tests.py

Building

This repo uses PEP 517-style packaging. Read more about this and about Python packaging in general.

Building the project requires build, so first:

pip install build

Then to build gio locally:

python -m build

The builds both .tar.gz and .whl files, either of which you can install with pip.


© 2022 Agile Scientific, openly licenced under Apache 2.0

Release files for gio 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gio 0.1.3
File Size Uploaded
gio-0.1.3.tar.gz 2.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for gio 0.1.3
File Interpreter ABI Platform
gio-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 2.0 MB

Release files / gio-0.1.3.tar.gz

Download URL gio-0.1.3.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
9d7905a48befe2b738c802bc8c93076201272d2001244c1276b12cd43b167c77
BLAKE2b-256 checksum
How to use checksums
807599b7cf278cd436285b2712f7722ec21f1b7fba4e20843b220952798cfb7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / gio-0.1.3-py3-none-any.whl

Download URL gio-0.1.3-py3-none-any.whl
Size 17.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7726d21a6a4ce0825a1bfed9052f97aff9b297c7d4270d08810412153378dcad
BLAKE2b-256 checksum
How to use checksums
4a7f7e8475db09774b282c2ca866727970e820bd0e194fce8a8a16f954293e63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page