/[MITgcm]/mitgcm.org/scripts/check_outp
ViewVC logotype

Diff of /mitgcm.org/scripts/check_outp

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.30 by jmc, Fri Aug 19 20:38:19 2011 UTC revision 1.31 by jmc, Tue Aug 23 18:14:10 2011 UTC
# Line 126  make_resdir_list() Line 126  make_resdir_list()
126                     UR4=`grep -c "^run: .*testreport.* -ur4 " $dir/summary.txt`                     UR4=`grep -c "^run: .*testreport.* -ur4 " $dir/summary.txt`
127                  fi                  fi
128              fi              fi
129              if test "x$RESTART" = x0 ; then              if test "x$ADJOINT" = xtrue ; then
130                  kind="forward"                  kind="adjoint" ; order='000'
131                  test "x$ADJOINT" = xtrue  &&  kind="adjoint"              elif test "x$RESTART" = x0 ; then
132                    kind="forward" ; order='001'
133              else              else
134                  kind="restart"                  kind="restart" ; order='002'
135              fi              fi
136              if test "x$UR4" = x1 ; then              if test "x$UR4" = x1 ; then
137                  OPTFILE="${OPTFILE}.use_r4"                  OPTFILE="${OPTFILE}.use_r4"
# Line 154  make_resdir_list() Line 155  make_resdir_list()
155              day=`echo $ttt | sed -e 's|_| |g' |awk '{print $NF}'`              day=`echo $ttt | sed -e 's|_| |g' |awk '{print $NF}'`
156    
157              if [ $day -lt $BEFORE ] ; then              if [ $day -lt $BEFORE ] ; then
158                  echo "$OPTFILE$kind $day $OPTFILE $kind $i" >> ./plist                  echo "$OPTFILE$order $day $OPTFILE $kind $i" >> ./plist
159              elif [ $day -ge $FIRSTDAY -a $day -le $LASTDAY ] ; then              elif [ $day -ge $FIRSTDAY -a $day -le $LASTDAY ] ; then
160                  echo "$OPTFILE$kind $day $OPTFILE $kind $i" >> ./slist                  echo "$OPTFILE$order $day $OPTFILE $kind $i" >> ./slist
161              else              else
162                  if test $dBug = 't' ; then                  if test $dBug = 't' ; then
163                     echo "discard day='$day' from: $i" | tee -a $OUTPFIL                     echo "discard day='$day' from: $i" | tee -a $OUTPFIL

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

  ViewVC Help
Powered by ViewVC 1.1.22