Page 1 of 1

Extracting the ellipticity curve through command line

Posted: Mon Sep 15, 2008 12:15 pm
by sbonnefo
Hi Marc,

I want to extract the fundamental ellipticity curve for Rayleigh waves of models having a misfit lower than XX through the command line:

gpdcreport -m XX -e 0

Unfortunately nothing happen!
(Although everything is running well when I extract the Rayleigh dispersion curve using the same misfit).

Thanks for your help,

Extracting the ellipticity curve through command line

Posted: Thu Sep 18, 2008 11:52 am
by mao
Hi Sylvette,

I think you need to pipe the output of your command to
gpell and then the ellipticites are computed for the models
which produced a misfit less than xxx -

I assume that the -e option can only work, if you had done an inversion
with ellipticity target - if not, then the ellipticity is probably not
computed during inversion and won't be stored in the report files -

I found the following text in gpdcreport help message
(quite at the end, where you can find the examples ...):

> gpdcreport -e 0
> Output ellipticity curves for the same set of models (if any stored).

Nevertheless, as said above, you can still get the
ellipticity curves using gpell....

gpdcreport -m xx somename*reports | gpell | figue -c

or better use

gpdcreport -m xx somename*reports | gpell | figue -mc

then you get also the ellipticity curves in color according to the misfit :-)


Posted: Thu Oct 09, 2008 11:54 am
by admin
Hi Matthias and Sylvette,

I can see that Matthias knows pretty well those commands... fine!