set num="1004"
#set runtype="nice +19"
 set runtype="nice +19 mosrun -j9-16" 
set whichstart="spatfinalTP1NS-${num}n"
set whichrun="TP1NS-${num}o"
set whichout="TP1NS-${num}o"
set outdir="/home/REMORSE/paciorek/output/spat/"
set whichmod="modTP1NS"
#set whichmod="mod1"
set whichdata="P"
$runtype $whichmod ~/research/dat/logtempvar${whichdata}.dat ~/research/dat/lat${whichdata}.dat ~/research/dat/lon${whichdata}.dat  0 0  ~/research/dat/baseperm.dat ~/research/dat/baseinvp.dat ~/research/dat/yrs44b.dat ~/research/parmfiles/${whichstart}.dat ~/research/parmfiles/spatfinal${whichout}.dat ~/research/parmfiles/spatparm${whichrun}.dat ${outdir}spatout${whichout}.dat 3.14 ~/research/dat/corTP1NS.empmimic.dat 12 24 0 100000 10 50 5 >& /home/REMORSE/paciorek/logfiles/log${whichout}&










