Commit 5ae8a37e authored by laura.gassner's avatar laura.gassner

BUGFIX y-coordinate in SU output should be 0

parent 42299882
...@@ -122,10 +122,9 @@ int nsrc, int ns, int seis_form, int ishot, int sws){ ...@@ -122,10 +122,9 @@ int nsrc, int ns, int seis_form, int ishot, int sws){
tr.gwdep=0 ; /* water depth at receiver group */ tr.gwdep=0 ; /* water depth at receiver group */
tr.sy= (signed int)iround(YS*1000.0) ; /* Y source coordinate */ tr.sy=0 ; /* Y source coordinate */
tr.gy=0 ; /* Y group coordinate */
tr.gy= (signed int)iround(yr*1000.0) ; /* Y group coordinate */
tr.counit=0 ; /* coordinate units code: tr.counit=0 ; /* coordinate units code:
for previous four entries for previous four entries
......
...@@ -123,10 +123,9 @@ int nsrc, int ns, int seis_form, int ishot, int sws){ ...@@ -123,10 +123,9 @@ int nsrc, int ns, int seis_form, int ishot, int sws){
tr.gwdep=0 ; /* water depth at receiver group */ tr.gwdep=0 ; /* water depth at receiver group */
tr.sy= (signed int)iround(YS*1000.0) ; /* Y source coordinate */ tr.sy=0 ; /* Y source coordinate */
tr.gy=0 ; /* Y group coordinate */
tr.gy= (signed int)iround(yr*1000.0) ; /* Y group coordinate */
tr.counit=0 ; /* coordinate units code: tr.counit=0 ; /* coordinate units code:
for previous four entries for previous four entries
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment