Reading Inventory may be impossible. Figure out how to manage this situation
Traceback (most recent call last):
File "/home/panaysi/Projects/isterre/waveqc/venv/wave_qc-RaIltitd-py3.11/lib/python3.11/site-packages/celery/app/trace.py", line 477, in trace_task
R = retval = fun(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/home/panaysi/Projects/isterre/waveqc/venv/wave_qc-RaIltitd-py3.11/lib/python3.11/site-packages/celery/app/trace.py", line 760, in __protected_call__
return self.run(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/panaysi/Projects/isterre/waveqc/waveqc/tasks.py", line 158, in check_item
inventory = read_inventory(
^^^^^^^^^^^^^^^
File "/home/panaysi/Projects/isterre/waveqc/venv/wave_qc-RaIltitd-py3.11/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/panaysi/Projects/isterre/waveqc/venv/wave_qc-RaIltitd-py3.11/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/panaysi/Projects/isterre/waveqc/venv/wave_qc-RaIltitd-py3.11/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/panaysi/Projects/isterre/waveqc/venv/wave_qc-RaIltitd-py3.11/lib/python3.11/site-packages/obspy/core/util/base.py", line 656, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: 'results/stations/RA.PYTO.xml'
Edited by Simon Panay