pysolate.block.Block.write
- Block.write(tag, output=None, filename=None, format='npz', network=None, station=None, location=None, channel=None, component=None)[source]
Write the processed data to file
Function to save the waveforms or wavelet transforms to a single uncompressed NumPy .npz format. Additional formats for the waveforms are supported through ObsPy, such as binary SAC. See
obspy.core.stream.Stream.writefor the supported waveform data formats.- Parameters
tag (str) – input or processed dataset to save.
output (str) – type of output to save,
"waveforms"for time series data, or"cwt"for the continuous wavelet transform.filename (str) – name of the file to write, optional.
format (str) – output file format, default is
"npz". For waveform data seewritefor additional supported formats.network (str) – network code.
station (str) – station code.
location (str) – location code.
channel (str) – channel code.
component (str) – component code.