a versatile python kriging tool.
Project description
krigeo
It strated as a KISS demo package featuring naive implementation of simple kriging ... ended up as a pure-python universal kriging tool with fault network infering capabilities !
Overview
This package provides tools for variable estimation via kriging. It is divided in three submodules :
-
kriging which provides three possibilities for kriging :
- Simple kriging
- Ordinary kriging
- Universal kriging (or kriging with external drift)
-
covariance which provides standard covariance models :
- Gaussian
- Cubic
- Exponential
- Spherical
It also provides possibility to add a custom covariance model.
-
drifts which is a toolbox designed to deal with discontinuities, that can then be integrated in universal kriging. It allows to create drift functions associated with faults for applications in geosciences.
Usage
A demo folder is provided to show a use case of this package. It contains a global demo (global demo) that shows the whole workflow, from the import of data to the kriging, with the definition of covariance and drift models. For more details on variography and drifts, see variography and drifts, that focus on covariance and drift submodules applied to this use case.
Installation
pip install krigeo
One can also build it manually from gitlab:
pip install git+https://gitlab.com/brgm/geomodelling/spatial/krigeo
To locally build/install this package, use:
git clone https://gitlab.com/brgm/geomodelling/spatial/krigeo
cd krigeo
# regular install
python -m pip install .
# install as editable
python -m pip install -e .
# or package wheel
python -m pip wheel . -w ./dist --no-deps
Contributing
See CONTRIBUTING.md
License
krigeo is provided under a GNU Affero General Public License that can be found in the LICENSE file. By using, distributing, or contributing to this project, you agree to the terms and conditions of this license.
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file krigeo-0.2b1-py2.py3-none-any.whl.
File metadata
- Download URL: krigeo-0.2b1-py2.py3-none-any.whl
- Upload date:
- Size: 49.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da0aea0018f895ffa5ae4e42c73fb5fbc13d32dde8a58eb3a1f17fcb5eb883a5
|
|
| MD5 |
ac7466cc3729cfb379540e835e1f3816
|
|
| BLAKE2b-256 |
689a2b30f1c8239a3d43e7dd8899ab29a5e70201a6f82cee607a287880298735
|