obspy.io.seiscomp.inventory¶
ObsPy implementation for parsing the sc3ml format to an Inventory object.
This is a modified version of obspy.io.stationxml.
author: | Mathijs Koymans (koymans@knmi.nl), 11.2015 - [Jollyfant@GitHub] |
---|---|
copyright: | The ObsPy Development Team (devs@obspy.org) |
license: | GNU Lesser General Public License, Version 3 (http://www.gnu.org/copyleft/lesser.html) |
Private Functions
Warning
Private functions are mainly for internal/developer use and their API might change without notice.
_count_complex |
Returns number of complex numbers in string (formatted according to SeisComp3 XML schema type “ComplexArray”). |
_get_restricted_status |
get the restricted_status (boolean) true is evaluated to ‘open’ and false to ‘closed’ to match stationXML formatting |
_parse_list_of_complex_string |
Returns a list of complex numbers, parsed from a string (formatted according to SeisComp3 XML schema type “ComplexArray”). |
_read_channel |
reads channel element from sc3ml format |
_read_datalogger |
Reads equipment information from datalogger Some information is not present > to None |
_read_float_var |
function to read floattype to cls object (based on _read_floattype) normally ObsPy would read this directly from a tag, but with different tag names this is no longer possible; instead we just pass the value and not the tag name. |
_read_instrument_sensitivity |
reads the instrument sensitivity (gain) from the sensor and channel element |
_read_network |
Reads the network structure |
_read_response |
reads response from sc3ml format |
_read_response_stage |
|
_read_sc3ml |
Function for reading a stationXML file. |
_read_sensor |
Reads equipment information from element Some information is not present > to None |
_read_site |
Reads site information from the station element tags and region from network element |
_read_station |
Reads the station structure |
_tag2obj |
Reads text from tag in element |
_tag2pole_or_zero |
Parses sc3ml poles and zeros Uncertainties on poles removed, not present in sc3ml.xsd? Always put to None so no internal conflict The sanitization removes the first/last parenthesis and split by comma, real part is 1st, imaginary 2nd |