Skip to content

Commit

Permalink
Updated four scripts based on suggestons of @aerorahul
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtoyNOAA committed Nov 8, 2023
1 parent 21c7874 commit 49635c9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
3 changes: 3 additions & 0 deletions parm/config/gefs/config.fcst
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ if (( gwd_opt == 2 )); then
export do_ugwp_v1_orog_only=".false."
launch_level=$(echo "${LEVS}/2.35" |bc)
export launch_level
if [[ ${do_gsl_drag_ls_bl} == ".true." ]]; then
export cdmbgwd=${cdmbgwd_gsl}
fi
fi

# Sponge layer settings
Expand Down
3 changes: 3 additions & 0 deletions parm/config/gfs/config.fcst
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ if (( gwd_opt == 2 )); then
export do_ugwp_v1_orog_only=".false."
launch_level=$(echo "${LEVS}/2.35" |bc)
export launch_level
if [[ ${do_gsl_drag_ls_bl} == ".true." ]]; then
export cdmbgwd=${cdmbgwd_gsl}
fi
fi

# Sponge layer settings
Expand Down
6 changes: 3 additions & 3 deletions ush/forecast_postdet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -514,9 +514,9 @@ FV3_out() {
done
else
# No need to copy FV3 restart files when RUN=gfs or gefs
${NCP} "${DATA}/input.nml" "${COM_ATMOS_HISTORY}/input.nml"
${NCP} "${DATA}/model_configure" "${COM_ATMOS_HISTORY}/model_configure"
${NCP} "${DATA}/nems.configure" "${COM_ATMOS_HISTORY}/nems.configure"
${NCP} "${DATA}/input.nml" "${COM_CONF}/ufs.input.nml"
${NCP} "${DATA}/model_configure" "${COM_CONF}/ufs.model_configure"
${NCP} "${DATA}/nems.configure" "${COM_CONF}/ufs.nems.configure"
fi
echo "SUB ${FUNCNAME[0]}: Output data for FV3 copied"
}
Expand Down
5 changes: 0 additions & 5 deletions ush/parsing_namelists_FV3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,6 @@ else
${NCP} "${FIELD_TABLE}" field_table
fi

# set resolution dependent variables
if [[ ${do_gsl_drag_ls_bl:-.true.} == ".true." ]]; then
export cdmbgwd=${cdmbgwd_gsl}
fi

cat > input.nml <<EOF
&atmos_model_nml
blocksize = ${blocksize}
Expand Down

0 comments on commit 49635c9

Please sign in to comment.