hadi-tim / sdp-seismic-unix

Seismic Data Processing using open source software Seismic Unix
Creative Commons Attribution 4.0 International
12 stars 3 forks source link

Question about the script #6

Open rafa0110 opened 11 months ago

rafa0110 commented 11 months ago

Amazing tutorial Hadi! Thanks for sharing! I am trying to follow it quite carefully. Unfortunately, I cannot reproduce the ' gv crookedLine_bining.ps' command line. I was thinking how to solve it and I saw that in the script above there is a line with: '...distmax=$distmax 2>cdp.log |suwind ...'. I guess this '2' before '>' shouldn't be there, right? Another question: in the sort to CMP section, the 'data.su' file is the same field as the initial (without the geometry inserted)? or you just rename it?

Thanks in advance!

hadi-tim commented 10 months ago

Thanks Rafa.

Please find below the screen shot from the crooked line bining script, the script is working fine, may be you are missing something.

2>It means we can redirect a command's output standard output (stdout) to a file "cdp.log" and still see any error messages (stderr). You can remove it if you want just remove "2> cdp.log"

Screenshot 2023-11-28 144146

For your question regarding the sort do CMP, you can keep the same filed name as the initial name or rename it like "data_cmp.su"

Hope this will help you.

bvermeulen commented 2 weeks ago

The issue is with the scaling factors: scalel and scalco. In my case they were -10000 and must be set to 1. I believe you can do this by:

sushw < dataset.su key=scalel,scalco a=1,1 > dataset_edited.su
hadi-tim commented 2 weeks ago

It depends is your data, like this data scaling was correct.