#!/bin/sh
#
#	$Id: segyprogs_5.sh 9545 2011-07-27 19:31:54Z pwessel $
#
# script to plot mendo wa1 combined data
#
# cdp = 40 * coordinate on line, 30km max depth
#

area1=-R-35/6/0/30
proj1="-Jx0.15i/-0.15i"
outfile=segyprogs_5.ps

psbasemap $area1 $proj1 -Bf5a10 -Z0.001 -Y1.5i -K -X1.5i > $outfile
./segy2grd $area1  -Sc -X0.1 -Y0.1 -I0.5/0.2 wa1_mig13.segy -Gtest.nc -V
grdimage $area1 $proj1 -O test.nc -Ctest.cpt >> $outfile
rm -f test.nc
