Giter Site home page Giter Site logo

johnwstockwelljr / seisunix Goto Github PK

View Code? Open in Web Editor NEW
258.0 258.0 122.0 1.67 GB

The CWP/SU: Seismic Un*x Package - a free open seismic processing, research, and educational software package. Please seek distribution gzipped tar files at https://wiki.Seismic-Unix.org not the Github version.

Home Page: https://wiki.Seismic-Unix.org

License: Other

Shell 7.19% Makefile 1.17% C 66.36% C++ 0.06% Fortran 8.82% Mathematica 3.18% PostScript 8.33% OpenEdge ABL 0.01% TeX 1.06% Lasso 0.25% Forth 0.01% Assembly 0.01% Gnuplot 0.01% Python 0.56% MATLAB 0.92% MAXScript 1.13% Tcl 0.91% Awk 0.01% R 0.01% Yacc 0.01%

seisunix's Introduction

The initial Github version is release 44R2 of the CWP/SU:Seismic Un*x package

We are now at RELEASE 4426

seisunix's People

Contributors

bhalitim avatar ceballosfelipe avatar johnwstockwelljr avatar l2r-git avatar lewistgoss avatar mortenwp avatar omn14 avatar pablombarros avatar rtoax avatar schwehr avatar tjc181 avatar yingchangliu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

seisunix's Issues

seg2segy - Not a SEG-2 trace header. Can not process 3a55 (line 740)

Good afternoon.

I'm having some issues using seg2segy on my macOS 10.15.1 device. I've compiled SeisUnix and seg2segy, but when I run seg2segy 329.dat 1 using the included .dat file, I receive the following error:

Using default header word mappings.
File 329.dat, Data Format Revision: 1, Number of traces: 3
Not a SEG-2 trace header. Can not process 3a55 (line 740)

If I try using seg2segy with a file that isn't .dat (such as the included 329.su file), it returns the following error:

Using default header word mappings.
Not SEG-2 data can not continue

Has anyone encountered this issue before? Given that it identifies that 329.dat is seg-2 data leads me to believe that the binary is functioning properly. Please let me know what other information I can provide that would help with troubleshooting this issue. Thanks in advance for any assistance!

spsplot on executing

Hi, I am using the following code

`
! /bin/sh
set -x
num=4

modfile=model${num}.dat

psfile=model${num}.eps

trimodel xmin=-2 xmax=12 zmin=0 zmax=2
1 xedge=-2,12
zedge=0,0
sedge=0,0
2 xedge=-2,0,2,4,6,8,10,12
zedge=0.3,0.32,0.3,0.6,0.2,0.25,0.25,0.25
sedge=0,0,0,0,0,0,0,0
3 xedge=-2,0,2,4,6,7,7.5,8,8.5,9,9.5,10,10.5,11,11.5,12
zedge=0.8,0.8,1,1.3,0.5,0.5,0.7,0.9,1.02,1.15,1.25,1.25,1.2,1.15,1.08,1
sedge=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
4 xedge=-2,0,2,4,6,7,8,9,10,11,12
zedge=1.5,1.5,1.6,1.9,1.3,1.45,1.6,1.7,1.75,1.65,1.5
sedge=0,0,0,0,0,0,0,0,0,0,0
5 xedge=1.8,2,2.2
zedge=0.98,1,1.03
sedge=0,0,0
6 xedge=1.8,2,2.2
zedge=0.98,1.05,1.03
sedge=0,0,0
7 xedge=-7,7.5,8,8.5,9,9.5,10,11,12
zedge=0.5,0.6,0.7,0.8,0.9,0.91,0.88,0.72,0.5
sedge=0,0,0,0,0,0,0,0,0
8 xedge=7,7.5,8,8.5,9,9.5,10,10.5,11,11.5,12
zedge=0.5,0.7,0.9,1.02,1.15,1.25,1.25,1.20,1.15,1.08,1
sedge=0,0,0,0,0,0,0,0,0,0,0
9 xedge=-2,12
zedge=2,2
sedge=0,0
kedge=1,2,3,4,5,6,7,8,9
sfill=0,0.2,0,0,0.44,0,0
sfill=0,0.5,0,0,0.16,0,0
sfill=0,1.2,0,0,0.08,0,0
sfill=0,1.8,0,0,0.07,0,0
sfill=2,1.02,0,0,0.11,0,0
sfill=10,1,0,0,0.09,0,0 > $modfile
spsplot < $modfile > $psfile
gedge=0.5 gtri=2.0 gmin=0 gmax=5
title="Earth Model $num"
labelz="Depth(Km)" labelx="Distance(Km)"
dxnum=1.0 dznum=2 wbox=5.25 hbox=0.75

exit
`

