sbonaime / seedlink_plotter

Seedlink_plotter A python script to plot real time seismic data from a seedlink server
GNU Lesser General Public License v3.0
36 stars 18 forks source link

Multiple stations in seedlink plotter #6

Closed megies closed 10 years ago

megies commented 10 years ago

Did you look more into plotting multiple stations? I saw, you had two commits on this and it seemed you ran into problems?

You tried to have one seedlink client per station, but this is not necessary actually, if you put two stations in https://github.com/bonaime/seedlink_plotter/blob/master/seedlink_plotter.py#L284 like described in https://github.com/obspy/obspy/blob/9b1ca4c0c856f29b8758c7c60a6b4364ca7408df/obspy/seedlink/client/seedlinkconnection.py#L402-L413 the fetching both streams works just fine.

Or did you try to have multiple instances because you also wanted multiple plot windows, one for each stream? What I had in mind was something different actually: Have all streams plotted in one window with one line per stream and only one single time axis from left to right (instead of stacked time axes from top to bottom).

What do you think? Are you still interested in this anyway?

megies commented 10 years ago

I've added the possibility to have a multichannel plot. For that I changed the command line arguments to have one string to specify the single/multi-channel selector.