Skip to content

Commit

Permalink
Allow scrubbing to be disabled in the archive job by a flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelTrahanNOAA committed Mar 1, 2018
1 parent 22d46b6 commit 3169078
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jobs/rocoto/arch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ gcyc=$(echo $GDATE | cut -c9-10)
COMIN="$RUNDIR/$GDATE"
[[ -d $COMIN ]] && rm -rf $COMIN

if [[ "${DELETE_COM_IN_ARCHIVE_JOB:-YES}" == NO ]] ; then
exit 0
fi

# Remove the hour directory
COMIN="$ROTDIR/$CDUMP.$gPDY/$gcyc"
[[ -d $COMIN ]] && rm -rf $COMIN
Expand Down

0 comments on commit 3169078

Please sign in to comment.