Last change
on this file since 6331 was
6331,
checked in by aclsce, 17 months ago
|
Moved oasis-mct_5.0 in oasis3-mct/branches directory.
|
-
Property svn:executable set to
*
|
File size:
634 bytes
|
Rev | Line | |
---|
[6331] | 1 | #!/bin/ksh |
---|
| 2 | #set -x |
---|
| 3 | srcdir=`pwd` |
---|
| 4 | n_p_t=$1 |
---|
| 5 | library=$2 |
---|
| 6 | ext=$3 |
---|
| 7 | casename=`basename $srcdir` |
---|
| 8 | fileres=$srcdir/RUNDIR_${library}_${ext}/resu_${n_p_t}_${library}.txt |
---|
| 9 | echo $n_p_t > $fileres |
---|
| 10 | cd RUNDIR_${library}_${ext} |
---|
| 11 | for rundir in `ls -d ${casename}_*_${n_p_t}_*` ; do |
---|
| 12 | sgrid=`echo $rundir | awk -F _ '{print $3}'` |
---|
| 13 | tgrid=`echo $rundir | awk -F _ '{print $4}'` |
---|
| 14 | remap=`echo $rundir | awk -F _ '{print $5}'` |
---|
| 15 | resu=`grep "Error mean" ${rundir}/model1.out_100 | awk -F " " '{print $12}'` |
---|
| 16 | echo ${sgrid} ' ' ${tgrid} ' ' ${remap} ' : ' ${resu} >> $fileres |
---|
| 17 | done |
---|
| 18 | echo 'Differences' |
---|
| 19 | echo `diff $srcdir/resu_${library}.txt_OK $fileres` |
---|
Note: See
TracBrowser
for help on using the repository browser.