Seismology Data GuideSAFE
🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.
Overview
🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.
e1ba289846fdOBSERVED · 2026-10-08Host compatibility
What the documentation claims. We have not run a compatibility test.
| Host | Status | Notes |
|---|---|---|
| openclaw | mentioned |
What it tells the agent
The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.
---
name: seismology-data-guide
description: "Earthquake data analysis, seismogram processing, and seismic research"
metadata:
openclaw:
emoji: "🌏"
category: "domains"
subcategory: "geoscience"
keywords: ["seismology", "earthquake", "seismogram", "obspy", "waveform", "geophysics"]
source: "wentor"
---
# Seismology Data Guide
A skill for processing seismic data, analyzing earthquake catalogs, and working with seismograms using standard tools in observational seismology. Covers data retrieval from global networks, waveform processing with ObsPy, magnitude estimation, focal mechanism analysis, and seismic hazard assessment.
## Seismic Data Sources
### Global Data Centers
| Data Center | Abbreviation | Coverage | Access |
|-------------|-------------|----------|--------|
| IRIS Data Management Center | IRIS DMC | Global broadband | FDSN Web Services |
| European Integrated Data Archive | EIDA | European networks | FDSN Web Services |
| USGS Earthquake Hazards Program | USGS EHP | Global catalog | API + ComCat |
| International Seismological Centre | ISC | Global bulletin | ISC web services |
| NIED F-net | F-net | Japan broadband | NIED website |
### Retrieving Earthquake Catalogs
```python
from obspy.clients.fdsn import Client
from obspy import UTCDateTime
client = Client("IRIS")
# Fetch earthquake catalog for a region and time window
catalog = client.get_events(
starttime=UTCDateTime("2024-01-01"),
endtime=UTCDateTime("2024-12-31"),
minmagnitude=5.0,
maxmagnitude=9.0,
minlatitude=30.0, maxlatitude=45.0,
minlongitude=125.0, maxlongitude=150.0,
orderby="magnitude",
)
print(f"Found {len(catalog)} events")
for event in catalog[:5]:
origin = event.preferred_origin()
mag = event.preferred_magnitude()
print(f" M{mag.mag:.1f} {origin.time} "
f"({origin.latitude:.2f}, {origin.longitude:.2f}) "
f"depth={origin.depth/1000:.1f} km")
```
## Waveform Processing
### Retrieving and Preprocessing Seismograms
```python
from obspy import UTCDateTime
from obspy.clients.fdsn import Client
client = Client("IRIS")
# Download waveform data for a specific event
t = UTCDateTime("2024-01-01T07:10:00")
st = client.get_waveforms(
network="IU", station="ANMO", location="00", channel="BHZ",
starttime=t, endtime=t + 600, # 10 minutes of data
)
# Standard preprocessing pipeline
st.detrend("demean") # Remove mean
st.detrend("linear") # Remove linear trend
st.taper(max_percentage=0.05, type="cosine") # Taper edges
st.filter("bandpass", freqmin=0.01, freqmax=5.0, corners=4)
# Remove instrument response to get ground velocity (m/s)
inv = client.get_stations(
network="IU", station="ANMO", location="00", channel="BHZ",
starttime=t, endtime=t + 600, level="response",
)
st.remove_response(inventory=inv, output="VEL", pre_filt=[0.005, 0.01, 8, 10])
```
### Spectral Analysis
```python
import numpy as np
from scipy.signal import welch
def compute_psd(trace, nperseg=256):
"""
Compute power spectral density of a seismic trace.
Returns frequencies (Hz) and PSD (dB relative to 1 (m/s)^2/Hz).
"""
freqs, psd = welch(
trace.data,
fs=trace.stats.sampling_rate,
nperseg=nperseg,
noverlap=nperseg // 2,
)
psd_db = 10 * np.log10(psd + 1e-30)
return freqs, psd_db
```
## Phase Picking and Location
### Automatic Phase Arrival Detection
```python
from obspy.signal.trigger import recursive_sta_lta, trigger_onset
def pick_arrivals(trace, sta_seconds=1.0, lta_seconds=30.0,
threshold_on=3.5, threshold_off=1.0):
"""
STA/LTA trigger for P-wave arrival detection.
sta_seconds: short-term average window
lta_seconds: long-term average window
Returns list of (on_sample, off_sample) trigger windows.
"""
df = trace.stats.sampling_rate
cft = recursive_sta_lta(
trace.data,
int(sta_seconds * df),
int(lta_seconds * df),
)
triggers = trigger_onset(cft, threshold_on, threshold_off)
return triggers, cft
```
### Earthquake Location
Determining earthquake hypocenter from arrival times:
1. **Grid search**: Evaluate travel-time residuals on a 3D grid
2. **Geiger's method**: Iterative linearized least-squares inversion
3. **NonLinLoc**: Probabilistic non-linear location using Oct-tree sampling
4. **HypoDD**: Double-difference relocation for high-precision relative locations
```python
# Simplified grid search earthquake location
def grid_search_locate(stations, arrival_times, velocity_model,
lat_range, lon_range, depth_range, grid_spacing):
"""
Brute-force grid search for earthquake location.
Minimizes sum of squared travel-time residuals.
"""
best_misfit = float("inf")
best_location = None
for lat in np.arange(*lat_range, grid_spacing):
for lon in np.arange(*lon_range, grid_spacing):
for depth in np.arange(*depth_range, grid_spacing):
residuals = []
for sta, obs_time in zip(stations, arrival_times):
dist = geodetic_distance(lat, lon, sta.lat, sta.lon)
pred_time = velocity_model.get_travel_time(dist, depth)
residuals.append((obs_time - pred_time) ** 2)
misfit = sum(residuals)
if misfit < best_misfit:
best_misfit = misfit
best_location = (lat, lon, depth)
return best_location, best_misfit
```
## Magnitude Estimation
### Common Magnitude Scales
| Scale | Symbol | Measurement | Range |
|-------|--------|------------|-------|
| Local (Richter) | ML | Max amplitude on Wood-Anderson | < 6.5 |
| Body wave | mb | P-wave amplitude at 1 Hz | 4-7 |
| Surface wave | Ms | Rayleigh wave at 20s period | 5-8.5 |
| Moment | Mw | Seismic moment from waveform | All sizes |
Moment magnitude is the standard for modern seismology:
```python
def moment_magnitude(seismiTrust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | NA |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (0)
No findings outside the package's declared scope.
Gates applied: no_behavioural_pass.
e1ba289846fdfull audit observations/trust-audit/skill/brycewang-stanford__seismology-data-guide.json · Report an issue / request a re-scanAudit history
Every audit this skill has had.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | e1ba289846fd | SAFE | B | 89 | first audit |
Questions
What does the Seismology Data Guide skill do?
🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.
Is Seismology Data Guide safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Seismology Data Guide access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
Which assistants does Seismology Data Guide work with?
Its documentation mentions openclaw. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (e1ba289846fd), read on 2026-10-08. The repository is watched, and a new audit runs when it changes — this is the first audit.