#!/bin/sh
# weight for gravity data
g=0
# weight for surface wave data
s=0
# weight for vertical smoothing
v=1.5
# weight for a prior model
a=1
#
cat obs.j.template | sed "s/GRAVITYWT/$g/" > junk
cat junk  | sed "s/SMOOTH/$s/"  > temp
cat temp | sed "s/VERTICAL/$v/"  > temp1
cat temp1 | sed "s/APRIOR/$a/"    > obs.j
#
/home/andrew/Documents/Projects/Ecuador/DG_inv_package/Working/dg_3d_inv > runlog.txt
rm A_floats
rm A_indices
mv runlog.txt OUTPUT
mv OUTPUT Results
rm temp? temp
rm junk
