Page 1 of 1

Extracting rings and observed auto curves

Posted: Thu Feb 05, 2015 6:59 am
by agorbatov
Hi

I am wondering how to extract rings and observed auto-correlation curves (selected parts etc) from target/dinver/report files using command line only. Is there any way to do it?
Thank you

Re: Extracting rings and observed auto curves

Posted: Fri Apr 17, 2015 7:46 pm
by admin
Go and explore the options of gpdcreport:

Code: Select all

gpdcreport -h all
Especially -ring, -aV are useful.

Re: Extracting rings and observed auto curves

Posted: Wed Sep 23, 2015 1:44 am
by agorbatov
Yes I know these options. I was asking how to get number of rings and corresponding distances from target files. Moreover option -aV does not give opportunity to choose between all or only selected part of autocorrelation curve. All this information is stored and can be extracted using spac2disptool but not through command line gpdcreport

Re: Extracting rings and observed auto curves

Posted: Mon Nov 02, 2015 5:08 pm
by admin
gptarget is supposed to do that job, but this tool is still partially written. Most options are dedicated to dispersion curves.

Currently you can explore the contents of the file itself:

Code: Select all

tar xvfpz your_spac.target
iconv -f UTF16 -t UTF8 contents.xml > contents-utf8.xml
cat contents-utf8.xml | grep -E "<(min|max)Radius>" | grep -o "[0-9\.]*" > radii
This is not really straightforward but it may help.