Skip to main content

Geostatistics tools and Multiple Point Statistics

Project description

GEONE

Documentation Status

Current version : 1.3.3

GEONE is a Python3 package providing a set of tools for geostatistical modeling, including:

  • multiple-point statistics (MPS) simulation as "DEESSE wrapper"
  • geostatistical tools based on two-point statistics, including "GEOSCLASSIC wrapper"
  • miscellaneous algorithms based on random processes

Documentation, examples and references

The documentation of GEONE is on https://geone.readthedocs.io.

The notebooks (examples) from the documentation are available in docs/source/notebooks.

Installation

GEONE is available on:

GEONE relies on pre-compiled C libraries (DEESSE and GEOSCLASSIC core), available for:

  • linux (x86_64 with GLIBC 2.35 or GLIBC 2.27) and python 3.9 to 3.13
  • mac (x86_64 or arm64) and python 3.9 to 3.13
  • windows and python 3.9 to 3.13

Installation from PyPI

In a terminal type

pip install geone

Or, equivalently: python -m pip install geone.

Installation from the Github repository

In a terminal, change directory where to download GEONE, and type

git clone https://github.com/randlab/geone.git
cd geone
pip install .

Note: use pip install . --verbose or pip install . -v for printing (more) messages during the installation.

Alternatively:

  • Instead of git clone ..., you can download GEONE from the Github repository: click on the green button "code" and choose "Download ZIP".
  • Then, unzip the archive on your computer
  • Finally, in a terminal, go into the unzipped directory, and type pip install .

Warning - Using GEONE

If the installation has been done from github, do not launch python from the directory containing the downloaded sources and where the installation has been done (with pip), otherwise import geone will fail.

Requirements

The following python packages are used by GEONE:

  • matplotlib
  • multiprocessing (for parallel processes)
  • numpy
  • pandas
  • pyvista
  • scipy

Note: numpy version >= 2 is used.

Remark: the package ipykernel is required to run the notebooks.

GEONE has been tested with the following settings:

platform_system : Linux
python version  : sys.version_info(major=3, minor=13, micro=7, releaselevel='final', serial=0)
glibc_str       : glibc 2.35
glibc_version   : (2, 35)
machine         : x86_64
matplotlib.__version__ = 3.10.7
numpy.__version__      = 2.3.3
pandas.__version__     = 2.3.3
pyvista.__version__    = 0.46.3
scipy.__version__      = 1.16.2

Note about multiprocessing

Some functions uses multiprocessing with each process running on multi-threads (OpenMP in pre-compiled C libraries). If such a function blocks, this might be due to the "start method" of multiprocessing, which is set to 'fork' by default on Linux. Setting "start method" to 'spawn' might solve this issue, at the cost of performance. Or, to keep better performance, "start method" can be let (set) to 'fork', and in function allowing to specify the number of process(es) nproc and the number of thread(s) per process nthreads_per_proc, use set-up such that nproc=1 or nthreads_per_proc=1.

Important: if needed, "start method" of multiprocessing must be set at START OF THE PYTHON SESSION, i.e. before running any multiprocessing task, with

import multiprocessing
multiprocessing.set_start_method(start_method)

where start_method is a string (e.g. 'spawn', 'fork'); or this can be forced by using the keyword argument force=True. Note that multiprocessing.get_start_method() returns the "start method".

Removing GEONE

In a terminal type

pip uninstall -y geone

Note: First remove the directory 'geone.egg-info' from the current directory (if present).

License

See LICENSE file.

Authors

GEONE is developed by Julien Straubhaar and Philippe Renard.

Project details


Download files

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

Source Distribution

geone-1.3.3.tar.gz (75.6 MB view details)

Uploaded Source

Built Distribution

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

geone-1.3.3-py313-none-manylinux_2_35_x86_64.whl (3.2 MB view details)

Uploaded Python 3.13manylinux: glibc 2.35+ x86-64

File details

Details for the file geone-1.3.3.tar.gz.

File metadata

  • Download URL: geone-1.3.3.tar.gz
  • Upload date:
  • Size: 75.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for geone-1.3.3.tar.gz
Algorithm Hash digest
SHA256 c8d0c3762f76f56523ccf40257c07c01aba4a301e0d7665943a0eb3c6d4fa31e
MD5 d0d335f3023131e729b6fd72133a23cd
BLAKE2b-256 9ec1309bb57a776c106ff4b6ca9e507153da56108a94b755d582757de41d3846

See more details on using hashes here.

File details

Details for the file geone-1.3.3-py313-none-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for geone-1.3.3-py313-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 70f0f4b5e45d26e5d10a5063ca57b2e47074ecc4f58d095362008a9d17a41ade
MD5 1155515c58e693cb4991cdb20ad939e2
BLAKE2b-256 94f091bbba643dfd2163cbd94dbd898642eaf1d4783d4d3b20d5c22e22ecb5dc

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