Lightweight seismic phase picking

From XuShuwenn/RedAct · View interactive version

Lightweight seismic phase picking is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Use this to pick P and S arrivals from 3‑component waveform NPZ files when heavy ML installers are unreliable; focuses on robust preprocessing, STA/LTA, polarization cues, and validation.

How to use this skill

Skill file

Lightweight Seismic Phase Picking (P and S) Without Heavy Dependencies

This skill avoids common failure modes in seismic phase picking workflows by using a robust, dependency-light pipeline based on classical signal processing. It emphasizes reliable data inspection, normalization of small-scale signals, channel handling when labels are inconsistent, STA/LTA-based candidate detection, polarization-based phase discrimination, and strict validation before writing results.

When to Use

Activate this skill when:

Core Workflow

  1. Inspect and validate inputs
  1. Channel identification and fallbacks
  1. Preprocessing to stabilize small or variable amplitudes
  1. Noise characterization
  1. Candidate detection with STA/LTA
  1. Pick refinement
  1. Polarization and validation filters
  1. Output formatting

Verification

Common Pitfalls (and Avoidance)

Success Criteria

Optional Script Usage

A helper script is provided to run the complete lightweight pipeline over a directory of NPZ files and write a standards-compliant CSV.

Example:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.