Skip to content

Commit

Permalink
Fix some linter complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterKolczynski-NOAA committed May 9, 2023
1 parent 7ffd730 commit 58c4b91
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions parm/config/gefs/config.efcs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export DO_WAVE=${DO_WAVE_ENKF:-"NO"}

# TODO: Possibly need OCNRES_ENKF, ICERES_ENKF, WAVRES_ENKF too
if [[ ${DO_OCN} == "YES" ]]; then
case "$CASE_ENS" in
case "${CASE_ENS}" in
"C48") export OCNRES=500;;
"C96") export OCNRES=100;;
"C192") export OCNRES=050;;
Expand All @@ -26,7 +26,7 @@ fi
[[ ${DO_WAVE} == "YES" ]] && export waveGRD=${waveGRD_ENKF:-$waveGRD} # TODO: will we run waves with a different resolution in the ensemble?

# Source model specific information that is resolution dependent
string="--fv3 $CASE_ENS"
string="--fv3 ${CASE_ENS}"
[[ ${DO_OCN} == "YES" ]] && string="$string --mom6 $OCNRES"
[[ ${DO_ICE} == "YES" ]] && string="$string --cice6 $ICERES"
[[ ${DO_WAVE} == "YES" ]] && string="$string --ww3 ${waveGRD// /;}"
Expand Down Expand Up @@ -84,7 +84,7 @@ fi
export cplwav=.false.

# ocean model resolution
case "$CASE_ENS" in
case "${CASE_ENS}" in
"C48") export OCNRES=500;;
"C96") export OCNRES=100;;
"C192") export OCNRES=050;;
Expand Down
6 changes: 3 additions & 3 deletions parm/config/gfs/config.efcs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export DO_WAVE=${DO_WAVE_ENKF:-"NO"}

# TODO: Possibly need OCNRES_ENKF, ICERES_ENKF, WAVRES_ENKF too
if [[ ${DO_OCN} == "YES" ]]; then
case "$CASE_ENS" in
case "${CASE_ENS}" in
"C48") export OCNRES=500;;
"C96") export OCNRES=100;;
"C192") export OCNRES=050;;
Expand All @@ -26,7 +26,7 @@ fi
[[ ${DO_WAVE} == "YES" ]] && export waveGRD=${waveGRD_ENKF:-$waveGRD} # TODO: will we run waves with a different resolution in the ensemble?

# Source model specific information that is resolution dependent
string="--fv3 $CASE_ENS"
string="--fv3 ${CASE_ENS}"
[[ ${DO_OCN} == "YES" ]] && string="$string --mom6 $OCNRES"
[[ ${DO_ICE} == "YES" ]] && string="$string --cice6 $ICERES"
[[ ${DO_WAVE} == "YES" ]] && string="$string --ww3 ${waveGRD// /;}"
Expand Down Expand Up @@ -84,7 +84,7 @@ fi
export cplwav=.false.

# ocean model resolution
case "$CASE_ENS" in
case "${CASE_ENS}" in
"C48") export OCNRES=500;;
"C96") export OCNRES=100;;
"C192") export OCNRES=050;;
Expand Down

0 comments on commit 58c4b91

Please sign in to comment.