@@ -7,15 +7,13 @@ function plot_bias2 (args)
7
7
dtype = DTYPE
8
8
'open ges_' dtype '_stas.ctl'
9
9
'open anl_' dtype '_stas.ctl'
10
- * 'open ' dtype '_stas_int.ctl'
11
10
'set grads off'
12
11
debug = 0
13
12
14
13
'set t 1 last'
15
14
'q time'
16
15
dmy = sublin ( result , 1 )
17
16
ti = subwrd ( dmy , 5 )
18
- say ti
19
17
hh = substr ( ti , 1 , 2 )
20
18
dd = substr ( ti , 4 , 2 )
21
19
@@ -24,8 +22,6 @@ function plot_bias2 (args)
24
22
ixc = subwrd ( size , 3 )
25
23
iyc = subwrd ( size , 6 )
26
24
izc = subwrd ( size , 9 )
27
- say ixc
28
- say 'iyc = ' iyc
29
25
30
26
iz = 1
31
27
while ( iz <= izc )
@@ -63,7 +59,6 @@ function plot_bias2 (args)
63
59
'!echo $CONMON_RESTRICT_PLOT_AREAS > rest.txt'
64
60
rest = read ( rest . txt )
65
61
restrict = subwrd ( rest , 2 )
66
- say 'restrict = ' restrict
67
62
68
63
iy = 1
69
64
while ( iy <= iyc )
@@ -76,7 +71,6 @@ function plot_bias2 (args)
76
71
endif
77
72
endif
78
73
79
- say 'iy = ' iy
80
74
'!rm -f area.txt'
81
75
'!cat ges_' dtype '_stas.ctl |grep "region= ' iy ' " > area.txt'
82
76
result = read ( area . txt )
@@ -87,7 +81,6 @@ function plot_bias2 (args)
87
81
area = substr ( info , 14 , 25 )
88
82
endif
89
83
result = close ( area . txt )
90
- say 'area = 'area
91
84
ix = 1
92
85
93
86
while ( ix <= ixc )
@@ -105,6 +98,16 @@ function plot_bias2 (args)
105
98
endif
106
99
result = close ( info . txt )
107
100
101
+ * Avoid plotting syptes "uv235" and "all" . Stype all is included in the ctl file ( from
102
+ * which the stypes are taken ) but the web site has never included all stypes , so
103
+ * eliminating plotting them is a space / time savings . Stype 235 ( uv only ) produces
104
+ * missing data errors on half the plots -- the upper half . This will be
105
+ * investigated in a separate fix .
106
+ if ( stype = 235 | stype = all )
107
+ ix = ix + 1
108
+ continue
109
+ endif
110
+
108
111
plottime ( ix , iy , iz , dtype , hh , dd , area , stype , subtype , iuse , levz , debug )
109
112
110
113
ix = ix + 1
@@ -122,25 +125,20 @@ endfile
122
125
123
126
function plottime ( ix , iy , iz , dtype , hh , dd , area , stype , subtype , iuse , levz , debug )
124
127
125
- 'page'
126
128
'clear'
127
129
128
130
nfield = 4
129
131
field .1 .1 = bias2 .1
130
132
field .1 .2 = bias2 .2
131
- field .1 .3 = bias2 .3
132
133
133
134
field .2 .1 = rms2 .1
134
135
field .2 .2 = rms2 .2
135
- field .2 .3 = rms2 .3
136
136
137
137
field .3 .1 = bias3 .1
138
138
field .3 .2 = bias3 .2
139
- field .3 .3 = bias3 .3
140
139
141
140
field .4 .1 = rms3 .1
142
141
field .4 .2 = rms3 .2
143
- field .4 .3 = rms3 .3
144
142
145
143
title .1 = "o-g for rej. by GC "
146
144
title .2 = "rms for rej. by GC"
@@ -157,9 +155,6 @@ function plottime(ix,iy,iz,dtype,hh,dd,area,stype,subtype,iuse,levz,debug)
157
155
y1 = 10.6 - ( nf - 1 ) * 2.5
158
156
y2 = y1 - 1.8
159
157
ystring = y1 + 0.1
160
- say ' y1 = 'y1
161
- say ' y2 = 'y2
162
- say ' ystring = 'ystring
163
158
'set t 1 last'
164
159
'query time'
165
160
dmy = sublin ( result , 1 )
@@ -186,14 +181,10 @@ function plottime(ix,iy,iz,dtype,hh,dd,area,stype,subtype,iuse,levz,debug)
186
181
maxvar = maxvar1
187
182
endif
188
183
189
- say ' 'minvar
190
- say ' 'maxvar
191
184
yrange = maxvar - minvar
192
185
dy = 0.1 * yrange
193
186
minvar = minvar - dy
194
187
maxvar = maxvar + dy
195
- say ' 'minvar
196
- say ' 'maxvar
197
188
'set parea 1.0 8.0 ' y2 ' 'y1
198
189
' set gxout line '
199
190
' set t 1 last '
@@ -203,8 +194,6 @@ function plottime(ix,iy,iz,dtype,hh,dd,area,stype,subtype,iuse,levz,debug)
203
194
'set y ' iy
204
195
'set x ' ix
205
196
'set z ' iz
206
- * 'set axlim ' minvar ' 'maxvar
207
- * 'set yaxis ' minvar ' 'maxvar' 'dy
208
197
'set vrange ' minvar ' 'maxvar
209
198
' set ccolor 1 '
210
199
' set cmark 0 '
@@ -213,9 +202,6 @@ function plottime(ix,iy,iz,dtype,hh,dd,area,stype,subtype,iuse,levz,debug)
213
202
' set cmark 1 '
214
203
' d 'field.nf.2
215
204
' set ccolor 3 '
216
- * 'set cmark 2'
217
- * 'd ' field . nf .3
218
- * if ( iuse = 1 ) ; datause = 'assimilated' ; endif
219
205
if ( iuse = - 1 )
220
206
datause = 'mon.'
221
207
else
@@ -229,8 +215,6 @@ function plottime(ix,iy,iz,dtype,hh,dd,area,stype,subtype,iuse,levz,debug)
229
215
'set line 2 1'
230
216
'draw line 3.1 0.6 3.4 0.6'
231
217
'draw string 3.5 0.55 final outloop'
232
- 'set line 3 1'
233
- * 'draw line 5.1 0.6 5.4 0.6'
234
218
'draw string 5.5 0.55 ' fti '- 'ti
235
219
nf = nf + 1
236
220
endwhile
0 commit comments