From 64f3aac4843c7932470e4a654447cae38ee38128 Mon Sep 17 00:00:00 2001 From: "Clara.Draoper-NOAA" Date: Fri, 12 Dec 2025 20:19:47 +0000 Subject: [PATCH 1/4] Changes to global_cycle, to turn off soil moisture relaxation and to correct the date in the gcycle namelist. --- ush/global_cycle.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ush/global_cycle.sh b/ush/global_cycle.sh index 0918e943a11..c5c251ac1a5 100755 --- a/ush/global_cycle.sh +++ b/ush/global_cycle.sh @@ -212,7 +212,7 @@ DELTSFC=${DELTSFC:-0} LSOIL=${LSOIL:-4} LSOIL_INCR=${LSOIL_INCR:-2} -FSMCL2=${FSMCL2:-60} +FSMCL2=${FSMCL2:-99999.} FSLPL=${FSLPL:-99999.} FSOTL=${FSOTL:-99999.} FVETL=${FVETL:-99999.} @@ -278,10 +278,10 @@ ln -fs "${FNSALC}" salclm export PGM=${CYCLEXEC} export pgm=${PGM} -iy=${PDY:0:4} -im=${PDY:4:2} -id=${PDY:6:2} -ih=${cyc} +iy=${gcycle_date:0:4} +im=${gcycle_date:4:2} +id=${gcycle_date:6:2} +ih=${gcycle_date:8:2} export OMP_NUM_THREADS=${OMP_NUM_THREADS_CY:-${CYCLETHREAD:-1}} From 20f249c239f7367b886856ef36392429e023d038 Mon Sep 17 00:00:00 2001 From: "Clara.Draoper-NOAA" Date: Mon, 15 Dec 2025 19:49:50 +0000 Subject: [PATCH 2/4] export gcycle_date, and change piping for PGMOUT in global_cycle.sh to get output from both calls to gcycle. --- dev/scripts/exglobal_atmos_sfcanl.sh | 2 +- ush/global_cycle.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/scripts/exglobal_atmos_sfcanl.sh b/dev/scripts/exglobal_atmos_sfcanl.sh index ed52df19c3d..2a72a8c3ede 100755 --- a/dev/scripts/exglobal_atmos_sfcanl.sh +++ b/dev/scripts/exglobal_atmos_sfcanl.sh @@ -156,7 +156,7 @@ fi # Loop over the dates in the window to update the surface restarts for hr in "${!gcycle_dates[@]}"; do - gcycle_date="${gcycle_dates[hr]}" + export gcycle_date="${gcycle_dates[hr]}" FHR="${soilinc_fhrs[hr]}" echo "Updating surface restarts for ${gcycle_date} ..." diff --git a/ush/global_cycle.sh b/ush/global_cycle.sh index c5c251ac1a5..b0685f3d969 100755 --- a/ush/global_cycle.sh +++ b/ush/global_cycle.sh @@ -340,7 +340,7 @@ cat << EOF > fort.37 / EOF -${APRUNCY} "${CYCLEXEC}" 1> "${PGMOUT}" 2> "${PGMERR}" +${APRUNCY} "${CYCLEXEC}" 1>> "${PGMOUT}" 2>> "${PGMERR}" export err=$? From 3e0102f424ac08c932427341819f2008e1d93aeb Mon Sep 17 00:00:00 2001 From: "Clara.Draoper-NOAA" Date: Tue, 16 Dec 2025 19:50:06 +0000 Subject: [PATCH 3/4] Corrected gcycle_date for enkf_sfc call. --- dev/scripts/exglobal_enkf_sfc.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev/scripts/exglobal_enkf_sfc.sh b/dev/scripts/exglobal_enkf_sfc.sh index e0fa15ab5ee..0109fa05f3a 100755 --- a/dev/scripts/exglobal_enkf_sfc.sh +++ b/dev/scripts/exglobal_enkf_sfc.sh @@ -212,6 +212,9 @@ if [[ "${DOIAU}" == "YES" ]]; then done # ensembles + # set date for global_cycle + export gcycle_date="${bPDY}${bcyc}" + "${CYCLESH}" && true export err=$? if [[ ${err} -ne 0 ]]; then @@ -288,6 +291,8 @@ if [[ "${DOSFCANL_ENKF}" == "YES" ]]; then fi done + # set date for global_cycle + export gcycle_date="${PDY}${cyc}" "${CYCLESH}" && true export err=$? if [[ ${err} -ne 0 ]]; then From 0dd5df8f33eb952572b47604291b4d17bfe12806 Mon Sep 17 00:00:00 2001 From: "Clara.Draoper-NOAA" Date: Tue, 16 Dec 2025 20:16:18 +0000 Subject: [PATCH 4/4] remove comments. --- dev/scripts/exglobal_enkf_sfc.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dev/scripts/exglobal_enkf_sfc.sh b/dev/scripts/exglobal_enkf_sfc.sh index 0109fa05f3a..517b6cd40f6 100755 --- a/dev/scripts/exglobal_enkf_sfc.sh +++ b/dev/scripts/exglobal_enkf_sfc.sh @@ -212,7 +212,6 @@ if [[ "${DOIAU}" == "YES" ]]; then done # ensembles - # set date for global_cycle export gcycle_date="${bPDY}${bcyc}" "${CYCLESH}" && true @@ -291,8 +290,8 @@ if [[ "${DOSFCANL_ENKF}" == "YES" ]]; then fi done - # set date for global_cycle export gcycle_date="${PDY}${cyc}" + "${CYCLESH}" && true export err=$? if [[ ${err} -ne 0 ]]; then