Skip to content

Commit

Permalink
Update global_cycle for fractional grid (#2262)
Browse files Browse the repository at this point in the history
The hash for ufs_utils is updated to include the changes for
fractional grid support within global_cycle.  This commit also
removes the hack to skip global_cycle in cycling mode with
v17 physics.

Resolves: #1775
Refs: ufs-community/UFS_UTILS#815
Refs: ufs-community/UFS_UTILS#891
  • Loading branch information
CatherineThomas-NOAA authored Feb 4, 2024
1 parent ed592a6 commit 7d68b0b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
18 changes: 8 additions & 10 deletions ush/forecast_postdet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,14 @@ FV3_postdet(){
done

# Replace sfc_data with sfcanl_data restart files from current cycle (if found)
if [[ "${MODE}" = "cycled" ]] && [[ "${CCPP_SUITE}" = "FV3_GFS_v16" ]]; then # TODO: remove if statement when global_cycle can handle NOAHMP
for file in "${COM_ATMOS_RESTART}/${sPDY}.${scyc}0000."*.nc; do
file2=$(basename "${file}")
file2=$(echo "${file2}" | cut -d. -f3-) # remove the date from file
fsufanl=$(echo "${file2}" | cut -d. -f1)
file2=$(echo "${file2}" | sed -e "s/sfcanl_data/sfc_data/g")
rm -f "${DATA}/INPUT/${file2}"
${NLN} "${file}" "${DATA}/INPUT/${file2}"
done
fi
for file in "${COM_ATMOS_RESTART}/${sPDY}.${scyc}0000."*.nc; do
file2=$(basename "${file}")
file2=$(echo "${file2}" | cut -d. -f3-) # remove the date from file
fsufanl=$(echo "${file2}" | cut -d. -f1)
file2=$(echo "${file2}" | sed -e "s/sfcanl_data/sfc_data/g")
rm -f "${DATA}/INPUT/${file2}"
${NLN} "${file}" "${DATA}/INPUT/${file2}"
done

# Need a coupler.res when doing IAU # FIXME: This is needed for warm_start, regardless of IAU.
if [[ ${DOIAU} = "YES" ]]; then
Expand Down

0 comments on commit 7d68b0b

Please sign in to comment.