Skip to content

Commit

Permalink
Update global_cycle for fractional grid
Browse files Browse the repository at this point in the history
The hash for ufs_utils is updated to include the updates
for fractional grid support within global_cycle.  This
commit also removes the hack to skip global_cycle in
cycling mode.

Resolves: NOAA-EMC#1775
  • Loading branch information
CatherineThomas-NOAA committed Jan 26, 2024
1 parent 3d44ff3 commit 5eea52e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 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 5eea52e

Please sign in to comment.