ObsPy implementation for parsing the arclink inventory format to an Inventory object.

This is a modified version of obspy.io.stationxml and obspy.io.sc3ml.


Mathijs Koymans (koymans@knmi.nl), 29.2016 - [Jollyfant@GitHub]


The ObsPy Development Team (devs@obspy.org)


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

Public Functions


Checks if the given path is a valid arclink_xml file.

Private Functions


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


Reads text from attribute in element


get the restricted_status (boolean) true is evaluated to 'open' and false to 'closed' to match stationXML formatting


Simple function checking if the passed object contains a valid arclink XML 1.0 file.


Hoisted namespace function used to find elements


reads channel element from arclinkXML format


Reads equipment information from datalogger Some information is not present > to None


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.


reads the instrument sensitivity (gain) from the sensor and channel element


Function for reading an Arclink inventory file.


Reads the network structure


reads response from arclinkXML format


Private function to read a response stage


Reads equipment information from element Some information is not present > to None


Reads site information from the station element tags and region from network element


Reads the station structure


Reads text from tag in element


Parses arclinkXML paz format Uncertainties on poles removed, not present in fo 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