Skip to content

Commit

Permalink
Issue NOAA-EMC#3 - updated link_fv3gfs.sh to adjust wafs links
Browse files Browse the repository at this point in the history
  • Loading branch information
KateFriedman-NOAA committed Mar 6, 2020
1 parent 830c73f commit e602cd3
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions sorc/link_fv3gfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ cd ${pwd}/../util ||exit 8
done


#------------------------------
#--add gfs_wafs link if on Dell
if [ $machine = dell -o $machine = hera ]; then
#------------------------------
#-----------------------------------
#--add gfs_wafs link if checked out
if [ -d ${pwd}/gfs_wafs.fd ]; then
#-----------------------------------
cd ${pwd}/../jobs ||exit 8
$LINK ../sorc/gfs_wafs.fd/jobs/* .
cd ${pwd}/../parm ||exit 8
Expand Down Expand Up @@ -173,7 +173,7 @@ $LINK ../sorc/fv3gfs.fd/NEMS/exe/global_fv3gfs.x .
[[ -s gfs_ncep_post ]] && rm -f gfs_ncep_post
$LINK ../sorc/gfs_post.fd/exec/ncep_post gfs_ncep_post

if [ $machine = dell -o $machine = hera ]; then
if [ -d ${pwd}/gfs_wafs.fd ]; then
for wafsexe in wafs_awc_wafavn wafs_blending wafs_cnvgrib2 wafs_gcip wafs_makewafs wafs_setmissing; do
[[ -s $wafsexe ]] && rm -f $wafsexe
$LINK ../sorc/gfs_wafs.fd/exec/$wafsexe .
Expand Down Expand Up @@ -229,7 +229,7 @@ cd ${pwd}/../sorc || exit 8
done


if [ $machine = dell -o $machine = hera ]; then
if [ -d ${pwd}/gfs_wafs.fd ]; then
$SLINK gfs_wafs.fd/sorc/wafs_awc_wafavn.fd wafs_awc_wafavn.fd
$SLINK gfs_wafs.fd/sorc/wafs_blending.fd wafs_blending.fd
$SLINK gfs_wafs.fd/sorc/wafs_cnvgrib2.fd wafs_cnvgrib2.fd
Expand All @@ -254,5 +254,3 @@ fi

exit 0



0 comments on commit e602cd3

Please sign in to comment.