Borehole site - DZA 1
Seismic trace of yesterday for the surface station (top) and the borehole station (bottom).
Please access the data using our FDSN-WebService at http://ws.gpi.kit.edu .
Python code example to access the data:
# load ObsPy functions
from obspy.clients.fdsn import Client
from obspy import UTCDateTime
# load KIT Client
client = Client('http://ws.gpi.kit.edu')
# define time (30 min back from now, 15 min of data)
starttime = UTCDateTime()-30*60
endtime = starttime + 15*60
# get inventory (contains meta data)
inv = client.get_stations(network='KB', station='DZA1*', starttime=starttime, endtime=endtime, level='response')
# download waveforms
st = client.get_waveforms('KB','DZA1*','*','HH*', starttime, endtime)
# remove instrument response
st.remove_response(inventory=inv)
# remove trends
st.detrend('demean')
st.detrend('linear')
# filter waveforms
st.filter('bandpass',freqmin=0.5, freqmax=10.0, corners=4)
# apply taper
st.taper(0.125)
# plot
st.plot(equal_scale=False)