Skip to content

Commit

Permalink
Minor fix for exglobal_archive_gsl_nonc.sh
Browse files Browse the repository at this point in the history
Update INFO
  • Loading branch information
kayeekayee committed Mar 20, 2024
1 parent 03291a6 commit d6fcd8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion INFO
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

update pointers for ufs_model and ufs_utils
add GSL C3_MYNN xml suite
Change dt_inner=75 for any configuration running aerosol-aware Thompson (ltaerosol=.true.)

01-08-24
========
Expand Down
6 changes: 3 additions & 3 deletions scripts/exglobal_archive_gsl_nonc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if [[ "${ARCHICS_CYC}" -lt 0 ]]; then
fi

# CURRENT CYCLE
APREFIX="${RUN}.t${cyc}z."
#JKHAPREFIX="${RUN}.t${cyc}z."

# Realtime parallels run GFS MOS on 1 day delay
# If realtime parallel, back up CDATE_MOS one day
Expand Down Expand Up @@ -142,15 +142,15 @@ if [[ ${HPSSARCH} = "YES" || ${LOCALARCH} = "YES" ]]; then
mod=$((nday % ARCH_WARMICFREQ))
if [[ "${PDY}${cyc}" -eq "${firstday}" ]] && [[ "${cyc}" -eq "${ARCHINC_CYC}" ]]; then SAVEWARMICA="YES" ; fi
if [[ "${PDY}${cyc}" -eq "${firstday}" ]] && [[ "${cyc}" -eq "${ARCHICS_CYC}" ]]; then SAVEWARMICB="YES" ; fi
if [[ "${mod}" -eq 0 ]] && [[ "${cyc}" -eq "${ARCHINC_CYC}" ]]; then SAVEWARMICA="YES" ; fi
#JKHif [[ "${mod}" -eq 0 ]] && [[ "${cyc}" -eq "${ARCHINC_CYC}" ]]; then SAVEWARMICA="YES" ; fi
if [[ "${mod}" -eq 0 ]] && [[ "${cyc}" -eq "${ARCHICS_CYC}" ]]; then SAVEWARMICB="YES" ; fi

if [[ "${ARCHICS_CYC}" -eq 18 ]]; then
nday1=$((nday+1))
mod1=$((nday1 % ARCH_WARMICFREQ))
if [[ "${mod1}" -eq 0 ]] && [[ "${cyc}" -eq "${ARCHICS_CYC}" ]] ; then SAVEWARMICB="YES" ; fi
if [[ "${mod1}" -ne 0 ]] && [[ "${cyc}" -eq "${ARCHICS_CYC}" ]] ; then SAVEWARMICB="NO" ; fi
if [[ "${PDY}${cyc}" -eq "${SDATE}" ]] && [[ "${cyc}" -eq "${ARCHICS_CYC}" ]] ; then SAVEWARMICB="YES" ; fi
#JKHif [[ "${PDY}${cyc}" -eq "${SDATE}" ]] && [[ "${cyc}" -eq "${ARCHICS_CYC}" ]] ; then SAVEWARMICB="YES" ; fi
fi

mod=$((nday % ARCH_FCSTICFREQ))
Expand Down

0 comments on commit d6fcd8c

Please sign in to comment.