Skip to main content

Simpler geological and property models

Project description

ArchPy

Documentation Status logo

A hierarchical stochastic geological modeling tool in Python

Installation

ArchPy can be installed with pip :

pip install geoarchpy

This will install ArchPy and the necessary dependencies. To install all the dependencies (including optional ones) :

pip install geoarchpy[all]

ArchPy can also be installed from the source code. To do so, clone the repository and run the following command in the main directory :

pip install .

Alternatively, it is possible to add ArchPy path directly in the python script with sys :

sys.path.append("path where ArchPy is") 

and then import ArchPy. In such case, it is necessary to install all the dependencies manually.

Concerning the interactivity of the plots, it is necessary to install trame as well as some trame subpackages. This can be done with the following command :

pip install trame
pip install trame-vuetify
pip install trame-vtk

Requirements

Works and tested with 3.8 <= python <= 3.11

The following python packages are absolutely necessary:

  • Geone
  • matplotlib
  • numpy (tested with 1.26.4)
  • SciPy (tested with 1.14.1)
  • sklearn (tested with 1.5.1)
  • pandas (tested with 2.2.2)
  • shapely (tested with 2.0.6)

These are not required but highly recommanded. They are installed with ArchPy by default.

  • PyVista (tested with 0.44.1)
  • pyyaml (tested with 6.0.2, for export uses)
  • Rasterio (tested with 1.3.10, to use rasters)
  • Geopandas (tested with 1.0.1, to use shapefile)
  • ipywidgets

Examples

There is some example notebooks :

  • 01_basic : a folder where simple and basics ArchPy functionnalities are described
  • 02_3D_ArchPy : a complete 3D ArchPy model example
  • 03_Article_example : a synthetical example shown in ArchPy article
  • 04_hierarchies : an exemple with many hierarchical units to test ArchPy capabilities
  • 05_mps_surfaces : an example how to use MPS to simulate the units surfaces
  • 06_cross_validation : a notebook that present how to perform a cross-validation directly with ArchPy
  • 07_geological_map : this notebook presents how to integrate and use a geological in an ArchPy model
  • 08_inference : little guide how to use archpy inference tools to estimate surface parameters (no facies parameters for now) --> Note that for now, the interface is not working due to incompatibilities issues with ipywidgets.
  • 09_interface : little exemple of an interface to call an preexisting archpy model as well as drawing a new model extension.
  • 10_rotation : an example of how to create a rotated model

Paper

A paper was published on the ArchPy concept and its different capabilities. The paper was written with the version 0.1 of ArchPy. It is available with the following link.

list of references using ArchPy

Schorpp, L., Straubhaar, J., & Renard, P. (2024). From lithological descriptions to geological models: an example from the Upper Aare Valley. Frontiers in Applied Mathematics and Statistics, 10, 1441596 link.

Neven, A., & Renard, P. (2023). A novel methodology for the stochastic integration of geophysical and hydrogeological data in geologically consistent models. Water Resources Research, 59(7). link

Neven, A., Schorpp, L., & Renard, P. (2022). Stochastic multi-fidelity joint hydrogeophysical inversion of consistent geological models. Frontiers in Water, 4, 989440. link

Contact

For any questions regarding ArchPy, please contact me at ludovic.schorpp@unine.ch

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

geoarchpy-1.0.9.tar.gz (142.4 kB view details)

Uploaded Source

Built Distribution

Geoarchpy-1.0.9-py3-none-any.whl (133.4 kB view details)

Uploaded Python 3

File details

Details for the file geoarchpy-1.0.9.tar.gz.

File metadata

  • Download URL: geoarchpy-1.0.9.tar.gz
  • Upload date:
  • Size: 142.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for geoarchpy-1.0.9.tar.gz
Algorithm Hash digest
SHA256 0f777323f892ac49346fcd426023bd09f52b4de55c8cbd0e7c19e11a841bb9c7
MD5 05cc8577d6aba057e3df426c1dfe9f4d
BLAKE2b-256 a1539a763bbfc6c2de5acc221fca6187c6996b7d93a5bb0cb1e0784b8259613c

See more details on using hashes here.

File details

Details for the file Geoarchpy-1.0.9-py3-none-any.whl.

File metadata

  • Download URL: Geoarchpy-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 133.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for Geoarchpy-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 78f9cc27d41dbb81229022417bb8b5d522443e0b0192ae60679a6b81a15580ff
MD5 3cdb6a0c4335884af2672c1cfe8b5184
BLAKE2b-256 431611ed56e5ec9e76365852a3fcdcaeba03191d9f4321849e972b58c59dd7a4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page