# # # first construct the velocity grids # awk '{print $1, $2, $3}' < velgrid_bormann_hammond2.txt > llve.dat awk '{print $1, $2, $4}' < velgrid_bormann_hammond2.txt > llvn.dat surface llve.dat -T.5 -R-122/-114/32/37.2 -I.01 -r -V -Gve_tot.grd surface llvn.dat -T.5 -R-122/-114/32/37.2 -I.01 -r -V -Gvn_tot.grd # # then take the gradidient of the velocity grids # grdgradient ve_tot.grd -Gvxx.grd -A270 -fg -V grdgradient ve_tot.grd -Gvxy.grd -A180 -fg -V grdgradient vn_tot.grd -Gvyx.grd -A270 -fg -V grdgradient vn_tot.grd -Gvyy.grd -A180 -fg -V # grdmath vxx.grd 1000. DIV = exx.grd grdmath vyy.grd 1000. DIV = eyy.grd grdmath vxy.grd vyx.grd ADD 2000. DIV = exy.grd # grd2xyz exx.grd > exx.dat grd2xyz eyy.grd > eyy.dat grd2xyz exy.grd > exy.dat