obspy.io.stationtxt.core._write_stationtxt
- _write_stationtxt(inventory, path_or_file_object, level='channel', **kwargs)[source]
Writes an inventory object to a file or file-like object in stationtxt format.
- Parameters:
inventory (
Inventory
) – The inventory instance to be written.path_or_file_object – The file or file-like object to be written to.
level – Specify level of detail using one of:
'network'
,'station'
or'channel'
.