Ticket #430: test1.sh

File test1.sh, 1.5 KB (added by Ian Culverwell, 9 years ago)

test1.sh

Line 
1#/usr/bin/ksh
2#
3# Script to examine OmA and OmB settings, as in ticket 430.
4#
5
6TOOL=ropp_1dvar_bangle #bangle exec
7
8OBS=IT-1DVAR-04_y.nc #observations data
9#OBS=IT-1DVAR-04_prof1_y.nc #observations data
10
11BACK=IT-1DVAR-04_b.nc #background data
12#BACK=IT-1DVAR-04_prof1_b.nc #background data
13
14BG_COV=IT-1DVAR-04_c.nc #bg covariances
15
16CONFIG=metoffice_bangle_1dvar.cf #configuration file (obs_covar_method = VSFC, bg_covar_method = VSDC)
17
18#-----------------------------------------------------------------------
19
20# Cntl: ROPP8.1 ifort = 300L
21
22EXEC=/data/nwp1/idculv/ROPP/ropp_src/branches/dev/Share/ROPP81_prototype/ropp_1dvar/tools/$TOOL
23
24IFILE0=$OBS
25IFILE=$IFILE
26
27OFILE=`echo $IFILE0 |sed -es/'.nc'/'_cntl.nc'/`
28
29TFILE=`echo $IFILE0 |sed -es/'.nc'/'_cntl.out'/`
30
31echo "$EXEC -d -y $OBS -b $BACK --bg-corr $BG_COV -o $OFILE -c $CONFIG > $TFILE 2>&1"
32 $EXEC -d -y $OBS -b $BACK --bg-corr $BG_COV -o $OFILE -c $CONFIG > $TFILE 2>&1
33
34#-----------------------------------------------------------------------
35
36# Test1: ROPP9.0 ifort = 300L
37
38EXEC=/data/nwp1/idculv/ROPP/ropp_src/branches/dev/Share/ROPP90_prototype/ropp_1dvar/tools/$TOOL
39
40IFILE0=$OBS
41IFILE=$IFILE
42
43OFILE=`echo $IFILE0 |sed -es/'.nc'/'_test1.nc'/`
44
45TFILE=`echo $IFILE0 |sed -es/'.nc'/'_test1.out'/`
46
47echo "$EXEC -d -y $OBS -b $BACK --bg-corr $BG_COV -o $OFILE -c $CONFIG > $TFILE 2>&1"
48 $EXEC -d -y $OBS -b $BACK --bg-corr $BG_COV -o $OFILE -c $CONFIG > $TFILE 2>&1
49
50