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_occ_tool
|
---|
15 |
|
---|
16 | #IFILE0=IT-PP-04.nc
|
---|
17 | IFILE0=IT-PP-04_prof1.nc
|
---|
18 |
|
---|
19 |
|
---|
20 | #0. Cntl: ROPP8.1 ropp_pp_occ
|
---|
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=cosmic_pp_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 -ellipsoid -m GMSIS -d > $TFILE 2>&1"
|
---|
36 | # $EXEC $IFILE -o $OFILE -mfile $MFILE -c $CFILE -ellipsoid -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_occ
|
---|
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=1
|
---|
53 | #for j in 0 1 ; do
|
---|
54 | j=1
|
---|
55 | #for k in 0 1 ; do
|
---|
56 | k=1
|
---|
57 | #for l in 0 1 ; do
|
---|
58 | l=1
|
---|
59 |
|
---|
60 | CFILE=cosmic_pp_test1_${i}${j}${k}${l}.cf
|
---|
61 |
|
---|
62 | OFILE=`echo $IFILE0 |sed -es/'.nc'/"_test1_${i}${j}${k}${l}.nc"/`
|
---|
63 |
|
---|
64 | TFILE=`echo $IFILE0 |sed -es/'.nc'/"_test1_${i}${j}${k}${l}.out"/`
|
---|
65 |
|
---|
66 | echo "$EXEC $IFILE -o $OFILE -mfile $MFILE -c $CFILE -ellipsoid -m GMSIS -d > $TFILE 2>&1"
|
---|
67 | $EXEC $IFILE -o $OFILE -mfile $MFILE -c $CFILE -ellipsoid -m GMSIS -d > $TFILE 2>&1
|
---|
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
|
---|