Page 1 of 1
Loading spectral ratio results
Posted: Tue Oct 09, 2007 3:30 pm
by sbonnefo
It is no longer possible to view spectral ratio results loading from file .hv in GEOPSY (version 2.2.0, snapshot 20071005).
Same remark for the spectral amplitude results.
Sylvette
Posted: Thu Oct 11, 2007 3:59 pm
by admin
This still possible in a spectrum or H/V ratio result sheet. Reading of .hvand .spec files is now available in menu Tools from these result sheets (load and save).
Keep in mind that the newest .hv and .spec file no longer contains 9 columns but only 3 (Average, minus stddev, plus stddev). Normally, reading of old files with 9 columns is still working (only the first 3 columns are read). If it's not working properly, please inform me.
Posted: Thu Oct 11, 2007 4:09 pm
by sbonnefo
This means that we have to compute H/V ratio first, and then it is possible to load H/V results?
So, no way to just open geopsy and load H/V results?
Posted: Thu Oct 11, 2007 4:46 pm
by admin
I removed the option from menu View during last improvement of H/V and spectrum tools. I can't remember exactly why but there was a reason. Does it matter if you must open an H/V result before?
If you want to plot .hv or .spec stand alone, you can use this script:
Code: Select all
#!/bin/bash
TEMPFILE=tmp345449
cat $1 | awk '{print $1 " " $2}' > $TEMPFILE
cat $1 | awk '{print $1 " " $3}' >> $TEMPFILE
cat $1 | awk '{print $1 " " $4}' >> $TEMPFILE
cat $TEMPFILE | figue -c -m hv.mkup -l hv.legend
rm $TEMPFILE
Sample for hv.mkup and hv.legend files are given as attachments.
To customize these files:
Code: Select all
tar xvfz hv.mkup
vi contents.xml
tar cvfz contents.xml hv.mkup
To plot several H/V curves, you can split the .hv file as in the first lines for each H/V curve, and send them through the pipe:
Code: Select all
cat hvsplit1 hvsplit2 hvsplit3 | figue -c -m hv.mkup -l hv.legend -cpp 3