Page 1 of 1

waveform operation by command line

Posted: Mon Apr 11, 2022 8:37 am
by gdg
Hi Marc
My question is on the possibilities to perform basic waveform operations (i.e. taper cut merge etc..) not using the GUI but using a command line.
Is there the possibility to do it?

I guess I should use the commands appearing in Waveform console such as

taper("Rectangular", "[signal; signal]");
cut("[signal; delta 1m]");


but importing in some way in a command line (into a linux shell)

Any hints is very welcome

My best
Giuseppe

Re: waveform operation by command line

Posted: Tue Apr 12, 2022 9:50 am
by admin
Hi Giuseppe,

According to "geopsy -h", we have:

Code: Select all

Geopsy options: [level=0]
  -waveform <FILE.qs>       Executes waveform script in FILE.qs to process selected waveforms (group or files).
In principle, you can save all the commands you have in the waveform console into a text file and process it with "-waveform" option. Specify the signal files to process in the same argument list.

Cheers

Marc