and when I execute this script its stuck and not giving any output other than .dat file. I don't understand where the error is.
Terminal is stuck at this from like 30 mins :
`

  • num=4
  • modfile=model4.dat
  • psfile=model4.eps
  • trimodel xmin=-2 xmax=12 zmin=0 zmax=2 1 xedge=-2,12 zedge=0,0 sedge=0,0 2 xedge=-2,0,2,4,6,8,10,12 zedge=0.3,0.32,0.3,0.6,0.2,0.25,0.25,0.25 sedge=0,0,0,0,0,0,0,0 3 xedge=-2,0,2,4,6,7,7.5,8,8.5,9,9.5,10,10.5,11,11.5,12 zedge=0.8,0.8,1,1.3,0.5,0.5,0.7,0.9,1.02,1.15,1.25,1.25,1.2,1.15,1.08,1 sedge=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 4 xedge=-2,0,2,4,6,7,8,9,10,11,12 zedge=1.5,1.5,1.6,1.9,1.3,1.45,1.6,1.7,1.75,1.65,1.5 sedge=0,0,0,0,0,0,0,0,0,0,0 5 xedge=1.8,2,2.2 zedge=0.98,1,1.03 sedge=0,0,0 6 xedge=1.8,2,2.2 zedge=0.98,1.05,1.03 sedge=0,0,0 7 xedge=-7,7.5,8,8.5,9,9.5,10,11,12 zedge=0.5,0.6,0.7,0.8,0.9,0.91,0.88,0.72,0.5 sedge=0,0,0,0,0,0,0,0,0 8 xedge=7,7.5,8,8.5,9,9.5,10,10.5,11,11.5,12 zedge=0.5,0.7,0.9,1.02,1.15,1.25,1.25,1.20,1.15,1.08,1 sedge=0,0,0,0,0,0,0,0,0,0,0 9 xedge=-2,12 zedge=2,2 sedge=0,0 kedge=1,2,3,4,5,6,7,8,9 sfill=0,0.2,0,0,0.44,0,0 sfill=0,0.5,0,0,0.16,0,0 sfill=0,1.2,0,0,0.08,0,0 sfill=0,1.8,0,0,0.07,0,0 sfill=2,1.02,0,0,0.11,0,0 sfill=10,1,0,0,0.09,0,0
    `

Building components in parallel fails

