obspy.station.stationxml.is_StationXML

is_StationXML(path_or_file_object)[source]

Simple function checking if the passed object contains a valid StationXML 1.0 file. Returns True of False.

This is simply done by validating against the StationXML schema.

Parameters:path_of_file_object Filename or file like object.

This Page