set num="1004"
set runtype="nice +19"
# set runtype="nice +19 mosrun -j9-16" 
set whichstart="spatfinalTP2NS-${num}j"
set whichrun="TP2NS-${num}k"
set whichout="TP2NS-${num}k"
set outdir="/home/REMORSE/paciorek/output/spat/"
set whichmod="modTP2NS"
set whichdata="P"
$runtype ${whichmod} ~/research/dat/logtempvar${whichdata}.dat ~/research/dat/lat${whichdata}.dat ~/research/dat/lon${whichdata}.dat ~/research/dat/kernlat${whichdata}.dat ~/research/dat/kernlon${whichdata}.dat  ~/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 nonstat 12 24 9  80000 10 50 5  >& /home/REMORSE/paciorek/logfiles/log${whichout}&


set num="1009"
#set runtype="nice +19"
set runtype="nice +19 mosrun -j13-15" 
set whichstart="spatfinalTP2NS-${num}b"
set whichrun="TP2NS-${num}c"
set whichout="TP2NS-${num}c"
set outdir="/home/REMORSE/paciorek/output/spat/"
set whichmod="modTP2NS"
set whichdata="P"
$runtype modnew ~/research/dat/logtempvar${whichdata}.dat ~/research/dat/lat${whichdata}.dat ~/research/dat/lon${whichdata}.dat ~/research/dat/kernlat${whichdata}.dat ~/research/dat/kernlon${whichdata}.dat  ~/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 nonstat 12 24 9  5000 1 100 1  >& /home/REMORSE/paciorek/logfiles/log${whichout}&




