Skip to main content

XTGeo builds linting codecov 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.24.5-cp314-cp314-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.14Windows x86-64

xtgeo-4.24.5-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.24.5-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (3.2 MB view details)

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

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

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

xtgeo-4.24.5-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.24.5-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (3.2 MB view details)

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

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

xtgeo-4.24.5-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.24.5-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (3.2 MB view details)

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

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

xtgeo-4.24.5-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.24.5-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (3.2 MB view details)

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

xtgeo-4.24.5-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.24.5-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: xtgeo-4.24.5-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/6.1.0 CPython/3.13.13

File hashes

Hashes for xtgeo-4.24.5-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 6592e13ee01706a2c5bed7150ef1a5c99c71a1db1a7e4a086ac83e67f877bf0e
MD5 efbaf5d8793b995da8ff8b2faa626159
BLAKE2b-256 e523aebcd1b90decba49ba828d383ebce2f369fc71d0b7d6b63db35cb18fcb51

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.24.5-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.24.5-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for xtgeo-4.24.5-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c1d420bf97779bba98d9eb8e0222380d76aeb490c6bc413003b1c6c5c10d4cf9
MD5 a7eec1da7a957c8690a0fc536d4590e4
BLAKE2b-256 aabf4f35bf8d3f7096241cddaf90913e6b03e32def42bcfc97c97a9d7756ceca

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.24.5-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.24.5-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for xtgeo-4.24.5-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3e889ab5bb2763553597fc96ecb7e684fa5872aed1ada181c9b470116c390603
MD5 4481bf7e9f169897abd1314e2a8b02bb
BLAKE2b-256 b486a7138a951e98b75f35e9d60458529b770e45b2b6183b115fba383f1de98a

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.24.5-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.24.5-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for xtgeo-4.24.5-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2a52f04f6717890ce6db4c88abccd0ff258332e3b56a33080ae4affb63c8bfcd
MD5 793ddf34d92757ad087118fa4a77f39a
BLAKE2b-256 fa3f24f1a295940c837bdeec1f973bc7a6bfbb8b44652aa7acfcbd44632e6bcc

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.24.5-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.24.5-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: xtgeo-4.24.5-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/6.1.0 CPython/3.13.13

File hashes

Hashes for xtgeo-4.24.5-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 68b871071aa6b9b1391a27ea8d8f89036a84c592d953d4506fac2ecbeadc70e0
MD5 1e2af85216eb7b93027c618c452be909
BLAKE2b-256 db67e6f41c0931af7f0bc276ff98744ad9b4f39d890f30ce599714b9e3c21f09

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.24.5-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.24.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for xtgeo-4.24.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c7f8c74162a94769e8789b8f449588579122d1fdf12dd49652aff9e7819f7d38
MD5 f4ef22166df584da4a8f19c93070414b
BLAKE2b-256 f4524de7a47a779177688ab1d089a1613e39dba7ec9db5f0b83e59c64feb228c

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.24.5-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.24.5-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for xtgeo-4.24.5-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3149f3c65a20e3ceae3fcd3c53307933fb8f2b03fc3be1a8d068847b5e932c43
MD5 795e6718aa561c7ae453bb7e81571f07
BLAKE2b-256 c983b84ed65f37e42ef5a3b8780779ff40927fd523fee7e61bddc145d0205ff0

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.24.5-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.24.5-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for xtgeo-4.24.5-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 433e105f7c3d5a6ca3905406d6924888b637fa13f296f55dff67e79ded1d97a4
MD5 d8722f996c2dff8bc806777c45857bb6
BLAKE2b-256 797264ec1bbd3ba6f345478e6ac935210d9c20f7d94d68b734e6af567872e580

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.24.5-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.24.5-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: xtgeo-4.24.5-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/6.1.0 CPython/3.13.13

File hashes

Hashes for xtgeo-4.24.5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 23c97b56723c9762094c8564edd8f53601751fc52c30b7e21728772366b30180
MD5 cd181fa658044ca1d277b05c133ffdba
BLAKE2b-256 caf8356af05f9b18206cb6dab127917a732cf518c88518efb489c308e5a41a16

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.24.5-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.24.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for xtgeo-4.24.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9ceab850bcfd7c160443dff6270b4380000ad6469ccf657d4fd82f3160a89726
MD5 344cde06aeb42504b3ab097fd56e2f50
BLAKE2b-256 176347fef47ff6ae19cdd3a340a39b0206a5d98beb829d98a93d317df7470b53

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.24.5-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.24.5-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for xtgeo-4.24.5-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d8780b20515c12b9ec76fc02f0e5ed3fb7deb9ae71b31eccf695ca25257e117b
MD5 d973c68cb3f0ce54904258c9c4b91854
BLAKE2b-256 1046f115b4864678425891eb846058f6bb9eff6e9ce96ab316dc4cebb8f6f30d

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.24.5-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.24.5-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for xtgeo-4.24.5-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f5ceaf9f3a8ed7871ac29e1878f3ab5b8da316f6acb0274c9dfe075dd8ac476e
MD5 9cc8ccf1f21256b0b9f2de70413fa91a
BLAKE2b-256 c92c053a9748e35812c462e3a618a918ac461c848f4aea623bc6c85139b5c84d

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.24.5-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.24.5-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: xtgeo-4.24.5-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/6.1.0 CPython/3.13.13

File hashes

Hashes for xtgeo-4.24.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1335f287a5016baee706c2e4cde8797a8c48dcfd799abc03118950f638dc939c
MD5 43b44efaf3548b1c018e027dc3c1aa06
BLAKE2b-256 049772fc4ce9863f2c29d135cf9d0e5333cfb584015ad4b00e449da130c912e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.24.5-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.24.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for xtgeo-4.24.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d39ec6bc5a9a6a395b7d7019bceef80d2aa5a9a2b45d8f88c4c1d2854c602387
MD5 8d1e477bc8fae7d2123850b00aabffbf
BLAKE2b-256 c35d1f3137085d9e9a6855e758d1af4997ac3024bf8f1381a062fdca4a23f4e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.24.5-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.24.5-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for xtgeo-4.24.5-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8cb26a02bc397c208e6abbc44939333f65dd2e8634b048f1281113aec7c3b493
MD5 8a367ab356b92d27465eb75993bd66db
BLAKE2b-256 886971a4f43fdd3d4d54283657e776a5d418d4954ebf6f16dcf6be34fdae5509

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.24.5-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.24.5-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for xtgeo-4.24.5-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c8879c319e46655d2de8db51e3b1bba425756dcd479f093b0e65ad5bc4ec2f39
MD5 78911f4c866ddb244bf38aafabb1d038
BLAKE2b-256 af4b3a11553d7b411c70c7e7aceddd897b452a9d26abdb628fb1b8a7a8cd9a99

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtgeo-4.24.5-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