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 abstractCovariancebase 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.
Metadata
Release files for krigeo 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| krigeo-0.2.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for krigeo-0.2.1-py2.py3-none-any.whl |
Release files / krigeo-0.2.1-py2.py3-none-any.whl
| Download URL | krigeo-0.2.1-py2.py3-none-any.whl |
|---|---|
| Size | 49.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
fdc321b424e6be5d7adcee5889bae73c0271321a6fb007d0b168d45bccfa6b69
|
|
BLAKE2b-256 checksum How to use checksums |
83ac9e0e445a8a8cb72bdfa2dded6564d63d8dfc3db7633367086b318d98c43b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for krigeo 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.