Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ufs-weather-model #2663

Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@
[submodule "sorc/gsi_monitor.fd"]
path = sorc/gsi_monitor.fd
url = https://github.com/NOAA-EMC/GSI-Monitor.git
[submodule "sorc/upp.fd"]
path = sorc/upp.fd
url = https://github.com/NOAA-EMC/UPP.git
ignore = dirty
[submodule "sorc/jcb"]
path = sorc/jcb
url = https://github.com/noaa-emc/jcb
Expand Down
3 changes: 1 addition & 2 deletions jobs/rocoto/waveinit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ source "${HOMEgfs}/ush/preamble.sh"
###############################################################
echo
echo "=============== START TO SOURCE FV3GFS WORKFLOW MODULES ==============="
#. ${HOMEgfs}/ush/load_fv3gfs_modules.sh
. ${HOMEgfs}/ush/load_ufswm_modules.sh
. ${HOMEgfs}/ush/load_fv3gfs_modules.sh
aerorahul marked this conversation as resolved.
Show resolved Hide resolved
status=$?
[[ ${status} -ne 0 ]] && exit ${status}

Expand Down
3 changes: 1 addition & 2 deletions jobs/rocoto/wavepostbndpnt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ source "${HOMEgfs}/ush/preamble.sh"
###############################################################
echo
echo "=============== START TO SOURCE FV3GFS WORKFLOW MODULES ==============="
#. ${HOMEgfs}/ush/load_fv3gfs_modules.sh
. ${HOMEgfs}/ush/load_ufswm_modules.sh
. ${HOMEgfs}/ush/load_fv3gfs_modules.sh
status=$?
[[ ${status} -ne 0 ]] && exit ${status}

Expand Down
3 changes: 1 addition & 2 deletions jobs/rocoto/wavepostbndpntbll.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ source "${HOMEgfs}/ush/preamble.sh"
###############################################################
echo
echo "=============== START TO SOURCE FV3GFS WORKFLOW MODULES ==============="
#. ${HOMEgfs}/ush/load_fv3gfs_modules.sh
. ${HOMEgfs}/ush/load_ufswm_modules.sh
. ${HOMEgfs}/ush/load_fv3gfs_modules.sh
status=$?
[[ ${status} -ne 0 ]] && exit ${status}

Expand Down
3 changes: 1 addition & 2 deletions jobs/rocoto/wavepostpnt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ source "${HOMEgfs}/ush/preamble.sh"
###############################################################
echo
echo "=============== START TO SOURCE FV3GFS WORKFLOW MODULES ==============="
#. ${HOMEgfs}/ush/load_fv3gfs_modules.sh
. ${HOMEgfs}/ush/load_ufswm_modules.sh
. ${HOMEgfs}/ush/load_fv3gfs_modules.sh
status=$?
[[ ${status} -ne 0 ]] && exit ${status}

Expand Down
3 changes: 1 addition & 2 deletions jobs/rocoto/wavepostsbs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ source "${HOMEgfs}/ush/preamble.sh"

###############################################################
# Source FV3GFS workflow modules
#. ${HOMEgfs}/ush/load_fv3gfs_modules.sh
. ${HOMEgfs}/ush/load_ufswm_modules.sh
. ${HOMEgfs}/ush/load_fv3gfs_modules.sh
status=$?
[[ ${status} -ne 0 ]] && exit ${status}

Expand Down
3 changes: 1 addition & 2 deletions jobs/rocoto/waveprep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ source "${HOMEgfs}/ush/preamble.sh"
###############################################################
echo
echo "=============== START TO SOURCE FV3GFS WORKFLOW MODULES ==============="
#. ${HOMEgfs}/ush/load_fv3gfs_modules.sh
. ${HOMEgfs}/ush/load_ufswm_modules.sh
. ${HOMEgfs}/ush/load_fv3gfs_modules.sh
status=$?
[[ ${status} -ne 0 ]] && exit ${status}

Expand Down
7 changes: 7 additions & 0 deletions scripts/exglobal_cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

source "${USHgfs}/preamble.sh"

# Remove DATAoutput from the forecast model run
# TODO: Handle this better
DATAfcst="${DATAROOT}/${RUN}fcst.${PDY:-}${cyc}"
if [[ -d "${DATAfcst}" ]]; then rm -rf "${DATAfcst}"; fi
#DATAefcs="${DATAROOT}/${RUN}efcs???${PDY:-}${cyc}"
rm -rf "${DATAROOT}/${RUN}efcs"*"${PDY:-}${cyc}"

###############################################################
# Clean up previous cycles; various depths
# PRIOR CYCLE: Leave the prior cycle alone
Expand Down
2 changes: 1 addition & 1 deletion sorc/build_upp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ if [[ ! -d "../exec" ]]; then
mkdir -p ../exec
fi

cd upp.fd/tests
cd ufs_model.fd/FV3/upp/tests
# shellcheck disable=SC2086
BUILD_JOBS=${BUILD_JOBS:-8} ./compile_upp.sh ${_opts}
9 changes: 4 additions & 5 deletions sorc/link_workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -362,11 +362,10 @@ fi
#--link source code directories
#------------------------------
cd "${HOMEgfs}/sorc" || exit 8
# TODO: Commenting out until UPP is up-to-date with Rocky-8.
#if [[ -d ufs_model.fd ]]; then
# [[ -d upp.fd ]] && rm -rf upp.fd
# ${LINK} ufs_model.fd/FV3/upp upp.fd
#fi
if [[ -d ufs_model.fd ]]; then
[[ -d upp.fd ]] && rm -rf upp.fd
${LINK} ufs_model.fd/FV3/upp upp.fd
fi

if [[ -d gsi_enkf.fd ]]; then
[[ -d gsi.fd ]] && rm -rf gsi.fd
Expand Down
1 change: 0 additions & 1 deletion sorc/upp.fd
Submodule upp.fd deleted from 83e83a
2 changes: 1 addition & 1 deletion ush/forecast_postdet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ FV3_out() {
echo "SUB ${FUNCNAME[0]}: copying output data for FV3"

# Copy configuration files
if [[ "${RUN}" == "gfs" || "${RUN}" == "gefs" ]]; then
if [[ "${RUN}" == "gfs" || "${RUN}" == "gdas" || "${RUN}" == "gefs" ]]; then
aerorahul marked this conversation as resolved.
Show resolved Hide resolved
${NCP} "${DATA}/input.nml" "${COMOUT_CONF}/ufs.input.nml"
${NCP} "${DATA}/model_configure" "${COMOUT_CONF}/ufs.model_configure"
${NCP} "${DATA}/ufs.configure" "${COMOUT_CONF}/ufs.ufs.configure"
Expand Down
Loading