#!/bin/csh -bf # # gp.postfit # # Script to run Postfit and OUTLIERS_LIST. # N.E. King # August 1994 # Modifications: # 1995/10/15 whp Adapted to gp.postfit # CHECK NUMBER OF ARGUMENTS # ------------------------- echo " " if ($#argv != 0) then echo Usage: gp.postfit exit 1 endif # RUN POSTFIT # ----------- rm postfit.nio point.txt >& /dev/null nice postfit wash.nml rgfile \ smsol.nio uinv.nio \ postfit.nio point.txt \ >& postfit.log # CHECK FOR ERRORS # ---------------- if (-e core) then rm core endif if (! -e postfit.log) then echo "Script gp.postfit: postfit output file postfit.log not found." exit 1 endif