Skip to main content

XTGeo is a Python library for 3D grids, surfaces, wells, etc

Project description

XTGeo builds linting Codacy Badge codecov Code style: black PyPI version Documentation Status PyPI - Python Version PyPI - License

Introduction

XTGeo is a LGPL licensed Python library with C backend to support manipulation of (oil industry) subsurface reservoir modelling. Typical users are geoscientist and reservoir engineers working with reservoir modelling, in relation with RMS. XTGeo is developed in Equinor.

Detailed documentation for XTGeo at Read the Docs

Feature summary

  • Python 3.6+ support (earlier versions with 2.7+ and 3.5+ support)
  • Focus on high speed, using numpy and pandas with C backend
  • Regular surfaces, i.e. 2D maps with regular sampling and rotation
  • 3D grids (corner-point), supporting several formats such as RMS and Eclipse
  • Support of seismic cubes, using segyio as backend for SEGY format
  • Support of well data, line and polygons (still somewhat immature)
  • Operations between the data types listed above; e.g. slice a surface with a seismic cube
  • Optional integration with ROXAR API python for several data types (see note later)
  • Linux is main development platform, but Windows and MacOS (64 bit) are supported and PYPI wheels for all three platforms are provided.

Installation

For Linux, Windows and MacOS 64bit, PYPI installation is enabled:

pip install xtgeo

For detailed installation instructions (implies C compiling), see the documentation.

Getting started

from xtgeo.surface import RegularSurface

# create an instance of a surface, read from file
mysurf = RegularSurface("myfile.gri")  # Irap binary as default

print("Mean is {}".format(mysurf.values.mean()))

# change date so all values less than 2000 becomes 2000
# The values attribute gives the Numpy array

mysurface.values[mysurface.values < 2000] = 2000

# export the modified surface:
mysurface.to_file("newfile.gri")

Note on RMS Roxar API integration

The following applies to the part of the XTGeo API that is connected to Roxar API (RMS):

RMS is neither an open source software nor a free software and any use of it needs a software license agreement in place.

See HISTORY.md

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

xtgeo-2.15rc3-cp39-cp39-win_amd64.whl (542.2 kB view details)

Uploaded CPython 3.9Windows x86-64