Taking advantage of multi-core systems by building CWP/SU with "make install -j #" (building with up to # parallel jobs) fails in a non-deterministic manner.

Underscores (_) don't convert properly to EBCDIC in segywrite

Lines 41-52 of zasc.c and zebc.c define these two tables:

static integer t1[96] = { 32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,
        48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,
        70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,
        92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,
        110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,
        126,127 };
    static integer t2[96] = { 64,79,127,123,91,108,80,125,77,93,92,78,107,96,
        75,97,240,241,242,243,244,245,246,247,248,249,122,94,76,126,110,
        111,124,193,194,195,196,197,198,199,200,201,209,210,211,212,213,
        214,215,216,217,226,227,228,229,230,231,232,233,74,224,90,95,108,
        64,129,130,131,132,133,134,135,136,137,145,146,147,148,149,150,
        151,152,153,162,163,164,165,166,167,168,169,192,106,208,161,64 };

It seems to me that in the EBCDIC table t2, "108" (%) is listed twice as a translation for both ASCII 95 (_) and 37 (%). So eg. in segywrite, all underscores are converted to percent signs. Changing 108 to 109 on line 51 of both zasc.c and zebc.c and recompiling seems to fix the issue.

Reference: appendix F of SEG-Y rev 1 Data Exchange format (2002) or this translation table.

sukdmig2d without stacking

Hello Mr.Stockwell,
Is it possible to migrate the seismic using sukdmig2d without stacking the traces?
I enter the shot gathers as input on the Kirchoff Depth Migration, and as output the seismic is already stacked.
Sincerely Yours,
Matheus

Segmentation fault (core dumped) in running sureflpsvsh

Hello.

I am using 43R1 release.
when I try to run sureflpsvsh function, I get the "segmentation fault" error in BASH.
I saw somewhere on the web that the calculation of SH waves has had issues, so I tried to only run PSV, but still got the above message.

Is this a bug or am I doing something wrong?

Regards

Lots of issues that can be found with static analysis

Static analysis tools like cppcheck and clang static analyzer's (CSA) scan-build can quickly find lots of things in the code that can be cleaned up.

e.g.

cppcheck --enable=all --std=c99 --force --inconclusive -I`pwd`/include src/PVM/Bayesian/main/frechetSlave.c
Checking src/PVM/Bayesian/main/frechetSlave.c ...
[src/PVM/Bayesian/main/frechetSlave.c:260] -> [src/PVM/Bayesian/main/frechetSlave.c:126]: (style) Condition 'verbose' is always false
[src/PVM/Bayesian/main/frechetSlave.c:126] -> [src/PVM/Bayesian/main/frechetSlave.c:260]: (style) Condition 'verbose' is always false
[src/PVM/Bayesian/main/frechetSlave.c:226] -> [src/PVM/Bayesian/main/frechetSlave.c:241]: (warning) Either the condition 'fp==NULL' is redundant or there is possible null pointer dereference: fp.
[src/PVM/Bayesian/main/frechetSlave.c:90] -> [src/PVM/Bayesian/main/frechetSlave.c:256]: (style) Variable 'masterId' is reassigned a value before the old one has been used.
[src/PVM/Bayesian/main/frechetSlave.c:97] -> [src/PVM/Bayesian/main/frechetSlave.c:188]: (style) Variable 'nU' is reassigned a value before the old one has been used.
[src/PVM/Bayesian/main/frechetSlave.c:256] -> [src/PVM/Bayesian/main/frechetSlave.c:258]: (style) Variable 'masterId' is reassigned a value before the old one has been used.
[src/PVM/Bayesian/main/frechetSlave.c:339] -> [src/PVM/Bayesian/main/frechetSlave.c:358]: (style) Variable 'As1' is reassigned a value before the old one has been used.
[src/PVM/Bayesian/main/frechetSlave.c:340] -> [src/PVM/Bayesian/main/frechetSlave.c:403]: (style) Variable 'Cs1' is reassigned a value before the old one has been used.
[src/PVM/Bayesian/main/frechetSlave.c:64]: (style) The scope of the variable 'resCD' can be reduced.
[src/PVM/Bayesian/main/frechetSlave.c:1599]: (style) The scope of the variable 'rho1rho2' can be reduced.
[src/PVM/Bayesian/main/frechetSlave.c:1948]: (style) The scope of the variable 'rho1rho2' can be reduced.
[src/PVM/Bayesian/main/frechetSlave.c:2547]: (style) The scope of the variable 'xd3' can be reduced.
[src/PVM/Bayesian/main/frechetSlave.c:2547]: (style) The scope of the variable 'x2' can be reduced.
[src/PVM/Bayesian/main/frechetSlave.c:2547]: (style) The scope of the variable 'x4' can be reduced.
[src/PVM/Bayesian/main/frechetSlave.c:2547]: (style) The scope of the variable 'x6' can be reduced.
[src/PVM/Bayesian/main/frechetSlave.c:2547]: (style) The scope of the variable 'x8' can be reduced.
[src/PVM/Bayesian/main/frechetSlave.c:2547]: (style) The scope of the variable 'x10' can be reduced.
[src/PVM/Bayesian/main/frechetSlave.c:2547]: (style) The scope of the variable 'x12' can be reduced.
[src/PVM/Bayesian/main/frechetSlave.c:2547]: (style) The scope of the variable 'sqrx' can be reduced.
[src/PVM/Bayesian/main/frechetSlave.c:2808]: (style) The scope of the variable 'arg' can be reduced.
[src/PVM/Bayesian/main/frechetSlave.c:126]: (error) Uninitialized variable: verbose
[src/PVM/Bayesian/main/frechetSlave.c:274]: (error) Uninitialized variable: verbose
[src/PVM/Bayesian/main/frechetSlave.c:1230]: (style) Variable 'kPnt' is assigned a value that is never used.

Where are the other files on the mines ftp?

I'm trying to access the other files which were on the ftp server where SU was formerly hosted. Do you have any idea where these files are currently located?

(I'm specifically trying to access ftp://ftp.cwp.mines.edu/pub/data/oz.original/README)

Thanks.

make install error

make[4]: Entering directory '/opt/SU/src/su/main/amplitudes'
gcc -I/opt/SU/include -g -std=c99 -Wall -pedantic -Wno-long-long -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DCWP_LITTLE_ENDIAN -DSUXDR -D_DEFAULT_SOURCE -D_POSIX_SOURCE sucentsamp.c -L/opt/SU/lib -lsu -lpar -lcwp -lm -o /opt/SU/bin/sucentsamp
/opt/SU/lib/libsu.a(fgettr.o): In function dataread': /opt/SU/src/su/lib/fgettr.c:148: undefined reference to xdr_float'
/opt/SU/src/su/lib/fgettr.c:148: undefined reference to xdr_vector' /opt/SU/lib/libsu.a(fgettr.o): In function fgettr_internal':
/opt/SU/src/su/lib/fgettr.c:203: undefined reference to xdrmem_create' /opt/SU/lib/libsu.a(fputtr.o): In function datawrite':
/opt/SU/src/su/lib/fputtr.c:123: undefined reference to xdr_float' /opt/SU/src/su/lib/fputtr.c:123: undefined reference to xdr_vector'
/opt/SU/lib/libsu.a(fputtr.o): In function fputtr_internal': /opt/SU/src/su/lib/fputtr.c:171: undefined reference to xdrmem_create'
/opt/SU/lib/libsu.a(xdrhdrsub.o): In function xdrhdrsub': /opt/SU/src/su/lib/xdrhdrsub.c:42: undefined reference to xdr_int'
/opt/SU/src/su/lib/xdrhdrsub.c:43: undefined reference to xdr_int' /opt/SU/src/su/lib/xdrhdrsub.c:44: undefined reference to xdr_int'
/opt/SU/src/su/lib/xdrhdrsub.c:45: undefined reference to xdr_int' /opt/SU/src/su/lib/xdrhdrsub.c:46: undefined reference to xdr_int'
/opt/SU/lib/libsu.a(xdrhdrsub.o):/opt/SU/src/su/lib/xdrhdrsub.c:47: more undefined references to xdr_int' follow /opt/SU/lib/libsu.a(xdrhdrsub.o): In function xdrhdrsub':
/opt/SU/src/su/lib/xdrhdrsub.c:51: undefined reference to xdr_u_int' /opt/SU/src/su/lib/xdrhdrsub.c:53: undefined reference to xdr_u_int'
/opt/SU/src/su/lib/xdrhdrsub.c:58: undefined reference to xdr_u_int' /opt/SU/src/su/lib/xdrhdrsub.c:60: undefined reference to xdr_u_int'
/opt/SU/src/su/lib/xdrhdrsub.c:63: undefined reference to xdr_int' /opt/SU/src/su/lib/xdrhdrsub.c:64: undefined reference to xdr_int'
/opt/SU/src/su/lib/xdrhdrsub.c:65: undefined reference to xdr_int' /opt/SU/src/su/lib/xdrhdrsub.c:66: undefined reference to xdr_int'
/opt/SU/src/su/lib/xdrhdrsub.c:67: undefined reference to xdr_int' /opt/SU/lib/libsu.a(xdrhdrsub.o):/opt/SU/src/su/lib/xdrhdrsub.c:68: more undefined references to xdr_int' follow
/opt/SU/lib/libsu.a(xdrhdrsub.o): In function xdrhdrsub': /opt/SU/src/su/lib/xdrhdrsub.c:73: undefined reference to xdr_u_int'
/opt/SU/src/su/lib/xdrhdrsub.c:75: undefined reference to xdr_u_int' /opt/SU/src/su/lib/xdrhdrsub.c:78: undefined reference to xdr_int'
/opt/SU/src/su/lib/xdrhdrsub.c:79: undefined reference to xdr_int' /opt/SU/src/su/lib/xdrhdrsub.c:80: undefined reference to xdr_int'
/opt/SU/src/su/lib/xdrhdrsub.c:81: undefined reference to xdr_int' /opt/SU/src/su/lib/xdrhdrsub.c:84: undefined reference to xdr_u_int'
/opt/SU/src/su/lib/xdrhdrsub.c:86: undefined reference to xdr_u_int' /opt/SU/src/su/lib/xdrhdrsub.c:91: undefined reference to xdr_u_int'
/opt/SU/src/su/lib/xdrhdrsub.c:93: undefined reference to xdr_u_int' /opt/SU/src/su/lib/xdrhdrsub.c:98: undefined reference to xdr_u_int'
/opt/SU/lib/libsu.a(xdrhdrsub.o):/opt/SU/src/su/lib/xdrhdrsub.c:100: more undefined references to xdr_u_int' follow /opt/SU/lib/libsu.a(xdrhdrsub.o): In function xdrhdrsub':
/opt/SU/src/su/lib/xdrhdrsub.c:243: undefined reference to xdr_float' /opt/SU/src/su/lib/xdrhdrsub.c:244: undefined reference to xdr_float'
/opt/SU/src/su/lib/xdrhdrsub.c:245: undefined reference to xdr_float' /opt/SU/src/su/lib/xdrhdrsub.c:246: undefined reference to xdr_float'
/opt/SU/src/su/lib/xdrhdrsub.c:247: undefined reference to xdr_float' /opt/SU/lib/libsu.a(xdrhdrsub.o):/opt/SU/src/su/lib/xdrhdrsub.c:248: more undefined references to xdr_float' follow
/opt/SU/lib/libsu.a(xdrhdrsub.o): In function xdrhdrsub': /opt/SU/src/su/lib/xdrhdrsub.c:249: undefined reference to xdr_int'
/opt/SU/src/su/lib/xdrhdrsub.c:252: undefined reference to xdr_u_int' /opt/SU/src/su/lib/xdrhdrsub.c:254: undefined reference to xdr_u_int'
/opt/SU/src/su/lib/xdrhdrsub.c:259: undefined reference to xdr_u_int' /opt/SU/src/su/lib/xdrhdrsub.c:261: undefined reference to xdr_u_int'
/opt/SU/src/su/lib/xdrhdrsub.c:263: undefined reference to xdr_u_int' /opt/SU/lib/libsu.a(xdrhdrsub.o):/opt/SU/src/su/lib/xdrhdrsub.c:265: more undefined references to xdr_u_int' follow
collect2: error: ld returned 1 exit status
make[4]: [Makefile:31: /opt/SU/bin/sucentsamp] Error 1 (ignored)
chmod: cannot access '/opt/SU/bin/sucentsamp': No such file or directory
make[4]: *** [Makefile:32: /opt/SU/bin/sucentsamp] Error 1
make[4]: Leaving directory '/opt/SU/src/su/main/amplitudes'
make[3]: *** [Makefile:37: remake] Error 2
make[3]: Leaving directory '/opt/SU/src/su/main/amplitudes'
make[2]: *** [Makefile:34: remake] Error 2
make[2]: Leaving directory '/opt/SU/src/su/main'
make[1]: *** [Makefile:15: remake] Error 2
make[1]: Leaving directory '/opt/SU/src/su'
make: *** [Makefile:137: remake] Error 2

edit Makefile.config

hello, Mr, I am reading that "Installation_Instructions", and I have understand step 1,2,3,4,5,6. But I am lost when meeting to step 7. I don't know how to edit Makefile.config. Could you give me a demo? My server's system is RedHat 7.4 ..thank you!

Inadequate docs

I can't believe that this package is still so poorly documented.

SU Manual Link Not Working

Upon clicking the PDF link [ftp://ftp.cwp.mines.edu/pub/cwpcodes/sumanual_300dpi_a4.pdf] for viewing, no response follows.

Stolt Migration file

Hello Sir
I hope you have a great day Sir.
I have a stacked section of synthetic data that is created from own model.and make stacked also i have velocity pick file.
How i can run Stolt Migration on my data?
Thanks

Image Format

Hi! Sir, I meet a problem that because of work needs I have to transform *.segy to *.png. So, Can SU solve this problem?

exclude

how can exclude the XDRFLAG during the compilation of SU?

Regards

WGET for Download Fails & CWP Link Not Working

1) According to Linux download notes here, the WGET command fails as indicated by image showing the log output. What may be causing this?

IMAGE 1
Screen Shot 2019-11-16 at 12 32 47 PM

2) The CWP link is also unresponsive.
*Note I am running an Linux EC2 instance with the following specifications as indicated by the following two images below:

IMAGE 2
Screen Shot 2019-11-16 at 12 34 39 PM

IMAGE 3
Screen Shot 2019-11-16 at 12 34 14 PM

Cannot build source code in OSX

Hello

I got some trouble with install seismic unix on my macbook. OS is OSX Sierra. I set environment varibles for installing and tried to 'make install' but I got an error below.

image

and 'make xtinstall' also invoked another error

image

I don't know how to deal with this errors.

Is there anything which I missed?

plot coordinate

hi
how can i add coordinate to my plot in command suximage ??

Pre-Stack Time Migration by using Stolt Method

Hello Sir, I’d like to express my thanks to you for you support and helping us to be good in SU.
I have a new problem with stolt method.
In Pre-Stack migration.
The command that i using it in terminal window is
sustolt < cmpgather.su cdpmin=1 cdpmax=538 dxcdp=45 noffmix=-1475 1475 vmig=3000 tmig=0.00 > stoltgather.su
The work in terminal window is done and created empty file hav a name stoltgather.su

Where is the wrong with that ??

With my best regards,

Small bug/inaccuracy in sumax

Hi,

I believe there is a minor inaccuracy in the Seismic Unix sumax command. The problem arises when the maximum (or minimum) value occurs in the very first sample of a trace. Here is the relevant source code from sumax.c :

/* find local/global max/min values and their locations /
min = max = tr.data[0];
absmax = ABS(tr.data[0]);
tr.data[0] = 0.0; /
Zero first data value /
trhldmax = tr.data[0];
trhldfit = (int) (trhldstrt / dt);
for (it = 1; it < nt; ++it) {
if (tr.data[it] > max) { /
Find max */
max = tr.data[it];
maxit = it;
}

 if (tr.data[it] < min) {	/* Find min */
    min = tr.data[it];
    minit = it;
 }

