This code allow the user to download the waveform of a seismic event provided the seismic network, station and time window.
This script (signal.sh) is used to process seismic waveforms and extract the envelope function for a given station and event.
Open signal.sh in a text editor and manually update the following information based on your target station and event:
- Station details (network, station code, location, component)
- Time window (start time, duration)
- Filter settings (band-pass limits) -> this one in the script hilbert.m
Depending on your use case, the script contains multiple processing options (e.g., using different data sources). You should uncomment the relevant blocks and comment out the others to tailor the execution to your needs.
Once customized, simply run: sh signal.sh
The script will generate:
- A filtered waveform file
- Intermediate processed files (optional, depending on settings)
- bash (Unix shell)
- SAC or ObsPy (depending on the processing backend)
- wget or curl
- GNU octave
- mseed2sac
For questions or issues, contact: giuseppe.petrillo@ntu.edu.sg