obspy.station.stationxml.validate_StationXML

validate_StationXML(path_or_object)[source]

Checks if the given path is a valid StationXML 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 existant.

Path_or_object :
 Filename of file like object. Can also be an etree element.

This Page