Change-Id: I32484682f1eb2bccd286673a1ea15cebd8df9320 Former-commit-id: b016c3bcb587c04b4d0e5d21ecce6f5e6bb3e75d
This commit is contained in:
parent
709d571947
commit
57d8d5794d
1 changed files with 7 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
NWPSLOCAL="/awips2/GFESuite/nwps"
|
||||
|
||||
if [ ! -e ${NWPSLOCAL}/input ]
|
||||
then
|
||||
mkdir ${NWPSLOCAL}/input
|
||||
|
@ -16,14 +17,14 @@ then
|
|||
mkdir ${NWPSLOCAL}/var
|
||||
chmod 777 ${NWPSLOCAL}/var
|
||||
fi
|
||||
source /awips2/GFESuite/bin/run/site.sh
|
||||
|
||||
logfile=${NWPSLOCAL}/logs/nwps_runManual_Outside_AWIPS.log
|
||||
rm -f ${NWPSLOCAL}/logs/*
|
||||
rm -f ${NWPSLOCAL}/wcoss/*
|
||||
|
||||
PATH="/awips2/GFESuite/bin:/bin:/usr/bin:/usr/local/bin"
|
||||
SITEID=${GFESUITE_SITEID}
|
||||
siteid=$(echo ${SITEID} | tr [:upper:] [:lower:])
|
||||
siteid=$(hostname|cut -c5-7)
|
||||
SITEID=$(echo ${siteid} | tr [:lower:] [:upper:])
|
||||
|
||||
SSHARGS="-x -o stricthostkeychecking=no"
|
||||
SCPARGS="-o stricthostkeychecking=no"
|
||||
|
@ -64,6 +65,7 @@ function logit () {
|
|||
### RUN OPTIONS:
|
||||
|
||||
if [ -e ${NWPSLOCAL}/var/inp_args ]
|
||||
|
||||
then
|
||||
|
||||
inp_args=`cat ${NWPSLOCAL}/var/inp_args`
|
||||
|
@ -87,6 +89,8 @@ then
|
|||
logit "Arguments are: $RUNLEN $WNA $NEST $GS $WINDS $WEB $PLOT $DELTAC $HOTSTART $WATERLEVELS $CORE $EXCD $WHERETORUN"
|
||||
logit " "
|
||||
|
||||
rm -f ${NWPSLOCAL}/var/inp_args
|
||||
|
||||
else
|
||||
|
||||
logit "No arguments or arguments file provided. No run to process. Exiting."
|
||||
|
|
Loading…
Add table
Reference in a new issue