Loading spectral ratio results

This forum is dedicated to discuss all problems and suggestions related to the use of geopsy database and its plugins (array processing, H/V,...).
Post Reply
sbonnefo
Posts: 34
Joined: Tue Aug 14, 2007 7:43 am

Loading spectral ratio results

Post 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
admin
Site Admin
Posts: 841
Joined: Mon Aug 13, 2007 11:48 am
Location: ISTerre
Contact:

Post 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.
sbonnefo
Posts: 34
Joined: Tue Aug 14, 2007 7:43 am

Post 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?
admin
Site Admin
Posts: 841
Joined: Mon Aug 13, 2007 11:48 am
Location: ISTerre
Contact:

Post 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
Attachments
hv.legend
Basic legend for ploting H/V results
(514 Bytes) Downloaded 1393 times
hv.mkup
Make-up file for ploting H/V results
(1.09 KiB) Downloaded 1380 times
Post Reply