#!/bin/sh

#./astorb_makein.awk Ceres.astorb > makein.in

ln -sf ~/a/tools/makein_dir/JPLEPH
makein < makein.in > makein.out

baryc2 2 3 4 5 7 8 9 10 < makein.out > baryc2.out
laplac < baryc2.out > laplac.out

pltp.awk < laplac.out
mv pl.in pl_inv.in
mv tp.in tp_inv.in
pltp.awk < baryc2.out

xvpl2el < pl.in > pl.elmts
xvpl2el < pl_inv.in > pl_inv.elmts
xvtp2el < tp.in > tp.elmts
xvtp2el < tp_inv.in > tp_inv.elmts

