Skip to main content

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 provides three possibilities for kriging :
    • Simple kriging (not exposed, for learning purpose only)
    • Ordinary kriging
    • Universal kriging (or kriging with external drift)
  • covariance provides standard covariance models (it allows any custom covariance model, only requirement is to implement __call__(self, lag: ArrayLike) -> ArrayLike, and it even provides an abstract Covariance base class).:
    • Gaussian
    • Cubic
    • Exponential
    • Spherical
  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

krigeo-0.2.1-py2.py3-none-any.whl (49.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file krigeo-0.2.1-py2.py3-none-any.whl.

File metadata

  • Download URL: krigeo-0.2.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 49.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for krigeo-0.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fdc321b424e6be5d7adcee5889bae73c0271321a6fb007d0b168d45bccfa6b69
MD5 eee9c8b5ead836794448611d9df7e3dd
BLAKE2b-256 83ac9e0e445a8a8cb72bdfa2dded6564d63d8dfc3db7633367086b318d98c43b

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