Writes a retrieved waveform directly into a file.
This method ensures the storage of the unmodified waveform data delivered by the ArcLink server, e.g. preserving the record based quality flags of MiniSEED files which would be neglected reading it with obspy.mseed.
Parameters: |
|
---|---|
Returns: | None |
Example
>>> from obspy.arclink import Client
>>> from obspy import UTCDateTime
>>> client = Client("webdc.eu", 18001, user='test@obspy.org')
>>> t = UTCDateTime(2009, 1, 1, 12, 0)
>>> client.saveWaveform('BW.MANZ.fullseed', 'BW', 'MANZ', '', '*',
... t, t + 20, format='FSEED')