Skip to content

Commit

Permalink
Issue #1 - update arch.sh
Browse files Browse the repository at this point in the history
   to save sfcanl for running gldas as ICs
  • Loading branch information
yangfanglin committed Dec 25, 2019
1 parent 68ab52f commit c2296c6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jobs/rocoto/arch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,10 @@ while [ $GDATE -le $GDATEEND ]; do
if [ $CDUMP != "gdas" -o $DO_GLDAS = "NO" ]; then
rm -rf $COMIN
else
for file in `ls $COMIN |grep -v sflux`; do
for file in `ls $COMIN |grep -v sflux |grep -v RESTART`; do
rm -rf $COMIN/$file
done
for file in `ls $COMIN/RESTART |grep -v sfcanl `; do
rm -rf $COMIN/$file
done
fi
Expand Down

0 comments on commit c2296c6

Please sign in to comment.