Skip to content

Commit

Permalink
Pass NEED_ALL_LBCS flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielabdi-noaa committed Apr 25, 2023
1 parent 119cb1c commit 9790b27
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions jobs/JREGIONAL_GET_EXTRN_MDL_FILES
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ elif [ "${ICS_OR_LBCS}" = "LBCS" ]; then
export TIME_OFFSET_HRS=${EXTRN_MDL_LBCS_OFFSET_HRS:-0}
export EXTRN_MDL_NAME=${EXTRN_MDL_NAME_LBCS}
GFS_FILE_FMT=${FV3GFS_FILE_FMT_LBCS}

export NEED_ALL_LBCS=${DO_RRFS_DEV}
fi

#
Expand Down
2 changes: 1 addition & 1 deletion scripts/exregional_get_extrn_mdl_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ elif [ "${ICS_OR_LBCS}" = "LBCS" ]; then
# hour lbcs. RRFS_dev downloads 0th hour lbcs while SRW does not.
# I tried to make them the same but RRFS_dev workflow skips make_ics for
# some cycles so it needs to download 0th hour lbcs.
if [ ${DO_RRFS_DEV} = "TRUE" ]; then
if [ ${NEED_ALL_LBCS} = "TRUE" ]; then
first_time=$((TIME_OFFSET_HRS))
else
first_time=$((TIME_OFFSET_HRS + LBC_SPEC_INTVL_HRS ))
Expand Down
2 changes: 1 addition & 1 deletion ush/config_defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@ rrfs:
#
#-----------------------------------------------------------------------
#
DO_RRFS_DEV: false # Turn this on to teest RRFS dev workflow
DO_RRFS_DEV: false # Turn this on to test RRFS dev workflow
DO_NLDN_LGHT: false

#----------------------------
Expand Down

0 comments on commit 9790b27

Please sign in to comment.