$SMSBIN/smsinit $LOADL_STEP_ID set -xa # #### 05/18/99 ############################# # SETUP SEAICE PROCESSING CONTROL SHELL VARIABLES # ########################################### export PS4='$SECONDS + ' date ######################################################## # obtain unique process id (pid) and make temp directory ######################################################## export pid=$$ #RG export BASEDIR=/ptmp/wx21rg export BASEDIR=/tmpnwprd/ export DATA=$BASEDIR/${job}.${pid} mkdir $DATA cd $DATA export TMPDIR=$DATA #################################### # File To Log Msgs #################################### export jlogfile=/com/logs/jlogfile #RGexport jlogfile=~/jlogfile #################################### # Determine Job Output Name on System #################################### export outid="LL$job" export jobid="${outid}.o${pid}" export pgmout="OUTPUT.${pid}" #Next two needed for independant (of sms) runs: #RG export envir=para #RG export cyc=00 export cycle=t${cyc}z #################################### # variables that control processing # Determine variable settings before testing and set them accordingly # SENDDBN=YES file will be sent to OSO # SENDCOM=YES copy files from TMPDIR to $COMOUT # SENDSMS=YES Flag Events on SMS #################################### export SENDCOM=YES #RG export SENDDBN=NO #RG export SENDDBN_GB2=NO #RG export SENDSMS=NO #RG export SAVEMRF=NO export SENDDBN=YES export SENDDBN_GB2=YES export SENDSMS=YES export SAVEMRF=YES #################################### # Specify NET and RUN Name and model #################################### export NET=omb export RUN=sice ################################################# # Specify job's execution areas (directory paths) ################################################# export HOMEsice=/nw${envir} #RG export HOMEsice=~/rgimpl/ export EXECsice=$HOMEsice/exec export FIXsice=$HOMEsice/fix export PARMsice=$HOMEsice/parm export USHsice=$HOMEsice/ush ###################### # Set up the UTILITIES ###################### export HOMEutil=/nwprod/util export EXECutil=$HOMEutil/exec export FIXutil=$HOMEutil/fix export PARMutil=$HOMEutil/parm export USHutil=$HOMEutil/ush export PATH=$PATH:/usrx/local/imajik/bin:. export LIBPATH="$LIBPATH":/usrx/local/imajik/lib ############################################################### # Run setup to initialize working directory and utility scripts ############################################################### sh $USHutil/setup.sh ######################################### # Run setpdy and initialize PDY variables ######################################### #export PDY=20090312 sh $USHutil/setpdy.sh . PDY ################################################### # Set directories where this job's input is located # using the COMIN variable ################################################### export COMIN=/com/${NET}/$envir/${RUN}.${PDY} export COMINm1=/com/${NET}/$envir/${RUN}.${PDYm1} export COMOUT=/com/${NET}/$envir/${RUN}.${PDY} export COMMRF=/com/mrf/$envir/mrf.${PDY} #RG export COMIN=~/rgimpl/com/${NET}/$envir/${RUN}.${PDY} #RG export COMINm1=~/rgimpl/com/${NET}/$envir/${RUN}.${PDYm1} #RG export COMOUT=~/rgimpl/com/${NET}/$envir/${RUN}.${PDY} #RG export COMMRF=~/rgimpl/com/mrf/$envir/mrf.${PDY} mkdir -p $COMOUT export DCOM=$DCOMROOT/us007003/$PDY export pcom=/pcom/mrf #RG export pcom=~/noscrub/pcom/$RUN mkdir -p $pcom ##################################### # Execute the script sh /nw${envir}/scripts/exmrf_icedrft2.sh.sms #RG sh ~/rgimpl/scripts/exmrf_icedrft2.sh.sms ##################################### cat $pgmout cd $BASEDIR rm -rf $DATA date #RG $SMSBIN/endt