It appears that if the trace maximum occurs in the very first sample, the condition if (tr.data[it] > max) is never satisfied. Consequently, the value of maxit is not updated, and sumax just inherits the maxit value from the previous trace. The same goes for minima.

I believe the issue can easily be fixed by adding the following two lines of code just after the statement min = max = tr.data[0];

maxit = 0;
minit = 0;

However, I am no coding expert, so I might be wrong about the solution.

Best Regards, and thank you for maintaining a very useful software package.
Øyvind Kvam

Installation on MAC

I am struggling with the installation instructions. Would someone be willing to outline the steps needed to install and configure SU on a Mac from the starting point of the git clone?

sustack: nhs of stacked traces is not summed up

Assume the input

tracl = 1, nhs = 2, cdp = 1
tracl = 2, nhs = 2, cdp = 1

the stacked result would be correctly initialize fold = trace_1.nhs = 2, but then just += 1 for every following trace, rather than += trace.nhs, thus resulting in

tracl = 1, nhs = 3, cdp = 1

rather than

tracl = 1, nhs = 4, cdp = 1

Since fold is initialized with the first trace's nhs, I assume this is intended behaviour, and https://github.com/JohnWStockwellJr/SeisUnix/blob/master/src/su/main/stacking/sustack.c#L182 needs to be patched to fold += intrace.nhs == 0 ? 1 : intrace.nhs;, i.e. do the same as for initialization of fold.

