Skip to content

Commit e273865

Browse files
committed
deal with missing comps
1 parent eb09bb3 commit e273865

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-get_event_waveforms_network.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
# %% codecell
5656
# LOAD STATIONS
57-
inventory = client.get_stations(network=network, station=stations, channel=comps[0], starttime=t1, endtime=t2)
57+
inventory = client.get_stations(network=network, station=stations, channel=','.join(comps), starttime=t1, endtime=t2)
5858
inventory.plot(projection="local",label=False)
5959
fig = inventory.plot(show=False)
6060
cat_evts.plot(fig=fig)

0 commit comments

Comments
 (0)