Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ush/forecast_det.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ FV3_det(){

RERUN=${RERUN:-"NO"}
# Get a list of all YYYYMMDD.HH0000.coupler.res files from the atmos restart directory
mapfile -t file_array < <(find "${COM_ATMOS_RESTART:-/dev/null}" -name "????????.??0000.coupler.res")
# shellcheck disable=SC2312
mapfile -t file_array < <(find "${COM_ATMOS_RESTART:-/dev/null}" -name "????????.??0000.coupler.res" | sort)
Comment thread Fixed
Comment thread
DWesl marked this conversation as resolved.
if [[ ( "${RUN}" = "gfs" || "${RUN}" = "gefs" ) \
&& "${#file_array[@]}" -gt 0 ]]; then

Expand Down