Error when I try to process my seismological data

Greetings

i hope that you are fine

I am writing to tell you about the error that I present when trying to process my seismological data.
i have my station.xml, my waveform in miniSEED and i have my “events-mars.xml”, so i dont know what is the problem.

ERROR   cannot read events/stations or initalize data
Traceback (most recent call last):
  File "C:\Users\cxecx\anaconda3\envs\qenv1\lib\site-packages\qopen\core.py", line 1861, in run
    events = obspy.read_events(events, format_, **kw)
  File "C:\Users\cxecx\anaconda3\envs\qenv1\lib\site-packages\decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
  File "C:\Users\cxecx\anaconda3\envs\qenv1\lib\site-packages\obspy\core\util\decorator.py", line 291, in _map_example_filename
    return func(*args, **kwargs)
  File "C:\Users\cxecx\anaconda3\envs\qenv1\lib\site-packages\obspy\core\event\catalog.py", line 810, in read_events
    return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
  File "C:\Users\cxecx\anaconda3\envs\qenv1\lib\site-packages\obspy\core\util\base.py", line 657, in _generic_reader
    generic = callback_func(pathnames[0], **kwargs)
  File "C:\Users\cxecx\anaconda3\envs\qenv1\lib\site-packages\decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
  File "C:\Users\cxecx\anaconda3\envs\qenv1\lib\site-packages\obspy\core\util\decorator.py", line 202, in uncompress_file
    result = func(filename, *args, **kwargs)
  File "C:\Users\cxecx\anaconda3\envs\qenv1\lib\site-packages\obspy\core\event\catalog.py", line 818, in _read
    catalog, format = _read_from_plugin('event', filename, format=format,
  File "C:\Users\cxecx\anaconda3\envs\qenv1\lib\site-packages\obspy\core\util\base.py", line 422, in _read_from_plugin
    list_obj = read_format(filename, **kwargs)
  File "C:\Users\cxecx\anaconda3\envs\qenv1\lib\site-packages\obspy\io\quakeml\core.py", line 1833, in _read_quakeml
    return Unpickler().load(filename)
  File "C:\Users\cxecx\anaconda3\envs\qenv1\lib\site-packages\obspy\io\quakeml\core.py", line 149, in load
    return self._deserialize()
  File "C:\Users\cxecx\anaconda3\envs\qenv1\lib\site-packages\obspy\io\quakeml\core.py", line 909, in _deserialize
    root_namespace, quakeml_version = re.match(
AttributeError: 'NoneType' object has no attribute 'groups'

I must tell you that my data comes from the seismometer of the insight mission on mars.

thanks for your help

This error is the result of no matching information in your file that matches the QuakeML format line: r'^{(http://quakeml.org/xmlns/quakeml/([^}]*))}quakeml' - it looks like your file is not QuakeML formatted. It might be worth checking that you are providing a QuakeML file.

2 Likes