Gprpy logo

Gprpy

Community
SteadfastAsArt
gprpy

Read and process ground-penetrating radar profiles using GPRPy. Use for sample-based dewow/background removal, auditable gain, time/depth scenarios, and radargram export with explicit acquisition units. SEG-Y input uses a separate segyio adapter; native GPRPy files are serialized sessions.

Overview

PublisherSteadfastAsArt
Repositorygeoscience-skills
Skill namegprpy
Stars
75
Forks
9
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by SteadfastAsArt on GitHub. Read the source before you install it.

Installation

Install the Gprpy AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/SteadfastAsArt/geoscience-skills/tree/main/gprpy
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SteadfastAsArt/geoscience-skills.git /tmp/geoscience-skills
mkdir -p .claude/skills
cp -r /tmp/geoscience-skills/gprpy .claude/skills/gprpy
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Gprpy in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Gprpy on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Gprpy is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Auditable GPR processing

GPRPy operates on arrays shaped (samples, traces). Inspect acquisition metadata before assigning physical axes: a trace index is not distance, and a radar vendor's SEG-Y interval field may need a documented time scale. Preserve unknown units explicitly. Do not obtain a site velocity from a generic material lookup and present it as measured.

Read and select operations

GPRPy 1.0.14 natively reads paired MALA .rad/.rd3, Sensors & Software .DT1/.HD, GSSI .DZT, and its documented BSQ inputs. Native .gpr files are Python pickle sessions, not a MALA exchange format; read only trusted sessions. GPRPy does not natively read or export SEG-Y.

python
import gprpy.gprpy as gp

profile = gp.gprpyProfile()
profile.importdata('profile.rad')  # requires matching profile.rd3
raw = profile.data.copy()
profile.dewow(window=64)  # argument is sample count, not ns

Select operations to answer the user's question. dewow(window) and agcGain(window) take sample counts; remMeanTrace(ntraces) takes traces. Background subtraction may remove real continuous reflectors. Time-power gain changes amplitude scaling and is not a calibrated attenuation correction. Keep the raw arrays and record every applied operation. Window edge behaviour and the effective interior support need particular care; see the processing reference.

setVelocity(velocity) uses m/ns and computes the zero-offset constant-velocity scenario depth = twtt * velocity / 2; it does not estimate velocity or migrate reflectors. Resolve time zero and antenna-offset assumptions first. Retain native two-way time alongside any assumed depth, and state which independent measurements support velocity and its uncertainty.

Reproducible helper

The processing helper supports tested .rad/.rd3 and .sgy/.segy routes. The latter explicitly uses segyio before real GPRPy processing. It writes profile.npz and processing.json and reads them back; NPZ loading uses allow_pickle=False. Outputs include raw amplitudes, intermediate arrays, final amplitudes, original sample/trace indices, available physical axes, source checksums, parameters and selected encoded header fields. A new output directory prevents silent replacement of a previous result.

bash
python scripts/process_gpr.py profile.rad --metadata sampling.json \
  --output processed --dewow-samples 64

Resolve paths relative to the installed skill directory. sampling.json contains source_note, sample_interval_ns, time_origin_ns, trace_spacing_m, profile_origin_m, horizontal_crs and vertical_reference. Use JSON null for unknown time or spacing; explain provenance in source_note. Uniform physical sampling requires a finite origin and a positive interval. Irregular positions require a separately validated geometry route; do not replace them with a fabricated regular line.

Only supply --gain-power when nonnegative physical time is known. Only supply --velocity-m-ns for an explicitly labelled zero-offset constant-velocity depth scenario. Both are rejected when time calibration is unresolved. No processing step is enabled by default. The helper fails on missing/nonfinite amplitudes, unsupported formats, non-live SEG-Y trace flags, variable trace sampling or a failed requested export instead of reporting partial work as success.

Other APIs and verification boundary

For plotting, use showProfile() or printProfile(...); neither accepts the previously documented ax= export pattern. GPRPy 1.0.14 has no bandpassFilter, exportASCII, exportSEGY or gprpyCMP API. Its CMP/WARR class is gprpyCW; consult the installed source before using its stacked amplitude methods. Topographic correction uses topoCorrect(topofile, delimiter=',') after a separately chosen velocity, not a velocity= keyword. These advanced branches require their own acceptance checks.

The checked path uses fixed GPRPy source version 1.0.14, native generated MALA bytes, and one licensed observed SEG-Y line. The field line's time scaling and coordinate units remain unresolved, so only sample-index processing is claimed. Synthetic timing and impulse depth checks are separate from field accuracy. See source installation and limits for the tested commit and dependency distinction.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Gprpy AI skill do?

Read and process ground-penetrating radar profiles using GPRPy. Use for sample-based dewow/background removal, auditable gain, time/depth scenarios, and radargram export with explicit acquisition units. SEG-Y input uses a separate segyio adapter; native GPRPy files are serialized sessions.

Why use Gprpy on TypingMind?

Because you install it once and use it with any model. Gprpy is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Gprpy in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/SteadfastAsArt/geoscience-skills/tree/main/gprpy. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Gprpy?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Gprpy?

As many as you like. As long as a model supports skills, you can use Gprpy with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Gprpy AI skill free?

Yes. It is published on GitHub by SteadfastAsArt under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