Errors when using 'make finstall' in Ubuntu 14.04

Hi John,

This is Min. I'm facing a problem when try to use ' make finstall ' command. It shows some errors as follows:

mlin26@mlin4-workstation:~/cwp/43R1/src$ make finstall
cd ./Fortran; make
make[1]: Entering directory /home/mlin26/cwp/43R1/src/Fortran' cd AzimVelan ; make make[2]: Entering directory /home/mlin26/cwp/43R1/src/Fortran/AzimVelan'
make[2]: INSTALL' is up to date. make[2]: Leaving directory /home/mlin26/cwp/43R1/src/Fortran/AzimVelan'
cd Cshot ; make
make[2]: Entering directory /home/mlin26/cwp/43R1/src/Fortran/Cshot' make[2]: INSTALL' is up to date.
make[2]: Leaving directory /home/mlin26/cwp/43R1/src/Fortran/Cshot' cd Cwell ; make make[2]: Entering directory /home/mlin26/cwp/43R1/src/Fortran/Cwell'
gfortran -g -ffixed-line-length-none -c -o interp.o interp.f
ar rv libcwell.a interp.o
ar: libcwell.a: Malformed archive
make[2]: *** [libcwell.a(interp.o)] Error 1
rm interp.o
make[2]: Leaving directory /home/mlin26/cwp/43R1/src/Fortran/Cwell' make[1]: *** [INSTALL] Error 2 make[1]: Leaving directory /home/mlin26/cwp/43R1/src/Fortran'
make: *** [finstall] Error 2

Could you tell me what might be the problem? Thanks!

Regards,
Min

Error while sorting CDP

I am trying to sort traces by CDP and I am getting the following error
surange: fgettr.c: on trace #1, number of samples in header (20662) differs from number for first trace (62721)

My code is
/bin/sh
suchw<seis4.su key1=cdp key2=gx key3=sx \
a=1525 b=1 c=1 d=50 |susort>cmp4.su cdp offset
exit 0

installtion

Dear JohnWStockwelljr

I am writing to ask for your guide and assistance about installation and running procedure of ‘Fdelmodc’ on my ‘Linux ubuntu 18’. As you said on ‘Github’, I got ‘MKL’ from ‘Intel’ and it was installed. Now, unfortunately after doing all steps, I have the model but not the data. I would very much appreciate if you could send me an explanation video on YouTube about :

1- The installation process from first to last.

2- After running the model, with which format data will be stored.

Sincerely Yours

create cube seismic

Hi
How do I create a seismic cube with a SEGY extension that contains different layers?
Best regards

synthetic data with multiples

hello, Sir! I meet a problem that I need to make synthetic data with multiples, please, Could SU do this task? If it can, how to do it? Thank you !

Can't use segdread

Hi,

I have some SEG D files to read, but the "segdread" doesn't work. It shows that "cannot execute binary file". Other SU tools work well. Thank you!

Chen

error on installing improved SEGDREAD

while running the command
make sfinstall
I get a few errors:
fclose.c: In function ‘fclose’:
fclose.c:20:37: error: ‘stdin’ undeclared (first use in this function)
if((rv = sfclose(sf)) >= 0 && f != stdin && f != stdout && f != stderr)
^
fclose.c:20:37: note: each undeclared identifier is reported only once for each function it appears in
fclose.c:20:51: error: ‘stdout’ undeclared (first use in this function)
if((rv = sfclose(sf)) >= 0 && f != stdin && f != stdout && f != stderr)
^
fclose.c:20:66: error: ‘stderr’ undeclared (first use in this function)
if((rv = sfclose(sf)) >= 0 && f != stdin && f != stdout && f != stderr)

Then it goes on and finsh the installation. But when I test the installation by
suplane | suximage title="My first test" &

a figure appears, but then also I gets an error:
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 2304 requests (2304 known processed) with 0 events remaining.

I am running Ubuntu 16.04 LTS

ar: libcwell.a: Malformed archive

