Skip to main content

XTGeo builds linting codecov CodSpeed Ruff 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.11+ 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

import xtgeo

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

print(f"Mean is {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.

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-4.25.1-cp314-cp314-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.14Windows x86-64

xtgeo-4.25.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

xtgeo-4.25.1-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (3.3 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.26+ ARM64manylinux: glibc 2.28+ ARM64

xtgeo-4.25.1-cp314-cp314-macosx_11_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

xtgeo-4.25.1-cp313-cp313-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.13Windows x86-64

xtgeo-4.25.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

xtgeo-4.25.1-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (3.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.26+ ARM64manylinux: glibc 2.28+ ARM64

xtgeo-4.25.1-cp313-cp313-macosx_11_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

xtgeo-4.25.1-cp312-cp312-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.12Windows x86-64

xtgeo-4.25.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

xtgeo-4.25.1-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (3.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.26+ ARM64manylinux: glibc 2.28+ ARM64

xtgeo-4.25.1-cp312-cp312-macosx_11_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

xtgeo-4.25.1-cp311-cp311-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.11Windows x86-64

xtgeo-4.25.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

xtgeo-4.25.1-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (3.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.26+ ARM64manylinux: glibc 2.28+ ARM64

xtgeo-4.25.1-cp311-cp311-macosx_11_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file xtgeo-4.25.1-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: xtgeo-4.25.1-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for xtgeo-4.25.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 10f967828c82f284b8aa9a7f7602f0096d0611c0e642dd2bc8c586c915f07a09
MD5 c9458b8fcd04c8092564fab6966f71aa
BLAKE2b-256 30bae1508beecabaf8ac6ad24a4fdefcd51ac9c7a115ba0e5ba0eddb836d4cb0

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.25.1-cp314-cp314-win_amd64.whl:

Publisher: publish.yml on equinor/xtgeo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xtgeo-4.25.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for xtgeo-4.25.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4dea2ca30cf65b2934bc7817e64b1ddf0619b7440419dee87d80587401c32698
MD5 972efee7e40883be417ec8c63f11cdf1
BLAKE2b-256 83593c8eb142902956697b07e1a00e3217f5d330ed261023f86fa2cb94ac4ee8

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.25.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on equinor/xtgeo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xtgeo-4.25.1-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for xtgeo-4.25.1-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f1d7d4e1212f52cb1c99e4139dabfdc6d1c9820216d3f6330dbb1723a755cf01
MD5 febf7c96c2cd7050212fd5857f01eefe
BLAKE2b-256 639d13522af568acb3affdcd9d304db005fa335ef5896cde0eaf407d4d2b43db

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.25.1-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl:

Publisher: publish.yml on equinor/xtgeo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xtgeo-4.25.1-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for xtgeo-4.25.1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5bfc6176d18494ad5ee1ea92f1737b5236bddc3f3d70faf37eca003e8193fecc
MD5 46b9ac17fb926992ef60bbec213f2ed3
BLAKE2b-256 6518e51dd29b8a4df17559973f8482fee1677e10ed1b91896ebcd3cd4db880c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.25.1-cp314-cp314-macosx_11_0_arm64.whl:

Publisher: publish.yml on equinor/xtgeo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xtgeo-4.25.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: xtgeo-4.25.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for xtgeo-4.25.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 64debd4e6a7fc79007b43d096bbe698e7d35b7f768d4b45ab00ef344f356f2b3
MD5 6a789c12ab147becf0eef7cfde38e615
BLAKE2b-256 462666524ae1a07462708969605af5012ef6d73d3ea2f934527933911fec64cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.25.1-cp313-cp313-win_amd64.whl:

Publisher: publish.yml on equinor/xtgeo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xtgeo-4.25.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for xtgeo-4.25.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 305a7d5ee7631097134f22e78ec7b1447ab37a027eba45114ee5f14a8baa5145
MD5 e8b500a91dea1f687d9a7cde959688da
BLAKE2b-256 b7a4803773d8906b87cc7e6878a97d3101273c9ca068f410e1fb2f1f2ee4d97b

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.25.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on equinor/xtgeo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xtgeo-4.25.1-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for xtgeo-4.25.1-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6d74709ba1682f64988e512bc30e7217874d862c7b310b8299207877321a556a
MD5 30ee77ae48516a3489af6f405bd82e7b
BLAKE2b-256 587feac5a5d807368b4713be3faef1437c22cae13e9ecbd8c582318a22bf9aab

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.25.1-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl:

Publisher: publish.yml on equinor/xtgeo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xtgeo-4.25.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for xtgeo-4.25.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a8b2377426ceab7f5b3cd3efb4a3ba804333ba76a7cd46d00829344e6b05928c
MD5 a95ede51858ade154265918a9664a573
BLAKE2b-256 6de1a429c8dd879b8dafa34155affd35e8d98af8b7d77be85e955e36b56fda63

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.25.1-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: publish.yml on equinor/xtgeo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xtgeo-4.25.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: xtgeo-4.25.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for xtgeo-4.25.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 35ef3bc9008b3be24d03645be3d9bff4ec450250456baf0c31c8542ad11509bd
MD5 2e2d7889c7714ff0c94a9ba078f75541
BLAKE2b-256 e6e00bd6520b369426bc7dfc50e4765c731d056a91c58a58d1a434682859c25b

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.25.1-cp312-cp312-win_amd64.whl:

Publisher: publish.yml on equinor/xtgeo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xtgeo-4.25.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for xtgeo-4.25.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3b983dffe5bc12cbe3c6ba7f4303e351c3755009e5e388e8760a5c1780ed8050
MD5 f066838f944d5acc33c221027a53e98d
BLAKE2b-256 4dbe862c09d0b675445b08acbad1a390920daddd20df124120b0f389b5ad928e

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.25.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on equinor/xtgeo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xtgeo-4.25.1-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for xtgeo-4.25.1-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 03add20bf16872f55b0841159ef3d600242857d54e99b8600cbef17b9ff75ab8
MD5 0a4898f1d89141be3ad629d01484af10
BLAKE2b-256 4b6ca2de03d469cdddc80d4555725f0879ec983bb9371b2fcc9ec59e705437bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.25.1-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl:

Publisher: publish.yml on equinor/xtgeo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xtgeo-4.25.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for xtgeo-4.25.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f152749303484b8ab96cc5a791bd85b32f363d3f326cd16c5ee2feea35edec30
MD5 e23792e29b9b75a64e460056d5f19311
BLAKE2b-256 3b746285d21d2689f43b5245e70028f62fe6348af7dcc6aa7c85609aff2be979

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.25.1-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: publish.yml on equinor/xtgeo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xtgeo-4.25.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: xtgeo-4.25.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for xtgeo-4.25.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e5719e2b9581705e34ebf0cf388301b787aefe26318580e255962d8e708d8d93
MD5 a71b24fd09223c39fb5e28741848a595
BLAKE2b-256 c66885a8b0fa6823d384e70c089634213c871680e38e8ba650fbbbfcafbbfb35

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.25.1-cp311-cp311-win_amd64.whl:

Publisher: publish.yml on equinor/xtgeo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xtgeo-4.25.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for xtgeo-4.25.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9a41a3c4bc51d1d6c64623883135a057f03beb3660fddf13de59a87d592023b6
MD5 e5a4238e1d48ecba16a4c1177a7efd6d
BLAKE2b-256 5d5d28610b32d0eeee92dab8bd29727fbf328779c14cd743de1e6c5a405bb670

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.25.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on equinor/xtgeo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xtgeo-4.25.1-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for xtgeo-4.25.1-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8cb5b9c9b995fb5a4b7d51975e2f332514752cd46aa1f6df0f0dcc9666f9b713
MD5 ea9e20e0b058bd5cb7630e38e287bfc6
BLAKE2b-256 9e0e340f5891e1ad9f863a70c5f5814d234715cf7c1c749e60efa647a78aabe3

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.25.1-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl:

Publisher: publish.yml on equinor/xtgeo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xtgeo-4.25.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for xtgeo-4.25.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9ecf9b6f8d13b491feb94dd76c35b30b9e6e22b857127fc9e8b860b2ab4813f6
MD5 0735235ac770f145e4a0404c72763979
BLAKE2b-256 a95a38030a676f8ff52296e4fd11755b3d3887a0a6e80c6fc270db66d7103e71

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.25.1-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: publish.yml on equinor/xtgeo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

Supported by

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