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
4 changes: 2 additions & 2 deletions jobs/rocoto/earc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ done

export COMPONENT=${COMPONENT:-atmos}

n=$((ENSGRP))
n=$((10#${ENSGRP}))

# ICS are restarts and always lag INC by $assim_freq hours.
EARCINC_CYC=$ARCH_CYC
Expand Down Expand Up @@ -63,7 +63,7 @@ source "${HOMEgfs}/ush/file_utils.sh"
###################################################################
# ENSGRP > 0 archives a group of ensemble members
firstday=$($NDATE +24 $SDATE)
if [[ $ENSGRP -gt 0 ]] && [[ $HPSSARCH = "YES" || $LOCALARCH = "YES" ]]; then
if (( 10#${ENSGRP} > 0 )) && [[ ${HPSSARCH} = "YES" || ${LOCALARCH} = "YES" ]]; then

#--set the archiving command and create local directories, if necessary
TARCMD="htar"
Expand Down