When I run make finstall, it fails, saying:
make[2]: Warning: Archive 'libcwell.a' seems to have been created in deterministic mode. 'shoot.o' will always be updated. Please consider passing the U flag to ar to avoid the problem.
gfortran -g -ffixed-line-length-none -c -o shoot.o shoot.f
ar rv libcwell.a shoot.o
ar: libcwell.a: Malformed archive

I can follow those instructions to pass the U flag, by editing the Makefile.config file to set:
ARFLAGS = rvU
When I do that, it still reports the same warning, and says:
ar rvU libcwell.a shoot.o
ar: libcwell.a: Malformed archive

I am running Ubunto 18.04, code name bionic.

I notice this file, libcwell.a is supplied in the GitHub down load from $CWPROOT/src/Fortran/Cwell/libcwell.a, recently updated 'last month', with the comment 'Updated sugain.c'

Can I do anything to re-form this archive?

Data cannot be found.

Hi, I am self-study of your course GPGN 461/561 Lab, but the data in the course such as seismic.su, simple.su can not be found, so, how to solve it? Thank you.

Failed make install (openSUSE )

Hello,

my issue seems similar to #12 but I am not capable of figuring out what is the problem based on solutions presented in that issue.

I receive similar errors after executing make install command, however libtirpc and libtirpc-devel are already installed at my machine.

