xtgeo-4.9.1
توضیحات
XTGeo is a Python library for 3D grids, surfaces, wells, etc
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | xtgeo-4.9.1 |
| نام | xtgeo |
| نسخه کتابخانه | 4.9.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Equinor <fg_fmu-atlas@equinor.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/xtgeo/ |
| مجوز | LGPL-3.0 |



[](https://codecov.io/gh/equinor/xtgeo)
[](https://github.com/astral-sh/ruff)
[](https://badge.fury.io/py/xtgeo)
[](https://xtgeo.readthedocs.io/en/latest/?badge=latest)


## 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](https://xtgeo.readthedocs.io)
## 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](https://github.com/equinor/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
```python
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.
نیازمندی
| مقدار | نام |
|---|---|
| - | deprecation |
| - | gstools |
| - | h5py>=3 |
| - | hdf5plugin>=2.3 |
| - | joblib |
| - | matplotlib>=3.3 |
| - | numpy |
| - | pandas<3.0.0,>=1.1 |
| - | pyarrow |
| - | resfo>=5 |
| - | roffio>=0.0.2 |
| - | scipy>=1.5 |
| - | segyio>1.8.0 |
| - | shapely>=1.6.2 |
| - | typing_extensions |
| - | xtgeoviz |
| xtr | clang-format; |
| xtr | cmake-format; |
| xtr | coverage>=4.1; |
| xtr | hypothesis; |
| xtr | mypy; |
| xtr | pandas-stubs; |
| xtr | psutil; |
| xtr | pydocstyle; |
| xtr | pytest; |
| xtr | pytest-benchmark; |
| xtr | pytest-cov; |
| xtr | pytest-mock; |
| xtr | pytest-runner; |
| xtr | pytest-snapshot; |
| xtr | pytest-xdist; |
| xtr | ruff; |
| xtr | autoclasstoc; |
| xtr | myst-parser; |
| xtr | pydocstyle; |
| xtr | sphinx; |
| xtr | sphinx-autodoc-typehints; |
| xtr | sphinx-rtd-theme; |
| xtr | sphinx-tabs<3.4.5; |
| xtr | sphinx-toolbox>=3.5.0; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.11 | Python |
نحوه نصب
نصب پکیج whl xtgeo-4.9.1:
pip install xtgeo-4.9.1.whl
نصب پکیج tar.gz xtgeo-4.9.1:
pip install xtgeo-4.9.1.tar.gz