obspy-data-api

Parse SAC, MiniSEED, and SEED waveform data into ObsPy Stream and Trace objects.

4|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/GeneralReasoning/env-skillsbench --skill obspy-data-api-generalreasoning
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: obspy-data-api
Source: https://github.com/GeneralReasoning/env-skillsbench/tree/main/seismic-phase-picking/environment/skills/obspy-data-api
Command: npx skills add https://github.com/GeneralReasoning/env-skillsbench --skill obspy-data-api-generalreasoning

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Processing seismological waveform data into standardized ObsPy data structures for efficient analysis and modeling.

Core Features & Use Cases

  • Import and parse waveform formats (SAC, MiniSEED, SEED) into ObsPy Stream and Trace objects.
  • Access and manipulate trace metadata (starttime, sampling_rate, stats) for custom analyses.
  • Enable data preparation for SeisBench modeling or seismology workflows.

Quick Start

Read a waveform file into an ObsPy Stream using read() to begin processing.

Frequently Asked Questions about obspy-data-api

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

FAQPage Schema
How do I parse MiniSEED and SAC waveform files into ObsPy Stream objects?

You can parse MiniSEED and SAC waveform files into ObsPy Stream objects by using the read() function, which converts seismological waveform data into standardized Trace structures for analysis.

What is the best way to access trace metadata like starttime and sampling_rate in ObsPy?

Accessing trace metadata in ObsPy is done through the trace.stats attribute, which exposes key details like starttime and sampling_rate for custom seismology data analyses.

Can I use ObsPy waveform data for SeisBench modeling tasks?

Yes, ObsPy waveform data is fully compatible with SeisBench modeling tasks, as the Skill parses seismological data into Stream and Trace objects specifically for machine learning preparation.

Does the ObsPy data API support converting SEED format waveforms for seismology research?

The ObsPy data API supports converting SEED format waveforms by reading them into ObsPy Stream data models, enabling efficient manipulation and analysis for seismology research workflows.

How do I manipulate seismological waveform data structures for custom analyses?

You manipulate seismological waveform data structures by parsing files into ObsPy Stream and Trace objects, allowing you to access stats and modify starttime for custom seismology workflows.