Skip to content

Commit

Permalink
GFS v16 NCO standards updates
Browse files Browse the repository at this point in the history
Updates so GFS v16 will conform with the latest NCO standards:

Remove '.ecf' extension from the 'emcsfc_global_sfc_prep.sh' script.

Update 'link_fixdirs.sh' to open permissions on fixed directories
before removing them.

For details, see issue #138.
  • Loading branch information
GeorgeGayno-NOAA authored Oct 14, 2020
1 parent b69f9d1 commit 4571564
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 4571564

Please sign in to comment.