Skip to main content

Geostatistics tools and Multiple Point Statistics

Project description

GEONE

Documentation Status

Current version : 1.3.4

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.4.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.4-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.4.tar.gz.

File metadata

  • Download URL: geone-1.3.4.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.4.tar.gz
Algorithm Hash digest
SHA256 fefe64a2034f55143c6b4cf3784043e058e4f3af4512428eac72c9859c68bdea
MD5 a78e35910155b0e2e18346b8b18a9051
BLAKE2b-256 9e9a9a6e3f3328a81db7e266d44e90f0c547642bb2d37ed409ba7fb4d6ded804

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for geone-1.3.4-py313-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 c154186f05827977b22ab3bc535a2589f6e129c9590cb05cc4af29609d7b5ec3
MD5 08a0ba595bf509e8f2d3f1d620786d86
BLAKE2b-256 fec98251ae2491fbddf0d3d7ab76d912ef1b397c7671dfd8002d3397af6c5c65

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