geostatspy

Perform variogram analysis, kriging, and sequential Gaussian simulation on spatial data.

46|3|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/SteadfastAsArt/geoscience-skills --skill geostatspy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: geostatspy
Source: https://github.com/SteadfastAsArt/geoscience-skills/tree/main/geostatspy
Command: npx skills add https://github.com/SteadfastAsArt/geoscience-skills --skill geostatspy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, pandas, matplotlib, geostatspy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Geostatistics requires specialized tools to analyze spatial data; this Skill provides a Python-based framework for variogram analysis, model fitting, kriging, and simulation workflows, enabling rapid, repeatable geostatistical analyses.

Core Features & Use Cases

  • Experimental variogram computation (isotropic and directional) and variogram modeling.
  • 2D simple/ordinary kriging on grids, with optional search radii and data conditioning.
  • Sequential Gaussian Simulation (SGSIM) and declustering for uncertainty quantification.
  • Normal score transforms and back-transform utilities for robust statistics and data normalization.
  • Use case: characterize porosity fields, generate realizations for reserves assessment, and compare variogram fits against field data.

Quick Start

Run a minimal variogram analysis and kriging workflow on your spatial dataset to obtain an initial geostatistical estimate.

Frequently Asked Questions about geostatspy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compute experimental variograms and perform kriging interpolation in Python?

You can compute experimental variograms and perform 2D simple or ordinary kriging interpolation in Python using numpy and pandas datasets, applying optional search radii and data conditioning to generate spatial estimates on grids.

What is sequential Gaussian simulation and when do I need it for spatial data?

Sequential Gaussian simulation (SGSIM) generates multiple spatial realizations to quantify uncertainty in geological datasets, complementing kriging by providing probability distributions rather than single interpolated estimates for reserves assessment.

Can I use geostatspy for 3D kriging and reservoir modeling workflows?

The framework supports 2D simple and ordinary kriging on grids with 3D extensions, enabling reservoir modeling workflows that integrate numpy arrays and pandas dataframes for porosity field characterization and spatial estimation.

How do I model directional variograms for anisotropic spatial datasets?

Directional variogram computation and variogram modeling are supported alongside isotropic analysis, allowing you to fit models against field data and characterize spatial continuity across multiple azimuth directions in geological datasets.

Does this geostatistics workflow require normal score transforms before kriging?

Normal score transforms and back-transform utilities are included for robust statistics and data normalization, ensuring your spatial data meets distributional assumptions before variogram modeling, kriging, and SGSIM workflows.

What's the best way to quantify uncertainty in porosity fields using geostatistics?

Combine kriging interpolation with sequential Gaussian simulation and declustering to generate multiple realizations of porosity fields, enabling uncertainty quantification and probabilistic reserves assessment from spatial geological datasets.