computational-seismology/pytomo3d

list of missing component

chukren opened this issue · 6 comments

Issue 1:
Error during the processing of station 'TA.K56A' on rank 8:
Traceback (At max 3 levels - most recent call last):
File "/autofs/nccs-svm1_home1/youyir/src/pypaw/src/pypaw/procbase.py", line 200, in smart_run
self._core(path, param)
File "/autofs/nccs-svm1_home1/youyir/src/pypaw/src/pypaw/adjoint.py", line 236, in _core
output_filename)
File "/autofs/nccs-svm1_home1/youyir/src/pyasdf/pyasdf/asdf_data_set.py", line 1423, in process_two_files
getattr(other_ds.waveforms, station))
File "/autofs/nccs-svm1_home1/youyir/src/pypaw/src/pypaw/adjoint.py", line 109, in adjoint_wrapper
**postproc_param)
File "/autofs/nccs-svm1_home1/youyir/src/pytomo3d/pytomo3d/adjoint/process_adjsrc.py", line 361, in process_adjoint
add_missing_components(adj_stream, component_list=["Z", "R", "T"])
File "/autofs/nccs-svm1_home1/youyir/src/pytomo3d/pytomo3d/adjoint/process_adjsrc.py", line 249, in add_missing_components
missinglist.remove(tr.stats.channel[-1])

ValueError: list.remove(x): x not in list

Issue 2:
Error extracting station('TA.G59A') info:list index out of range
Error extracting station('AK.DHY') info:list index out of range

Look into it right now.

Does the program still generate an output or it stops?

It keep running till very end, good to know why it prompts error since adjoint source only has R,T, Z compoents

There is a flag in yaml file that you should set to True if you want to rotate.

sorry I did set "rotate_flag: True", does that means the components are E,N,Z and we are expecting the error showed above?

This should be fixed right now. Let me know if now.