<div dir="ltr">Hello again.<div>Another day, another problem.</div><div><br></div><div>I am trying to process few years of data for a set of stations. I already removed the instrumental response and downsampled the data. The error I get is this one:</div><div><br></div><div><p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures">(obspy) pb-vicic:proc_2 bvicic$ yam correlate 1</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures"><span class="inbox-inbox-Apple-converted-space"> </span>78%|██████████████████████████████████████████████████████████████████████████████████████████▊ <span class="inbox-inbox-Apple-converted-space">                        </span>| 2572/3287 [5:37:02<1:33:41,<span class="inbox-inbox-Apple-converted-space">  </span>7.86s/it]multiprocessing.pool.RemoteTraceback:<span class="inbox-inbox-Apple-converted-space"> </span></span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures">"""</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures">Traceback (most recent call last):</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures"><span class="inbox-inbox-Apple-converted-space">  </span>File "/Users/bvicic/anaconda3/envs/obspy/lib/python3.6/multiprocessing/pool.py", line 119, in worker</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures"><span class="inbox-inbox-Apple-converted-space">    </span>result = (True, func(*args, **kwds))</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures"><span class="inbox-inbox-Apple-converted-space">  </span>File "/Users/bvicic/anaconda3/envs/obspy/lib/python3.6/site-packages/yam/correlate.py", line 569, in correlate</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures"><span class="inbox-inbox-Apple-converted-space">    </span>stream2[0].id, datetime=stream2[0].stats.endtime)</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures"><span class="inbox-inbox-Apple-converted-space">  </span>File "/Users/bvicic/anaconda3/envs/obspy/lib/python3.6/site-packages/obspy/core/inventory/inventory.py", line 430, in get_coordinates</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures"><span class="inbox-inbox-Apple-converted-space">    </span>metadata = self.get_channel_metadata(seed_id, datetime)</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures"><span class="inbox-inbox-Apple-converted-space">  </span>File "/Users/bvicic/anaconda3/envs/obspy/lib/python3.6/site-packages/obspy/core/inventory/inventory.py", line 406, in get_channel_metadata</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures"><span class="inbox-inbox-Apple-converted-space">    </span>raise Exception(msg)</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures">Exception: No matching channel metadata found.</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures">"""</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961);min-height:14px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures">The above exception was the direct cause of the following exception:</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961);min-height:14px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures">Traceback (most recent call last):</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures"><span class="inbox-inbox-Apple-converted-space">  </span>File "/Users/bvicic/anaconda3/envs/obspy/bin/yam", line 11, in <module></span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures"><span class="inbox-inbox-Apple-converted-space">    </span>sys.exit(run_cmdline())</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures"><span class="inbox-inbox-Apple-converted-space">  </span>File "/Users/bvicic/anaconda3/envs/obspy/lib/python3.6/site-packages/yam/main.py", line 388, in run_cmdline</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures"><span class="inbox-inbox-Apple-converted-space">    </span>run(**args)</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures"><span class="inbox-inbox-Apple-converted-space">  </span>File "/Users/bvicic/anaconda3/envs/obspy/lib/python3.6/site-packages/yam/main.py", line 147, in run</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures"><span class="inbox-inbox-Apple-converted-space">    </span>run2(command, **args)</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures"><span class="inbox-inbox-Apple-converted-space">  </span>File "/Users/bvicic/anaconda3/envs/obspy/lib/python3.6/site-packages/yam/main.py", line 211, in run2</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures"><span class="inbox-inbox-Apple-converted-space">    </span>yam.commands.start_correlate(io, **args)</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures"><span class="inbox-inbox-Apple-converted-space">  </span>File "/Users/bvicic/anaconda3/envs/obspy/lib/python3.6/site-packages/yam/commands.py", line 101, in start_correlate</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures"><span class="inbox-inbox-Apple-converted-space">    </span>total=len(tasks)):</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures"><span class="inbox-inbox-Apple-converted-space">  </span>File "/Users/bvicic/anaconda3/envs/obspy/lib/python3.6/site-packages/tqdm/_tqdm.py", line 930, in __iter__</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures"><span class="inbox-inbox-Apple-converted-space">    </span>for obj in iterable:</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures"><span class="inbox-inbox-Apple-converted-space">  </span>File "/Users/bvicic/anaconda3/envs/obspy/lib/python3.6/multiprocessing/pool.py", line 735, in next</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures"><span class="inbox-inbox-Apple-converted-space">    </span>raise value</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.901961)"><span style="font-variant-ligatures:no-common-ligatures">Exception: No matching channel metadata found.</span></p></div><div><br></div><div>In the first run I did, the error happened somewhere at the beginning (iteration 200/3000+) so I checked if maybe my miniseeds have wrong sta/chan inside. But they are all what they should be. I even forced the tr.stats.station/chan to be exactly what I wanted. But the error happened again. So I removed the first year of data, but now the error happened again somewhere later in the dataset. Any idea what could be wrong or how to go past this? It would be useful if I would know in which miniseeds to look for the problem.</div><div><br></div><div>Cheers</div><div>Blaz</div></div>