Hi all,
Am I doing something wrong here? I can only get ‚Z‘ component synthetics from the syngine client.
Christoph
In [1]: from obspy.clients.syngine import Client
…: import sys
…: client = Client()
…: par = {‘model’:‘ak135f_1s’,
…: ‘sourcelatitude’:90.,
…: ‘sourcelongitude’:0.,
…: ‘bulk’:[[40.0, 0.0]],
…: ‘sourcedepthinmeters’:10000,
…: ‘sourceforce’:[1,1,1],
…: ‘units’:‘velocity’,
…: ‘format’:‘miniSEED’}
…:
…: for component in ‘ZNERT’:
…: print(component)
…: try:
…: st = client.get_waveforms_bulk(**par, components=component)
…: print(st)
…: except:
…: type, value, tb = sys.exc_info()
…: print(type, value)
…:
Z
1 Trace(s) in Stream:
XX.S0001.SE.BXZ | 1900-01-01T00:00:00.000000Z - 1900-01-01T00:30:45.100000Z | 20.0 Hz, 36903 samples
N
<class ‘obspy.clients.base.ClientHTTPException’> HTTP code 204 when downloading 'http://service.iris.edu/irisws/syngine/1/query’:
E
<class ‘obspy.clients.base.ClientHTTPException’> HTTP code 204 when downloading 'http://service.iris.edu/irisws/syngine/1/query’:
R
<class ‘obspy.clients.base.ClientHTTPException’> HTTP code 204 when downloading 'http://service.iris.edu/irisws/syngine/1/query’:
T
<class ‘obspy.clients.base.ClientHTTPException’> HTTP code 204 when downloading 'http://service.iris.edu/irisws/syngine/1/query’:
In [2]:
In [2]:
In [2]: par = {‘model’:‘ak135f_1s’,
…: ‘sourcelatitude’:90.,
…: ‘sourcelongitude’:0.,
…: ‘receiverlatitude’:40.,
…: ‘receiverlongitude’:0.,
…: ‘sourcedepthinmeters’:10000,
…: ‘sourceforce’:[1,1,1],
…: ‘units’:‘velocity’,
…: ‘format’:‘miniSEED’}
…: for component in ‘ZNERT’:
…: print(component)
…: try:
…: st = client.get_waveforms(**par, components=component)
…: print(st)
…: except:
…: type, value, tb = sys.exc_info()
…: print(type, value)
…:
Z
1 Trace(s) in Stream:
XX.S0001.SE.BXZ | 1900-01-01T00:00:00.000000Z - 1900-01-01T00:30:45.100000Z | 20.0 Hz, 36903 samples
N
<class ‘obspy.clients.base.ClientHTTPException’> HTTP code 204 when downloading 'http://service.iris.edu/irisws/syngine/1/query?model=ak135f_1s&components=N&units=velocity&format=miniSEED&receiverlatitude=40.0&receiverlongitude=0.0&sourcelatitude=90.0&sourcelongitude=0.0&sourcedepthinmeters=10000.0&sourceforce=1%2C1%2C1’:
E
<class ‘obspy.clients.base.ClientHTTPException’> HTTP code 204 when downloading 'http://service.iris.edu/irisws/syngine/1/query?model=ak135f_1s&components=E&units=velocity&format=miniSEED&receiverlatitude=40.0&receiverlongitude=0.0&sourcelatitude=90.0&sourcelongitude=0.0&sourcedepthinmeters=10000.0&sourceforce=1%2C1%2C1’:
R
<class ‘obspy.clients.base.ClientHTTPException’> HTTP code 204 when downloading 'http://service.iris.edu/irisws/syngine/1/query?model=ak135f_1s&components=R&units=velocity&format=miniSEED&receiverlatitude=40.0&receiverlongitude=0.0&sourcelatitude=90.0&sourcelongitude=0.0&sourcedepthinmeters=10000.0&sourceforce=1%2C1%2C1’:
T
<class ‘obspy.clients.base.ClientHTTPException’> HTTP code 204 when downloading 'http://service.iris.edu/irisws/syngine/1/query?model=ak135f_1s&components=T&units=velocity&format=miniSEED&receiverlatitude=40.0&receiverlongitude=0.0&sourcelatitude=90.0&sourcelongitude=0.0&sourcedepthinmeters=10000.0&sourceforce=1%2C1%2C1’:
In [3]: