Individual skill

evo-seismic-data-preprocessing

Loads seismic waveform data from .npz files and converts them into ObsPy Stream objects ready for SeisBench model inference. Handles channel identification, reordering to Z/N/E convention, float32 conversion, detrending, and resampling to 100 Hz.

tasks-evolved/seismic-phase-picking/environment/skills/evo-seismic-data-preprocessing/SKILL.md

Read pinned source

Source commit 84ca182da055fafb6453dcec4a6defdbbfd987c1

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
Yes
Repository scan complete
No
Skill scan complete
No
Observed behavior
Local scripts
Last checked
Nov 6, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
97
Repository last updated
Sep 10, 2026
License
Apache-2.0

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# evo-seismic-data-preprocessing

## Overview
This skill handles all data I/O from .npz seismic trace files and transforms them into properly formatted ObsPy Stream objects with correct channel ordering (Z, N, E), sampling rate (100 Hz), and data types (float32).

## Key Knowledge
- NPZ files contain: data (12000x3), dt (sampling interval), channels (comma-separated like "DPE,DPN,DPZ")
- SeisBench models expect Z, N, E channel order - must reorder from whatever order is in the file
- Channel codes ending in Z=Vertical, N=North, E=East
- Data must be float32 for PyTorch models
- Detrend (demean) before inference
- Resample to 100 Hz if not already at that rate

## Usage