1 | #/usr/bin/ksh
|
---|
2 | #
|
---|
3 | # Script to test the ROPP9.0 version of ropp_io_vlist_size.
|
---|
4 | #
|
---|
5 |
|
---|
6 | TOOL=ropp_apps_tph_tool
|
---|
7 |
|
---|
8 | IFILE=data/WOP_Study_Cases_prof3_vlist_size.nc
|
---|
9 |
|
---|
10 |
|
---|
11 | # Cntl: ROPP8.1
|
---|
12 |
|
---|
13 | OFILE=`echo $IFILE |sed -es/'.nc'/'_cntl.nc'/`
|
---|
14 | TFILE=`echo $IFILE |sed -es/'.nc'/'_cntl.out'/`
|
---|
15 |
|
---|
16 | EXEC=/data/nwp1/idculv/ROPP/ropp_src/branches/dev/Share/ROPP81_prototype/ropp_apps/tools/$TOOL
|
---|
17 |
|
---|
18 | echo "$EXEC $IFILE -n -y -t -b -o $OFILE -d > $TFILE 2>&1 "
|
---|
19 | $EXEC $IFILE -n -y -t -b -o $OFILE -d > $TFILE 2>&1
|
---|
20 |
|
---|
21 | echo "ncdump -h $OFILE > $(echo $OFILE |sed -es/'.nc'/'.nd'/) "
|
---|
22 | ncdump -h $OFILE > $(echo $OFILE |sed -es/'.nc'/'.nd'/)
|
---|
23 |
|
---|
24 |
|
---|
25 | # Test: ROPP9.0
|
---|
26 |
|
---|
27 | OFILE=`echo $IFILE |sed -es/'.nc'/'_test.nc'/`
|
---|
28 | TFILE=`echo $IFILE |sed -es/'.nc'/'_test.out'/`
|
---|
29 |
|
---|
30 | EXEC=/data/nwp1/idculv/ROPP/ropp_src/branches/dev/Share/ROPP90_prototype/ropp_apps/tools/$TOOL
|
---|
31 |
|
---|
32 | echo "$EXEC $IFILE -n -y -t -b -o $OFILE -d > $TFILE 2>&1 "
|
---|
33 | $EXEC $IFILE -n -y -t -b -o $OFILE -d > $TFILE 2>&1
|
---|
34 |
|
---|
35 | echo "ncdump -h $OFILE > $(echo $OFILE |sed -es/'.nc'/'.nd'/) "
|
---|
36 | ncdump -h $OFILE > $(echo $OFILE |sed -es/'.nc'/'.nd'/)
|
---|