Skip to content

Commit 7d68b0b

Browse files
Update global_cycle for fractional grid (NOAA-EMC#2262)
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: NOAA-EMC#1775 Refs: ufs-community/UFS_UTILS#815 Refs: ufs-community/UFS_UTILS#891
1 parent ed592a6 commit 7d68b0b

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

ush/forecast_postdet.sh

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,14 @@ FV3_postdet(){
3333
done
3434

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

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

0 commit comments

Comments
 (0)