Simpler geological and property models
Project description
ArchPy
A hierarchical stochastic geological modeling tool in Python
Installation
ArchPy can be installed with pip :
pip install geoarchpy
OR
ArchPy can be installed with
pip install .
when in the main directory.
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.
:warning: Issues with widgets: For some reasons, widgets does not work properly with recent version of jupyter-server due to recent versions of tornardo. Ensure to have tornado==6.1 if you plan to use widgets and interactive functions with the matplotlib notebook backend.
Requirements
Works and tested with 3.8 <= python <= 3.11
The following python packages are absolutely necessary:
- Geone
- matplotlib
- numpy (tested with 1.23.5)
- SciPy
- sklearn
- pandas
- shapely < 2.0 (will be adapted to shapely 2.0 soon)
- scikit-learn
These are not required but highly recommanded.
- PyVista
- pyyaml (for export uses)
- Rasterio (to use rasters)
- Geopandas (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 unkown issues with ipywidgets.
- 09_interface : little exemple of an interface to call an preexisting archpy 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.
Contact
For any questions regarding ArchPy, please contact me at ludovic.schorpp@unine.ch
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for Geoarchpy-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67d7fc177852bd0245dee035fb38aefffbc7a3e4883cb76a2c137495c67755a0 |
|
MD5 | 37ab312ccaf6776e2bc90d010ed94bae |
|
BLAKE2b-256 | d2e639f7208a1100b67a6ec9a76eaed19aae8262550831ae96a32b4cfe7b38f7 |