Hi all,
I have made a discovery while querying an fdsn server using the obspy fdsn client:
If I'm using the obspy client like this:
import obspy.core
import obspy.clients.fdsn.client
client = obspy.clients.fdsn.client.Client(base_url='http://zur-sts2.ethz.ch')
starttime = obspy.core.UTCDateTime(2017,8,17)
endtime = starttime + 120
st = client.get_waveforms('CH','ZUR','','HHZ',starttime,endtime)
print st[0].stats['mseed']
The result is:
AttribDict({'record_length': 512, 'encoding': u'STEIM1', 'filesize': 30208,
u'dataquality': u'D', 'number_of_records': 59, 'byteorder': u'>'})
However, if I request the same time period using wget, store the result in a file and then read the file with "details='True'" like this:
st = obspy.core.read('/tmp/data.mseed',details=True)
print st[0].stats['mseed']
The result is as follows:
AttribDict({u'calibration_type': False, 'encoding': u'STEIM1', u'blkt1001':
AttribDict({u'timing_quality': 90}), 'record_length': 512, 'filesize':
280064, u'dataquality': u'D', 'number_of_records': 547, 'byteorder': u'>'})
Apparently, the fdsn client silently drops the blockette 1001.
Kind regards
Roman Racine