#!/bin/csh

# set stat = (06)
set stat = (08)						# Read the SEGY files				
set PICK = y						# Start xpicker


foreach i ($stat[*])


if ($PICK == y) then
suwind < OBS${stat}chan1.su tmin=0 tmax=20 |\
  sugain mbal=1 |\
  sufilter  f=5,8,12,18 amps=0,1,1,0 |\
  suxpicker key=ep \
  x2beg=2400 x2end=2800 xcur=0.8\
  x1end=20.0 x1beg=0 wbox=900 hbox=700 f1=0 perc=90 &
endif

end
