Back to SIOSEIS Examples.          Go to the list of seismic processes.          Go to SIOSEIS introduction.

script python.sgy.csh

!/bin/csh -f

set SGYFIL = $1;
set PSHFIL = $2;
set RECLEN = $3;

sioseis << eof

procs segddin prout diskoa end
  segddin
    stack ${PSHFIL}
    end
  end
  prout
    fno 1 lno 999999
    ftr 1 ltr 1
    trlist
    shotno
    shottr gmt sxd syd
    end
  end
  diskoa
    opath ${SGYFIL}
    secs ${RECLEN}
    end
  end
end
eof

exit 0 ;