Skip to content

Commit

Permalink
feature/gfsv16_nco Update link_fixdirs.sh for NCO
Browse files Browse the repository at this point in the history
option.  Rename "exemcsfc_global_sfc_prep.sh.ecf"
without the 'ecf' extension.

Issue ufs-community#138.
  • Loading branch information
GeorgeGayno-NOAA committed Sep 3, 2020
1 parent 7770042 commit 15a298e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion fix/link_fixdirs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,12 @@ elif [ $machine = "jet" ]; then
elif [ $machine = "orion" ]; then
FIX_DIR="/work/noaa/global/glopara/fix"
fi

for dir in fix_am fix_fv3 fix_orog fix_fv3_gmted2010 fix_sfc_climo; do
[[ -d $dir ]] && rm -rf $dir
if [ -d $dir ]; then
[[ $RUN_ENVIR = nco ]] && chmod -R 755 $dir
rm -rf $dir
fi
$LINK $FIX_DIR/$dir .
done

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#### UNIX Script Documentation Block ###################################
# . .
# Script name: exemcsfc_global_sfc_prep.sh.ecf
# Script name: exemcsfc_global_sfc_prep.sh
# RFC Contact: George Gayno
# Abstract: This script calls two utility scripts to prepare a global
# blended ice analysis and global snow analyses for use by GFS/GDAS.
Expand All @@ -16,6 +16,8 @@
# 12/2014 Gayno Set file defaults to grib 2 versions
# when available.
# 08/2015 Gayno Update to current NCO standards
# 08/2020 Gayno Rename without the '.ecf' extention per
# latest NCO standards.
#
# Usage:
# Parameters: < no arguments >
Expand Down

0 comments on commit 15a298e

Please sign in to comment.