obspy.io.xseed.utils

Various additional utilities for ObsPy xseed.

copyright:

The ObsPy Development Team (devs@obspy.org)

license:

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

Public Functions

blockette_34_lookup

Gets certain values from blockette 34.

compare_seed

Compares two SEED files.

datetime_2_string

Generates a valid SEED time string from a UTCDateTime object.

format_resp

Formats a number according to the RESP format.

get_xpath

Returns lookup key of XPath expression on abbreviation dictionary.

lookup_code

Loops over a list of blockettes until it finds the blockette with the right number and lookup code.

set_xpath

Returns an X-Path String to a blockette with the correct identifier.

to_string

Creates a pretty string from any given XML tag.

to_tag

Creates a XML tag from a given string.

unique_list

Exceptions

SEEDAbbreviationNotFoundWarning

SEEDParserException