ObsPy Logo
1.4.1

Getting Started

  • Tutorial
  • Gallery
  • API Overview

Developer Resources

  • Contributing to ObsPy
  • Coding Style Guide
  • Contributor Covenant Code of Conduct
  • Changelog

Indices and Tables

  • Table of Contents
  • Citations
  • Contributors
ObsPy
  • obspy.io.arclink.inventory.validate_arclink_xml
  • View page source

obspy.io.arclink.inventory.validate_arclink_xml

validate_arclink_xml(path_or_object)[source]

Checks if the given path is a valid arclink_xml file.

Returns a tuple. The first item is a boolean describing if the validation was successful or not. The second item is a list of all found validation errors, if existent.

Parameters:

path_or_object – File name or file like object. Can also be an etree element.


© Copyright 2012-2024, The ObsPy Development Team (devs@obspy.org). Last updated on 2024-10-15T15:19:16.

Built with Sphinx 7.4.7 using a theme provided by Read the Docs.