My /usr/include/ folder does not include tirpc folder, only rpc. So I have created a symbolic link: ln -s /usr/include/rpc/* /usr/include/tirpc/.
This hasn't changed to result.

I have installed all packages listed as prerequisites on the github page "Seismic Unix install on Linux".

My system is: openSUSE Tumbleweed
SU: 44R16 (downloaded from SU wiki page)

I use default Makefile.config file (I tried replacing it with Makefile.config_Linux_x86_64 but the result stays the same).

Thank you for your help!
Kind regards,
Feliks Sartorius

Error message after executing make install:
cd amplitudes ; make make[3]: Entering directory '/usr/local/cwp/src/su/main/amplitudes' gcc -I/usr/local/cwp/include -O -std=c99 -Wall -pedantic -Wno-long-long -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DCWP_LITTLE_ENDIAN -DSUXDR -D_BSD_SOURCE -D_POSIX_SOURCE sucentsamp.c -L/usr/local/cwp/lib -lsu -lpar -lcwp -lm -o /usr/local/cwp/bin/sucentsamp In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/local/cwp/include/cwp.h:12, from /usr/local/cwp/include/par.h:12, from /usr/local/cwp/include/su.h:14, from sucentsamp.c:4: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/local/cwp/lib/libsu.a(fgettr.o): in functiondataread':
fgettr.c:(.text+0x173): undefined reference to xdr_float' /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: fgettr.c:(.text+0x180): undefined reference to xdr_vector'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/local/cwp/lib/libsu.a(fgettr.o): in function fgettr_internal': fgettr.c:(.text+0x2d9): undefined reference to xdrmem_create'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/local/cwp/lib/libsu.a(fputtr.o): in function fputtr_internal': fputtr.c:(.text+0x12e): undefined reference to xdrmem_create'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: fputtr.c:(.text+0x233): undefined reference to xdr_float' /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: fputtr.c:(.text+0x23d): undefined reference to xdr_vector'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/local/cwp/lib/libsu.a(xdrhdrsub.o): in function xdrhdrsub': xdrhdrsub.c:(.text+0x16): undefined reference to xdr_int'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x38): undefined reference to xdr_int' /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x4b): undefined reference to xdr_int'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x5e): undefined reference to xdr_int' /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x71): undefined reference to xdr_int'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/local/cwp/lib/libsu.a(xdrhdrsub.o):xdrhdrsub.c:(.text+0x84): more undefined references to xdr_int' follow /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/local/cwp/lib/libsu.a(xdrhdrsub.o): in function xdrhdrsub':
xdrhdrsub.c:(.text+0xcb): undefined reference to xdr_u_int' /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0xed): undefined reference to xdr_u_int'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x110): undefined reference to xdr_u_int' /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x130): undefined reference to xdr_u_int'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x161): undefined reference to xdr_int' /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x178): undefined reference to xdr_int'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x18f): undefined reference to xdr_int' /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x1a6): undefined reference to xdr_int'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x1bd): undefined reference to xdr_int' /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/local/cwp/lib/libsu.a(xdrhdrsub.o):xdrhdrsub.c:(.text+0x1d4): more undefined references to xdr_int' follow
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/local/cwp/lib/libsu.a(xdrhdrsub.o): in function xdrhdrsub': xdrhdrsub.c:(.text+0x237): undefined reference to xdr_u_int'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x24a): undefined reference to xdr_int' /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x261): undefined reference to xdr_int'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x278): undefined reference to xdr_int' /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x28f): undefined reference to xdr_int'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x2c4): undefined reference to xdr_u_int' /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x2ec): undefined reference to xdr_u_int'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x314): undefined reference to xdr_u_int' /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x33c): undefined reference to xdr_u_int'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x364): undefined reference to xdr_u_int' /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/local/cwp/lib/libsu.a(xdrhdrsub.o):xdrhdrsub.c:(.text+0x38c): more undefined references to xdr_u_int' follow
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/local/cwp/lib/libsu.a(xdrhdrsub.o): in function xdrhdrsub': xdrhdrsub.c:(.text+0x698): undefined reference to xdr_float'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x6b2): undefined reference to xdr_float' /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x6cc): undefined reference to xdr_float'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x6e6): undefined reference to xdr_float' /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x700): undefined reference to xdr_float'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/local/cwp/lib/libsu.a(xdrhdrsub.o):xdrhdrsub.c:(.text+0x71a): more undefined references to xdr_float' follow /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/local/cwp/lib/libsu.a(xdrhdrsub.o): in function xdrhdrsub':
xdrhdrsub.c:(.text+0x734): undefined reference to xdr_int' /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x76f): undefined reference to xdr_u_int'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x79f): undefined reference to xdr_u_int' /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x7cc): undefined reference to xdr_u_int'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x7f9): undefined reference to xdr_u_int' /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: xdrhdrsub.c:(.text+0x826): undefined reference to xdr_u_int'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/local/cwp/lib/libsu.a(xdrhdrsub.o):xdrhdrsub.c:(.text+0x853): more undefined references to xdr_u_int' follow collect2: error: ld returned 1 exit status make[3]: [Makefile:31: /usr/local/cwp/bin/sucentsamp] Error 1 (ignored) chmod: cannot access '/usr/local/cwp/bin/sucentsamp': No such file or directory make[3]: *** [Makefile:32: /usr/local/cwp/bin/sucentsamp] Error 1 make[3]: Leaving directory '/usr/local/cwp/src/su/main/amplitudes' make[2]: *** [Makefile:6: INSTALL] Error 2 make[2]: Leaving directory '/usr/local/cwp/src/su/main' make[1]: *** [Makefile:8: INSTALL] Error 2 make[1]: Leaving directory '/usr/local/cwp/src/su' make: *** [Makefile:92: sustuff] Error 2

Inverse NMO

hello sir
is it possible to apply inverse NMO in seismic unix ??
or any way to modify sunmo program for applying inverse NMO ?

tau-p

Hi,
I have been trying to run my data set in tau-p domain in SU (SUTAUP and SUTAUPNMO) but this has proven difficult.
I think the reason is that the trau-p transforms of different CDPs only display with the same trace parameters for all cdps tested, making each cdp tau-p transform display on each other.
Please is there any way around this, as I have tried to change the header in SU but this is not helping.
I am not an expert in SU but because of its flexibility I wish to use it at this point.

Installation Issues

Good Afternoon,

When I tried to install SU I had a problem below. Someone had the same problem and knows how to solve it?

Thanks for help!

============================================
In file included from /usr/include/wchar.h:43:0,
from ../sfhdr.h:304,
from stdio_s.h:11,
from stdfgetc.c:1:
/usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: conflicting types for ‘__FILE’
typedef struct _IO_FILE __FILE;
^~~~~~
In file included from stdfgetc.c:1:0:
stdio_s.h:8:25: note: previous declaration of ‘__FILE’ was here
typedef struct _sfio_s *__FILE;
^~~~~~
Makefile:25: recipe for target 'stdfgetc.o' failed
make[4]: *** [stdfgetc.o] Error 1
make[4]: Leaving directory '/home/paopc/Downloads/src/Sfio/src/lib/sfio/Stdio_s'
Makefile:146: recipe for target 'mkstdio_s' failed
make[3]: *** [mkstdio_s] Error 2
make[3]: Leaving directory '/home/paopc/Downloads/src/Sfio/src/lib/sfio'
Makefile:77: recipe for target 'install' failed
make[2]: *** [install] Error 2
make[2]: Leaving directory '/home/paopc/Downloads/src/Sfio/src/lib/sfio'
Makefile:6: recipe for target 'INSTALL' failed
make[1]: *** [INSTALL] Error 2
make[1]: Leaving directory '/home/paopc/Downloads/src/Sfio'
Makefile:129: recipe for target 'sfinstall' failed
make: *** [sfinstall] Error 2

Segdread errors and install problems

Dear sir,
My system is Ubuntu 18.04 LTS.
I need segdread to convert some segd format data to su format data.
When I typing segdread, it shows:
bash: /home/hbsong/CWP/SeisUnix/bin/segdread: cannot execute binary file: Exec format error

I remembered that when I installed improved SEGDREAD at the begining, the error is as following.

Makefile:25: recipe for target 'stdfgetc.o' failed
make[4]: *** [stdfgetc.o] Error 1
make[4]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio/src/lib/sfio/Stdio_s'
Makefile:146: recipe for target 'mkstdio_s' failed
make[3]: *** [mkstdio_s] Error 2
make[3]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio/src/lib/sfio'
Makefile:77: recipe for target 'install' failed
make[2]: *** [install] Error 2
make[2]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio/src/lib/sfio'
Makefile:6: recipe for target 'INSTALL' failed
make[1]: *** [INSTALL] Error 2
make[1]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio'
Makefile:129: recipe for target 'sfinstall' failed
make: *** [sfinstall] Error 2

It seems that the CWP website has been closed. I think the install instructions on Wiki (Seismic Unix install on Ubuntu) should be updated.
My installation process is as following,

mkdir -p ~/CWP
cd ~/CWP
sudo apt-get install git
gitclone https://github.com/JohnWStockwellJr/SeisUnix.git

cd
echo "export CWPROOT=~/CWP/SeisUnix" >> ~/.bashrc
echo "export PATH=$PATH:~/CWP/SeisUnix/bin" >> ~/.bashrc
source ~/.bashrc

sudo apt-get install libx11-dev
sudo apt-get install libxt-dev
sudo apt-get install gfortran
sudo apt-get install freeglut3-dev
sudo apt-get install libxmu-dev libxi-dev
sudo apt-get install libc6
sudo apt-get install libmotif4
sudo apt-get install libmotif-common
sudo apt-get install libxt6
sudo apt-get install x11proto-print-dev
sudo apt-get install libmotif-dev

cd $CWPROOT/src
make install
make xtinstall
make finstall
make mglinstall
make utils
make xminstall
make sfinstall

suplane | suximage title="My first test" &

All the command like segyread, segyclean and suximage are OK for me. But I can not excute segdread.
Can you help me ?

Time and depth Migration using Kirchhoff.

Hello Mr. John StockwellJr.
I’d like to applying the Kirchhoff Migration in the time and depth methods using an synthetic model for 2D seismic survey line with the field parameters.
How I can using Kirchhoff in Time Migration for pre and post-stack time migration through SU.
Thanks & Regards sir.

Lots of spelling mistakes

Many of these are easy to find and fix. However, it looks like there will be lots of false positives with codespell based on the style of naming things in su.

find . -name "*.[cfh]" | xargs codespell | wc -l
6266

e.g.

codespell include
include/VND.h:60: indicies  ==> indices
include/VND.h:126: extentions  ==> extensions
include/VND.h:127: extention  ==> extension
include/VND.h:231: extention  ==> extension
include/VND.h:232: extention  ==> extension
include/VND.h:245: occured  ==> occurred
include/VND.h:247: occured  ==> occurred
include/VND.h:502: extentions  ==> extensions
include/VND.h:503: extention  ==> extension
include/VND.h:669: compiliation  ==> compilation
include/segd.h:156: dum  ==> dumb
include/segd.h:166: te  ==> the, be
include/tapesegy.h:179: stae  ==> state
include/tapesegy.h:193: frequncy  ==> frequency
include/hdr.h:62: stae  ==> state
include/segy.h:366: stae  ==> state
include/segy.h:394: frequncy  ==> frequency
include/tapehdr.h:71: stae  ==> state
include/cwp.h:335: sinc  ==> sinc, synch, sync, sink, since
include/cwp.h:714: creat  ==> create
include/garnish.h:37: startign  ==> starting
include/garnish.h:46: forground  ==> foreground
include/taup.h:13: writen  ==> written
include/par.h:290: ang  ==> and
include/par.h:293: ang  ==> and
include/par.h:298: ang  ==> and
include/MGL/trackball.h:54: paramater  ==> parameter
include/MGL/trackball.h:67: analagous  ==> analogous
include/Dct/membuff.h:43: begining  ==> beginning
include/Dct/membuff.h:45: begining  ==> beginning
include/Xtcwp/Axes.h:63: occured  ==> occurred
include/Wpc/wpcbuffer.h:35: begining  ==> beginning
include/Wpc/wpcbuffer.h:37: begining  ==> beginning
include/Wpc/wpc1buffer.h:34: begining  ==> beginning
include/Wpc/wpc1buffer.h:36: begining  ==> beginning
include/Wpc/wpclib.h:29: tranform  ==> transform
include/Triangles/triP.h:17: enew  ==> new
include/Triangles/triP.h:18: enew  ==> new
include/Triangles/triP.h:20: enew  ==> new

Interactive velocity analysis code (iva.sh and iva.scr) not working

I am trying to do Interactive velocity analysis. I've iva.sh and iva.scr. When I am trying to open interactive dialogue window using iva.scr, it's not doing anything and giving output like
(base) atom@Blade:~/work/mdg/su$ ./iva.scr &
[1] 16516
but when I am running iva.sh directly it's giving errors like
Screenshot from 2019-12-05 16-47-51

Code files are as follows :
iva_codes.zip

Trouble with Velan.radon

Dear JohnWStockwellJr,
I am writing to report a problem in the Velan.radon script. When i am picking velocities on the semblance for multiple-supression, the script always raise this error : "sunmo: tnmo values must increase monotonically".
I have check in all ways if my picks are really correct, but i still have not found a solution for this.
I would very much appreciate if you could send me an explanation for this case.
Sincerely Yours

Generating large number of models using trimodel

I am trying to generate around 50000 synthetic models with random parameters. Is there any way I can do this efficiently using trimodel? I also wanto to generate traces on each of these.
Thanks

Error when compiling sunormalize.c

In the current build, the function void vrmedian had an error where it was trying to return an int value at the end. I corrected it for my installation by commenting this return value. Was that the right action or should I have redefined it to an int function?

Error when compiling fortran code under Ubuntu 18 LTS

I'm facing a weird error when using Ubuntu 18 LTS (64 bits) when compiling with

make finstall

The particular error comes in the vzest folder

make[2]: Entering directory '/home/angel/SeismicRoot/SeisUnix-master/src/Fortran/Vzest' gfortran ./vzestf.o ./vzestsubf.o ./vzestc.o -o /home/angel/SeismicRoot/SeisUnix-master/bin/vzest -lm /usr/bin/ld: ./vzestf.o: relocation R_X86_64_32S against .rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ./vzestsubf.o: relocation R_X86_64_32S against .bss' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: final link failed: nonrepresentable section on output collect2: error: ld returned 1 exit status make[2]: *** [Makefile:17: /home/angel/SeismicRoot/SeisUnix-master/bin/vzest] Error 1 make[2]: Leaving directory '/home/angel/SeismicRoot/SeisUnix-master/src/Fortran/Vzest' make[1]: *** [Makefile:14: INSTALL] Error 2 make[1]: Leaving directory '/home/angel/SeismicRoot/SeisUnix-master/src/Fortran' make: *** [Makefile:126: finstall] Error 2

It's a weird error beacause the other installers work fine and also I'm able to install SU under Ubuntu 16 LTS (64 bits) without any error.

Edit:
Thanks for the answer

readp190

I fonund a program "readp190" in SeisUnix/bin/
when i excute it, it shows something wrong.
readp190: error while loading shared libraries: libgdbm.so.2: cannot open shared object file: No such file or directory
How can I excute it ?

Raytrace3D on centos7

When I run the Table in /src/Fortran/Raytrace3D/Demo, an error happens:

cp drt1.inp drt.inp
tableq
error in util_open_file
i_file= 20 file=drt.inp
status= old form= formatted recl= 0
table_read_input error
At line 466 of file tableq.f (unit = 13, file = '��F�y')
Fortran runtime error: File '' does not exist

Could you help me solve this problem?
Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.