Skip to content

Commit

Permalink
Adding nco suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ilianagenkova committed Jun 23, 2022
1 parent 0db456e commit 7f0b713
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ush/gdas_counts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
for d_cyc in t00z t06z t12z t18z
do
cycdir=$(echo ${d_cyc} | sed 's/^.\(.*\).$/\1/')
INFILE=${COMIN1}${PDY}/${cycdir}/$COMPONENT/$RUN.${d_cyc}.gsistat
#INFILE=${COMIN1}${PDY}/${cycdir}/$COMPONENT/$RUN.${d_cyc}.gsistat
INFILE=${COMINgdas}${PDY}/${cycdir}/$COMPONENT/$RUN.${d_cyc}.gsistat # nco suggested
if [ ! -f $INFILE ]; then
echo -e "\n\n INFILE: $INFILE does not exist \n\n"
break
Expand Down
11 changes: 10 additions & 1 deletion ush/gdas_summary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,16 @@ cat $FIXprepobs/gdascounts_html >> ${MONTH}.htmlscript
# Move this over to the public web server.
#
if [ "$SENDWEB" = 'YES' ]; then
if [ "$USER" = nwprod ]; then
#if [ "$USER" = nwprod ]; then # nco suggested change
if [ "$USER" = ops.prod ]; then
if [ $PARATEST = YES ]; then
scp ${Month}_${YEAR}.html nwprod@ncorzdm:/home/people/nco/nwprod/pmb/nwtest/gdas/
scp index.shtml nwprod@ncorzdm:/home/people/nco/nwprod/pmb/nwtest/gdas/
else
scp ${Month}_${YEAR}.html nwprod@ncorzdm:/home/people/nco/nwprod/pmb/nw${envir}/gdas/
scp index.shtml nwprod@ncorzdm:/home/people/nco/nwprod/pmb/nw${envir}/gdas/
fi
elif [ $USER = ops.para ]; then
scp ${Month}_${YEAR}.html nwprod@ncorzdm:/home/people/nco/nwprod/pmb/nw${envir}/gdas/
scp index.shtml nwprod@ncorzdm:/home/people/nco/nwprod/pmb/nw${envir}/gdas/
else # developer
Expand Down

0 comments on commit 7f0b713

Please sign in to comment.