obspy.io.stationtxt.core

Parsing of the text files from the FDSN station web services.

copyright:

Lion Krischer (krischer@geophysik.uni-muenchen.de), 2015

license:

GNU Lesser General Public License, Version 3 (https://www.gnu.org/copyleft/lesser.html)

Public Functions

float_or_none

inventory_to_station_text

Function to convert inventory or network to station text representation.

is_fdsn_station_text_file

Simple function checking if the passed object contains a valid FDSN station text file.

read_fdsn_station_text_file

Function reading a FDSN station text file to an inventory object.

unicode_csv_reader

utcdatetime_or_none

utf_8_encoder

Private Functions

Warning

Private functions are mainly for internal/developer use and their API might change without notice.

_format_time

_write_stationtxt

Writes an inventory object to a file or file-like object in stationtxt format.