Skip to content

Welcome to GeoLime๐Ÿ‹

GeoLime๐Ÿ‹

GeoLime is Deeplime Python Library made for scientific calculations on geological objects. Objects offer a standardization of labels and easy-to-use methods.

Install๐Ÿ‹

It is recommended to use virtual environment when installing Python packages (e.g. through Anaconda, Virtualenvwrapper, etc.).

  1. Public dependencies First, install the dependencies from the requirements.txt file (e.g. with pip install -r requirements.txt).

โš  On Windows๐Ÿ‹

Some dependencies (GDAL, Fiona, rasterio) must be installed manually first by downloading the corresponding wheel files. Checkout https://www.lfd.uci.edu/~gohlke/pythonlibs/ to install the windows pre-compiled binaries directly. E.g.:

pip install pygeosโ€‘0.12.0โ€‘cp38โ€‘cp38โ€‘win_amd64.whl
pip install GDAL-3.4.1-cp38-cp38-win_amd64.whl
pip install rasterioโ€‘1.2.10โ€‘cp38โ€‘cp38โ€‘win_amd64.whl
pip install Fiona-1.8.21-cp38-cp38-win_amd64.whl
Alternatively, use conda to install them.

  1. Private dependency geolime depends on julime, so you need to manually install both of from the provided wheel files
    pip install /path/to/julime-<x.y.z>-<python>-none-<platform>.whl
    pip install /path/to/geolime-<x.y.z>-<python>-none-any.whl
    

To ensure the library is properly installed, Run in a Python console:

import geolime
geolime.__version__

# => this should print the installed geolime version

Quick Start๐Ÿ‹

# import GeoLime in a python session
# on Windows, import rasterio before geolime
import rasterio
import geolime as geo
import matplotlib.pyplot as plt

# load a provided dataset
data = geo.datasets.load("walker_lake_sample")

# create a PointCloud out of the XYZ data
point_cloud = geo.PointCloud(
    name='WalkerLake',
    xyz=data[['x', 'y', 'z']]
)

# plot it on map view
point_cloud.plot_2d('Z', 'mean')
plt.show()

Refer to the documentation Guides for more practical examples of GeoLime.

Available objects๐Ÿ‹

  • Drillholes
  • Surface
  • Grid
  • BlockModel
  • GIS Object
  • Import and export to csv for Drillholes
  • Surface, Drillhole and Block Model miscellaneous operations and helpers

Geostatistics Toolbox๐Ÿ‹

  • Variography (experimental variography, autofitting, ...)
  • Common Covariance models
  • Kriging (Simple/Ordinary & Punctual/Block)
  • Anamorphosis and Hermite polynoms
  • Localized Uniform Conditionning
  • Simple Multigaussian Kriging

Utilities๐Ÿ‹

  • Stats
  • Plotting
  • Math (trigonometry, distance functions, ...)