1 | #/usr/bin/ksh
|
---|
2 | #
|
---|
3 | # Script to examine effect of changing ropp_pp output from
|
---|
4 | #
|
---|
5 | # output_tdry
|
---|
6 | #
|
---|
7 | # to
|
---|
8 | #
|
---|
9 | # output_lev1a
|
---|
10 | # output_lev1b
|
---|
11 | # output_lev2a
|
---|
12 | #
|
---|
13 |
|
---|
14 | TOOL=ropp_pp_invert_tool
|
---|
15 |
|
---|
16 | #IFILE0=IT-PP-02.nc
|
---|
17 | IFILE0=IT-PP-02_prof1.nc
|
---|
18 |
|
---|
19 |
|
---|
20 | #0. Cntl: ROPP8.1 ropp_pp_invert
|
---|
21 | #-------------------------------
|
---|
22 |
|
---|
23 | EXEC=/net/data/nwp1/idculv/ROPP/ropp_src/branches/dev/Share/ROPP81_prototype/ropp_pp/tools/$TOOL
|
---|
24 |
|
---|
25 | IFILE=$IFILE0
|
---|
26 |
|
---|
27 | MFILE=MSIS_coeff.nc
|
---|
28 |
|
---|
29 | CFILE=grassaf_invert_cntl.cf
|
---|
30 |
|
---|
31 | OFILE=`echo $IFILE0 |sed -es/'.nc'/'_cntl.nc'/`
|
---|
32 |
|
---|
33 | TFILE=`echo $IFILE0 |sed -es/'.nc'/'_cntl.out'/`
|
---|
34 |
|
---|
35 | echo "$EXEC $IFILE -o $OFILE -mfile $MFILE -c $CFILE -m GMSIS -d > $TFILE 2>&1"
|
---|
36 | # $EXEC $IFILE -o $OFILE -mfile $MFILE -c $CFILE -m GMSIS -d > $TFILE 2>&1
|
---|
37 |
|
---|
38 | echo "ncdump -h $OFILE > $(echo $OFILE |sed -es/'.nc'/'.nd'/) "
|
---|
39 | # ncdump -h $OFILE > $(echo $OFILE |sed -es/'.nc'/'.nd'/)
|
---|
40 |
|
---|
41 |
|
---|
42 | #1. Test1: ROPP9.0 ropp_pp_invert
|
---|
43 | #--------------------------------
|
---|
44 |
|
---|
45 | EXEC=/net/data/nwp1/idculv/ROPP/ropp_src/branches/dev/Share/ROPP90_prototype/ropp_pp/tools/$TOOL
|
---|
46 |
|
---|
47 | IFILE=$IFILE0
|
---|
48 |
|
---|
49 | MFILE=MSIS_coeff.nc
|
---|
50 |
|
---|
51 | for i in 0 1 ; do
|
---|
52 | #i=0
|
---|
53 | for j in 0 1 ; do
|
---|
54 | #j=0
|
---|
55 | for k in 0 1 ; do
|
---|
56 | #k=0
|
---|
57 | for l in 0 1 ; do
|
---|
58 |
|
---|
59 | CFILE=grassaf_invert_test1_${i}${j}${k}${l}.cf
|
---|
60 |
|
---|
61 | OFILE=`echo $IFILE0 |sed -es/'.nc'/"_test1_${i}${j}${k}${l}.nc"/`
|
---|
62 |
|
---|
63 | TFILE=`echo $IFILE0 |sed -es/'.nc'/"_test1_${i}${j}${k}${l}.out"/`
|
---|
64 |
|
---|
65 | echo "$EXEC $IFILE -o $OFILE -mfile $MFILE -c $CFILE -m GMSIS -d > $TFILE 2>&1"
|
---|
66 | $EXEC $IFILE -o $OFILE -mfile $MFILE -c $CFILE -m GMSIS -d > $TFILE 2>&1
|
---|
67 |
|
---|
68 |
|
---|
69 | echo "ncdump -h $OFILE > $(echo $OFILE |sed -es/'.nc'/'.nd'/) "
|
---|
70 | ncdump -h $OFILE > $(echo $OFILE |sed -es/'.nc'/'.nd'/)
|
---|
71 |
|
---|
72 | done
|
---|
73 | done
|
---|
74 | done
|
---|
75 | done
|
---|