Skip to content

Commit

Permalink
shell check
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaMeixner-NOAA committed Jan 6, 2025
1 parent 2cf6350 commit 0271e27
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ush/forecast_predet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ MOM6_predet(){

}

# shellcheck disable=SC2034
# shellcheck disable=SC2178
CMEPS_predet(){
echo "SUB ${FUNCNAME[0]}: CMEPS before run type determination"

Expand Down
12 changes: 6 additions & 6 deletions ush/parsing_namelists_WW3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ WW3_namelists(){
# --------------------------------------------------------------------------- #
# Buoy location file

if [ -f ${PARMgfs}/wave/wave_${NET}.buoys ]
if [ -f "${PARMgfs}/wave/wave_${NET}.buoys" ]
then
${NCP} "${PARMgfs}/wave/wave_${NET}.buoys" "${DATA}/ww3_points.list"
fi

if [ -f ${DATA}/ww3_points.list ]
if [ -f "${DATA}/ww3_points.list" ]
then
set +x
echo "ww3_points.list copied (${PARMgfs}/wave/wave_${NET}.buoys)."
Expand All @@ -25,8 +25,8 @@ WW3_namelists(){
fi

#set coupling to ice/current
WW3_ICE='F'
WW3_CUR='F'
WW3_ICE="F"
WW3_CUR="F"

case ${WW3ICEINP} in
'YES' )
Expand All @@ -43,8 +43,8 @@ WW3_namelists(){
esac

# Variables used in atparse of shel template
export WW3_IC1='F'
export WW3_IC5='F'
export WW3_IC1="F"
export WW3_IC5="F"
export WW3_ICE
export WW3_CUR
export WW3_OUTPARS="${OUTPARS_WAV}"
Expand Down

0 comments on commit 0271e27

Please sign in to comment.