xtgeo-2.15rc3-cp39-cp39-manylinux2010_x86_64.whl (531.8 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.12+ x86-64

xtgeo-2.15rc3-cp39-cp39-manylinux1_x86_64.whl (531.8 kB view details)

Uploaded CPython 3.9

xtgeo-2.15rc3-cp39-cp39-macosx_10_9_x86_64.whl (509.3 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

xtgeo-2.15rc3-cp38-cp38-win_amd64.whl (542.7 kB view details)

Uploaded CPython 3.8Windows x86-64

xtgeo-2.15rc3-cp38-cp38-manylinux2010_x86_64.whl (532.4 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

xtgeo-2.15rc3-cp38-cp38-manylinux1_x86_64.whl (532.4 kB view details)

Uploaded CPython 3.8

xtgeo-2.15rc3-cp38-cp38-macosx_10_9_x86_64.whl (509.4 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

xtgeo-2.15rc3-cp37-cp37m-win_amd64.whl (540.8 kB view details)

Uploaded CPython 3.7mWindows x86-64

xtgeo-2.15rc3-cp37-cp37m-manylinux2010_x86_64.whl (529.2 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

xtgeo-2.15rc3-cp37-cp37m-manylinux1_x86_64.whl (529.2 kB view details)

Uploaded CPython 3.7m

xtgeo-2.15rc3-cp37-cp37m-macosx_10_9_x86_64.whl (507.7 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

xtgeo-2.15rc3-cp36-cp36m-win_amd64.whl (540.9 kB view details)

Uploaded CPython 3.6mWindows x86-64

xtgeo-2.15rc3-cp36-cp36m-manylinux2010_x86_64.whl (529.4 kB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

xtgeo-2.15rc3-cp36-cp36m-manylinux1_x86_64.whl (529.4 kB view details)

Uploaded CPython 3.6m

xtgeo-2.15rc3-cp36-cp36m-macosx_10_9_x86_64.whl (507.7 kB view details)

Uploaded CPython 3.6mmacOS 10.9+ x86-64

File details

Details for the file xtgeo-2.15rc3-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: xtgeo-2.15rc3-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 542.2 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for xtgeo-2.15rc3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 95448ece99df57c8ff094bff808aa169b0ef13c4bb31172af3284dd65c5be035
MD5 54b23f427758f75a4d03d1919cefd67d
BLAKE2b-256 b73d5885226d20a8916858dcd051b8929b266950f07df7f9de508fd31ac91e6f

See more details on using hashes here.

File details

Details for the file xtgeo-2.15rc3-cp39-cp39-manylinux2010_x86_64.whl.

File metadata

  • Download URL: xtgeo-2.15rc3-cp39-cp39-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 531.8 kB
  • Tags: CPython 3.9, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for xtgeo-2.15rc3-cp39-cp39-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 eeb2d9a5d40c95aeb258c369de848a02a80c1c62eeaabe48736dd56913be23f2
MD5 74697683b0cfbae77d54db77cea3124b
BLAKE2b-256 c08e0f537e6817821a551bbfd5daf8a84f943da563ccc99d91531c5d0566372e

See more details on using hashes here.

File details

Details for the file xtgeo-2.15rc3-cp39-cp39-manylinux1_x86_64.whl.

File metadata

  • Download URL: xtgeo-2.15rc3-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 531.8 kB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for xtgeo-2.15rc3-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c7638208a70fa8d6198221f80e849a2a3c26146f6375275428ee8dc1526b2682
MD5 ee43f7c0446c1d1e43111331ee9a7428
BLAKE2b-256 5eb10e327c7e54a9fd2e4a8cdbd1a48feb4d691443b21f0d79ffb5f2b5c7b9b8

See more details on using hashes here.

File details

Details for the file xtgeo-2.15rc3-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: xtgeo-2.15rc3-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 509.3 kB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for xtgeo-2.15rc3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 433af42cea5a37879ef6b50f4545bcd7ecd39d51ac2878cde2102403db4333a3
MD5 f07f340c314cc67c5f2793b7c33852a6
BLAKE2b-256 ac78c5eedf5d4a0d8dedfdaf1f9495e6537f698a7e8d2b96eb34621c1b79d0e0

See more details on using hashes here.

File details

Details for the file xtgeo-2.15rc3-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: xtgeo-2.15rc3-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 542.7 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for xtgeo-2.15rc3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 3c1cb594ae3a90263577eda13358b88623aabc54c3a8598a482353c15e7cc05b
MD5 cf42ee2a56d9fdce6b4dc96fb2ee98d5
BLAKE2b-256 818d97545c620eedcb616bd28358b722aec10ef4b356c60b829bc7715a511edb

See more details on using hashes here.

File details

Details for the file xtgeo-2.15rc3-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

  • Download URL: xtgeo-2.15rc3-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 532.4 kB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for xtgeo-2.15rc3-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 4948887e5e7e896aed9c39255fd486314e6baa92d1bc59a250133ed77ed96413
MD5 5423119a769784369754cb09d18fbc11
BLAKE2b-256 f6557721fe8261f1c99a2be1ca7e3175559baab1efe5ccf59edeac8a1882f808

See more details on using hashes here.

File details

Details for the file xtgeo-2.15rc3-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: xtgeo-2.15rc3-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 532.4 kB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for xtgeo-2.15rc3-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 01ae2487ab290694ff1b7c109bad6d27b61c681b75141b0b1b49e5e83a0e49f3
MD5 db11104c0e8c9b24618a03ddb795c223
BLAKE2b-256 b6105609666e8141554a61ff2286996482d66cd0d53ded2792711db6d675d1fd

See more details on using hashes here.

File details

Details for the file xtgeo-2.15rc3-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: xtgeo-2.15rc3-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 509.4 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for xtgeo-2.15rc3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7a05743fbeb27f54c3e78da70447da17cecf7360d1c4bd69ebb5f74d3a32abf8
MD5 8848633553c4e1e555d3dc6121d6ce3e
BLAKE2b-256 cf63e56834091fbcd0673d6cf4731432e3a47b890e6fa83f8119414794d458c4

See more details on using hashes here.

File details

Details for the file xtgeo-2.15rc3-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: xtgeo-2.15rc3-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 540.8 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for xtgeo-2.15rc3-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 6afb380607318ec553b3b641371006f694172649a2fc12aeec2558e4f452f7b2
MD5 e26dbf6625272bde9d8caca27ebacc95
BLAKE2b-256 ffa0aeabe96e436c1b1e94d030265c82960c6270cf33bbaac1c10c18deed1333

See more details on using hashes here.

File details

Details for the file xtgeo-2.15rc3-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: xtgeo-2.15rc3-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 529.2 kB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for xtgeo-2.15rc3-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 51afc56c4520d73d7611d783393c48936157c65c6ef48b071aef48670694214d
MD5 033e9241040381a628c2e90250519bf1
BLAKE2b-256 f6e65f58eda76801e293856d2d87115d636848a48b15df1b3bd67a2f7380ab36

See more details on using hashes here.

File details

Details for the file xtgeo-2.15rc3-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: xtgeo-2.15rc3-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 529.2 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for xtgeo-2.15rc3-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5038f74611ac04e7ea9110ec5db35a1236a6a7c4548e3f19618ecba35350d1e3
MD5 409cb434afc9cf8a554269fa12bea4e0
BLAKE2b-256 9a2ab1d218fc8c256b4dc7a8d9f2686fe373c2911f4f22bc66715364aebe0214

See more details on using hashes here.

File details

Details for the file xtgeo-2.15rc3-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: xtgeo-2.15rc3-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 507.7 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for xtgeo-2.15rc3-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d97e827310646a6e60df39fc49e9527af7e855a888bc40038c8dc541b27730a1
MD5 0cd0708c23c8c889cbd6820924966358
BLAKE2b-256 3e4698f84dc8c7a228c40f2b4b03b8d078fda38ec937958cc3830a17702c9b66

See more details on using hashes here.

File details

Details for the file xtgeo-2.15rc3-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: xtgeo-2.15rc3-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 540.9 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for xtgeo-2.15rc3-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 cda18529b2c14061288b827a9b9a73f18717e793ceff8001bfc017186bbf7bdc
MD5 bf977ab0ef201d4df1cf335c5e406604
BLAKE2b-256 3934d12ba81b635c1a8b19c7bcd769fc7b356c384c81d4973d36eeb9bfc4104c

See more details on using hashes here.

File details

Details for the file xtgeo-2.15rc3-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: xtgeo-2.15rc3-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 529.4 kB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for xtgeo-2.15rc3-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 59d303b7cc8c551807a9476a80df55c89aad00e34097cf38aaebc404bde01bf4
MD5 19d3ac8fccf2791ef1bd00b40d7fcbe8
BLAKE2b-256 2c3c0c72b7d4bc30386c5a16d4b47936ef38e54ed63949df33c06c295cd67130

See more details on using hashes here.

File details

Details for the file xtgeo-2.15rc3-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: xtgeo-2.15rc3-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 529.4 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for xtgeo-2.15rc3-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8f31eb807ca1ac94ca4de9e9278a071e3789398866e21b6a51d2ee370faa9c5d
MD5 3bcfb7a6185d7f6b6d67aa339bec67fe
BLAKE2b-256 2e8ac9c1d43337196ac3604671fe0bc7efc6c01cce177a7384338161c315e97b

See more details on using hashes here.

File details

Details for the file xtgeo-2.15rc3-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: xtgeo-2.15rc3-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 507.7 kB
  • Tags: CPython 3.6m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for xtgeo-2.15rc3-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 28ca922a92a71442479eb4452188d7879b92a708fa7216d8c823d598d2679339
MD5 eee748f90ae7d414bb10c250a2386fc5
BLAKE2b-256 b6b4b03694e0168d36fca4db711032282921bb9cdb0f33e55e8111d3386f558e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page