Page 1 of 1
gpdcreport .report -aV 0 error
Posted: Thu May 09, 2024 3:34 am
by LijiongChen
Dear Marc,
Thank you for your efforts related to Geopsy.
Recently, I'm facing a problem with using gpdcreport. When I use gpdcreport on the command line to extract the autocorrelation curve with the command:
, the following error occurs: # 2642 .report. Other related commands run normally.
version:3.4.2
best,
Lijiong
Re: gpdcreport .report -aV 0 error
Posted: Mon May 13, 2024 8:20 am
by admin
Hi,
Can you add some more details? Eventually send me your .report file.
Best regards,
Marc
Re: gpdcreport .report -aV 0 error
Posted: Tue May 14, 2024 4:05 am
by LijiongChen
Dear Marc,
I hope this message finds you well. I am writing to seek your assistance with an issue I encountered while conducting inversion tests using the command line.
I initiated the inversion using the following command:
Code: Select all
dinver -i DispersionCurve -optimization -target /Test/Data/t.target -param /Test/Data/p.param -o /Test/Data/r.report
Subsequently, I used the gpdcreport command to review the inversion results. The basic output command worked as expected:
However, when I attempted to use the command with additional arguments, specifically:
Code: Select all
gpdcreport /Test/Data/r.report -aV 0
The output did not display the expected results and instead, I received only the following output:
I found that using gpviewdcreport allows me to view the results correctly. Attached, you will find the relevant process and result files for your review.
Google Drive:
https://drive.google.com/drive/folders/ ... sp=sharing
Best regards,
Lijiong
Re: gpdcreport .report -aV 0 error
Posted: Tue May 28, 2024 1:05 pm
by admin
Hi Lijiong,
I'm not using these options very often and it took some time to figure out that you have to specify also the ring index. So the complete command should be:
Other minor remarks
- # 2642 is not an error code but the total number of models in your report file.
- You can also view the target file in spac2disp. It transforms the autocorrelation curves into the phase velocity domain. This is described in Wathelet et al. (2005). Doing the inversion directly with the complete curve usually biases the inversion with the frequencies where the autocorr curve is not reliable. Having several autocorr curves for various apertures (rings) helps to delineate the reliable parts (where all autocorr curves correspond to a single dispersion curve). spac2disp has tools to select only the samples where dispersion curves match.
- I noticed in 3.5.2 that importing a target with a single ring makes things unstable when playing with the curve in the target tool. This is fixed for subsequent releases.
Re: gpdcreport .report -aV 0 error
Posted: Wed May 29, 2024 5:17 am
by LijiongChen
Dear,
I am writing to express my sincere gratitude for your prompt and helpful response. The solution you provided effectively resolved the issue I was encountering.
Thank you once again for your assistance.
Best regards,
Lijiong