Writes a retrieved waveform directly into a file.
Parameters: |
|
---|---|
Returns: | None |
Example
>>> from obspy.earthworm import Client
>>> from obspy import UTCDateTime
>>> client = Client("pele.ess.washington.edu", 16017)
>>> t = UTCDateTime() - 2000 # now - 2000 seconds
>>> client.saveWaveform('UW.TUCA..BHZ.mseed', 'UW', 'TUCA', '', 'BHZ',
... t, t + 10, format='MSEED')