max2curve in 3.5.2

This forum is dedicated to discuss all problems and suggestions related to the inversion software
Post Reply
lega
Posts: 7
Joined: Mon Dec 13, 2021 10:00 am

max2curve in 3.5.2

Post by lega »

Hi Marc!

Thank you for the new geopsypackage 3.5.2 as well as the constant effort to provide us geopsy users much needed updates!

Is max2curve still working on this current version? I've also been trying to import .max file in GeopsyLand but to no avail. Is there a way that I can do the same function in gphistogram in picking flanks/peaks/troughs? My purpose is to create 1d velocity profiles from HVSR recordings.

Image

Thanks again!
Attachments
Picture1.png
(13.5 KiB) Not downloaded yet
admin
Site Admin
Posts: 814
Joined: Mon Aug 13, 2007 11:48 am
Location: ISTerre
Contact:

Re: max2curve in 3.5.2

Post by admin »

Hi,

max2curve is supposed to work for HVTFA results only. All the other features are no longer maintained. They were moved to gphistogram and gpviewmax. Analysis of HVTFA should be moved to gphistogram as well, but it is still pending. If you experience malfunctioning in 3.5.2, can you post an example of a .max file? If there is something wrong, 3.5.3 will be out soon and it can be fixed there.
luigiV
Posts: 121
Joined: Fri Jul 17, 2020 9:28 am

Re: max2curve in 3.5.2

Post by luigiV »

Hi Marc,
I too have experienced that the .max files generated by versions 3 and above with HVTFA are not yet readable by gpviewmax (as highlighted by Lega) and those by gphistogram are very unlikely.
To read .max files I still have to use max2curve from Geopsy versions 2...
I attach the .max file generated with 3.5.2 (saved as txt because it is not possible to upload a .max file)
Will Raydec be in the next Geopsy releases?
Regards

Luigi
Attachments
4165.jpg
(73.03 KiB) Not downloaded yet
4165.txt
(4.21 MiB) Downloaded 559 times
admin
Site Admin
Posts: 814
Joined: Mon Aug 13, 2007 11:48 am
Location: ISTerre
Contact:

Re: max2curve in 3.5.2

Post by admin »

Effectively from version 3, the generated .max files were missing a column. In your file, if you count the values in each line you have 5 values instead of 6 specified in the header line.The last column disappeared by mistake in 2011. It helps to filter results for positive or negative delay.

Code: Select all

# seconds from start | cfreq | H/V | AmpZ | AmpH | Delay
77.672 0.211349 1.47961 0.000173291 0.000256403
For next releases, the 6th column is re-introduced and max2curve can work without the 6th column.

Currently, a simple workaround is to add a 6th column:

Code: Select all

cat youfile.max | awk '/#/{print}!/#/{print $0,0.25}' > yourfile-6.max
It can be also achieved with a spreadsheet application.

RayDec will be soon available too...I hope so. Once I'll start to work on that topic, I will certainly unify Raydec and HVTFA in a single interface to definitively get rid of max2curve.
luigiV
Posts: 121
Joined: Fri Jul 17, 2020 9:28 am

Re: max2curve in 3.5.2

Post by luigiV »

Therefore max2curve of versions 2 can work without the sixth column and correctly reproduce the histograms even of files with 5 columns (4165HVTFA).
But does it also mean that the .max files produced by HVTFA can be viewed by gphistogram and gpviewmax?

Thanks
Attachments
4165HVTFA.jpg
(151.44 KiB) Not downloaded yet
admin
Site Admin
Posts: 814
Joined: Mon Aug 13, 2007 11:48 am
Location: ISTerre
Contact:

Re: max2curve in 3.5.2

Post by admin »

With gphistogram, any two column stream can be read. You just have to select the right columns with the command line options. gpviewmax is more "rigid", I guess it is not possible.
Post Reply