How to export values from Spectrum Rotate via Command Line

Discuss here all technical and scientific questions about the processing of ambient vibrations for site characterization (H/V, Array methods,...)
Post Reply
johnschuh
Posts: 1
Joined: Thu Dec 11, 2014 7:36 pm

How to export values from Spectrum Rotate via Command Line

Post by johnschuh »

Hi I want to be able to loop through several groups using the command line, perform a spectral rotate, and then write the results to a file. I see how to go about this using the gui by right clicking on the graph and clicking "Export Values". I don't see an option for this in the help menu. I'm currently trying something like:

geopsy -db databasefile.gpy -- -tool geopsyhv -slot 3 -group "group 001group" -param parameters.log -autowin -save .

This works for slot 1 (H/V) but doesn't work here to output the text file. Is there a work around?
akoehler
Posts: 9
Joined: Tue Feb 01, 2011 3:55 pm

Re: How to export values from Spectrum Rotate via Command Line

Post by akoehler »

Hi,

I have the same problem. Is geopsyhv with -slot 3 supposed to write out anything?

geopsy -tool geopsyhv -slot 3 test.mseed -- -param test.log -save test -autowin

When I use the gui version and specify the output directory, no results are written either.

I'm using version geopsypack-2.10.1.

Thanks for your help!

Andreas
admin
Site Admin
Posts: 822
Joined: Mon Aug 13, 2007 11:48 am
Location: ISTerre
Contact:

Re: How to export values from Spectrum Rotate via Command Line

Post by admin »

Hi,

There is certainly a quick and dirty hack: add the export option by editing the C++ code. It would not be too long. The "testing" release is still available but is getting old and not running in some modern platforms. I'm currently doing all new developments on the "devel" branch. However, re-writing all those tools in Gui-less manner introduced a lot of changes everywhere and I'm not sure to be able to release something running before a few months.
Post Reply