Skip to content

Commit

Permalink
updates for top of ufs develop
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaMeixner-NOAA committed Jan 6, 2025
1 parent 3e8b9d1 commit a7cd616
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
3 changes: 0 additions & 3 deletions parm/config/gefs/config.ufs
Original file line number Diff line number Diff line change
Expand Up @@ -513,9 +513,6 @@ fi
# Set the name of the UFS (previously nems) configure template to use
# Default ufs.configure templates for supported model configurations
# WW3 restart field variable is different for slow vs fast loop. Add WW3_RSTFLDS="ice" for slow loop variables based on coupling scheme.
if [[ "${USE_ESMF_THREADING:-}" == "YES" ]]; then
tmpl_suffix="_esmf"
fi
case "${model_list}" in
atm)
default_template="${PARMgfs}/ufs/ufs.configure.atm${tmpl_suffix:-}.IN"
Expand Down
3 changes: 0 additions & 3 deletions parm/config/gfs/config.ufs
Original file line number Diff line number Diff line change
Expand Up @@ -631,9 +631,6 @@ fi
# Set the name of the UFS (previously nems) configure template to use
# Default ufs.configure templates for supported model configurations
# WW3 restart field variable is different for slow vs fast loop. Add WW3_RSTFLDS="ice" for slow loop variables based on coupling scheme.
if [[ "${USE_ESMF_THREADING:-}" == "YES" ]]; then
tmpl_suffix="_esmf"
fi
case "${model_list}" in
atm)
default_template="${PARMgfs}/ufs/ufs.configure.atm${tmpl_suffix:-}.IN"
Expand Down
7 changes: 7 additions & 0 deletions ush/parsing_ufs_configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,13 @@ if [[ "${cplchm}" = ".true." ]]; then

fi

#Set ESMF_THREADING variable for ufs configure
if [[ "${USE_ESMF_THREADING}" = "YES" ]]; then
local ESMF_THREADING="true"
else
local ESMF_THREADING="false"
fi

# Ensure the template exists
if [[ ! -r "${ufs_configure_template}" ]]; then
echo "FATAL ERROR: template '${ufs_configure_template}' does not exist, ABORT!"
Expand Down

0 comments on commit a7cd616

Please sign in to comment.