ROBelgium / MSNoise

A Python Package for Monitoring Seismic Velocity Changes using Ambient Seismic Noise | http://www.msnoise.org
European Union Public License 1.1
176 stars 83 forks source link

plot dvv - missing comp argument #190

Open Corentin3 opened 4 years ago

Corentin3 commented 4 years ago

In dvv.py: L.135: you may replace the existing line with:

pair1.to_csv('%s-m%i-f%i-c%s.csv'%(pair, mov_stack, filterid,comp))

ThomasLecocq commented 4 years ago

the real question is: should we continue saving the dvv there... it was more a hack than needed... actually the compute_dvv step should be finished, and hte plot dvv would only re-plot the data without computing.

Aaaanyway, in the meantime, it's a good idea to split with -c%s comp

ThomasLecocq commented 4 years ago

note: this is not valid if you load more than one comp

msnoise plot dvv -c ZZ,ZE,ZN -p BE_MEM_BE_UCC

will export a csv file for BE_MEM_BE_UCC containing all three component pairs, and named ZN...