obspy.io.quakeml.core._is_quakeml

_is_quakeml(filename)[source]

Checks whether a file is QuakeML format.

Parameters:filename (str) Name of the QuakeML file to be checked.
Return type:bool
Returns:True if QuakeML file.

Example

>>> _is_quakeml('/path/to/quakeml.xml')  
True