1 | ;+ |
---|
2 | ; .. _sst_validation_scatter_2000_2009_v50.pro: |
---|
3 | ; |
---|
4 | ; ======================================== |
---|
5 | ; sst_validation_scatter_2000_2009_v50.pro |
---|
6 | ; ======================================== |
---|
7 | ; |
---|
8 | ; DESCRIPTION |
---|
9 | ; =========== |
---|
10 | ; |
---|
11 | ; .. graphviz:: |
---|
12 | ; |
---|
13 | ; digraph sst_validation_scatter_2000_2009_v50 { |
---|
14 | ; |
---|
15 | ; sst_erai [shape=ellipse,fontname=Courier,label="${PROJECT_ID}/sst_2000_2009_erai_v50.txt"]; |
---|
16 | ; sst_tropflux [shape=ellipse,fontname=Courier,label="${PROJECT_OD}/sst_2000_2009_trop_v50.txt"]; |
---|
17 | ; sst_oaflux [shape=ellipse,fontname=Courier,label="${PROJECT_OD}/sst_2000_2009_oaflx_v50.txt"]; |
---|
18 | ; sst_tmi [shape=ellipse,fontname=Courier,label="${PROJECT_OD}/sst_2000_2009_tmi_v50.txt"]; |
---|
19 | ; sst_ncep [shape=ellipse,fontname=Courier,label="${PROJECT_OD}/sst_2000_2009_ncep_v50.txt"]; |
---|
20 | ; sst_ncep1 [shape=ellipse,fontname=Courier,label="${PROJECT_OD}/sst_2000_2009_ncep1_v50.txt"]; |
---|
21 | ; sst_erai_oafluxgrid [shape=ellipse,fontname=Courier,label="${PROJECT_ID}/erai_sst_19890101_20091231_oafluxgrid.nc"]; |
---|
22 | ; sst_tropflux_2 [shape=ellipse,fontname=Courier,label="${PROJECT_ID}/TropFlux_sst_19890101_20091231_v20.nc"]; |
---|
23 | ; oaflux_basic [shape=ellipse,fontname=Courier,label="${PROJECT_ID}/OAFlux_basic_variables_1985_2009.nc"]; |
---|
24 | ; sst_ncep2 [shape=ellipse,fontname=Courier,label="${PROJECT_ID}/sst_NCEP2_global_monthly_1989_2009.nc"]; |
---|
25 | ; sst_tmi_2 [shape=ellipse,fontname=Courier,label="${PROJECT_ID}/tmi_OI_oafluxgrid_30N30S.nc"]; |
---|
26 | ; sst_ncep1_2 [shape=ellipse,fontname=Courier,label="${PROJECT_ID}/sst_ncep1_19890101_20091231.nc"]; |
---|
27 | ; |
---|
28 | ; figure [shape=ellipse,fontname=Courier,label="${PROJECT_OD}/WHOTS_validation_net_2004_2007_all_v10.ps"]; |
---|
29 | ; |
---|
30 | ; sst_validation_scatter_2000_2009_v50 [shape=box, |
---|
31 | ; fontname=Courier, |
---|
32 | ; color=blue, |
---|
33 | ; URL="http://forge.ipsl.jussieu.fr/tropflux/broswrer/trunk/src/paper01/fig3/sst_validation_scatter_2000_2009_v50.pro", |
---|
34 | ; label="${TROPFLUX}/src/paper01/fig3/sst_validation_scatter_2000_2009_v50.pro"]; |
---|
35 | ; |
---|
36 | ; {sst_erai sst_erai_oafluxgrid sst_tropflux_2 oaflux_basic sst_ncep2 sst_tmi_2 sst_ncep1_2} -> {sst_validation_scatter_2000_2009_v50} -> {sst_tropflux sst_oaflux sst_tmi sst_ncep sst_ncep figure} |
---|
37 | ; } |
---|
38 | ; |
---|
39 | ; SEE ALSO |
---|
40 | ; ======== |
---|
41 | ; |
---|
42 | ; :ref:`project_profile.sh` |
---|
43 | ; :ref:`project_init.pro` |
---|
44 | ; :ref:`cm_project.pro` |
---|
45 | ; |
---|
46 | ; :func:`x_site_location` |
---|
47 | ; :func:`y_site_location` |
---|
48 | ; |
---|
49 | ; :ref:`read_variables_v2.pro` |
---|
50 | ; :ref:`statistics_3var_v1.pro` |
---|
51 | ; |
---|
52 | ; EXAMPLES |
---|
53 | ; ======== |
---|
54 | ; |
---|
55 | ; :: |
---|
56 | ; |
---|
57 | ; date1 = 19890101L |
---|
58 | ; date2 = 20091231L |
---|
59 | ; sst_validation_scatter_2000_2009_v50, date1, date2 |
---|
60 | ; |
---|
61 | ; TODO |
---|
62 | ; ==== |
---|
63 | ; |
---|
64 | ; make it work on cratos : missing data |
---|
65 | ; |
---|
66 | ; ++ mooring data in graphviz |
---|
67 | ; |
---|
68 | ; coding rules |
---|
69 | ; |
---|
70 | ; complete description |
---|
71 | ; |
---|
72 | ; handle IO error |
---|
73 | ; |
---|
74 | ; EVOLUTIONS |
---|
75 | ; ========== |
---|
76 | ; |
---|
77 | ; $Id$ |
---|
78 | ; |
---|
79 | ; $URL$ |
---|
80 | ; |
---|
81 | ; - fplod 20110420T131533Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
82 | ; |
---|
83 | ; * remove hard coding path |
---|
84 | ; * add graphviz |
---|
85 | ; * externalize functions |
---|
86 | ; |
---|
87 | ; - fplod 20110411T142955Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
88 | ; |
---|
89 | ; * minimal header |
---|
90 | ; |
---|
91 | ;- |
---|
92 | pro sst_validation_scatter_2000_2009_v50, date1, date2 |
---|
93 | @cm_general |
---|
94 | @cm_project |
---|
95 | reinitplt, /z,/invert |
---|
96 | key_portrait = 1 |
---|
97 | ; |
---|
98 | openps, FILENAME = project_od_env+'sst_validation_scatter_2000_2009_v50.ps' |
---|
99 | ; |
---|
100 | ; Give the location of mooring for validation of basic meteorological variables |
---|
101 | ; |
---|
102 | sitelist=['8s67e','12s55e', '8s55e', '8s80.5e', '1.5s80.5e', '0n80.5e', '1.5n80.5e', '1.5s90e', $ |
---|
103 | '0n90e', '1.5n90e', '4n90e','8n90e','12n90e', '15n90e', '5s95e', $ |
---|
104 | '8s165e', '8s180w', '8s155w', '8s125w', '8s110w', '8s95w', '5s156e', '5s165e', '5s180w', '5s170w', $ |
---|
105 | '5s155w', '5s140w', '5s125w', '5s110w', '5s95w', '2s156e', '2s165e', '2s180w', '2s170w', '2s155w', '2s140w', $ |
---|
106 | '2s125w', '2s110w', '2s95w', '0n147e', '0n156e', '0n165e', '0n180w', '0n170w', '0n155w', '0n140w', '0n125w', $ |
---|
107 | '0n110w', '0n95w', '2n147e', '2n156e', '2n165e', '2n180w', '2n170w', '2n155w', '2n140w', '2n125w', '2n110w', $ |
---|
108 | '2n95w', '5n147e', '5n156e', '5n165e', '5n170w', '5n155w', '5n140w', '5n125w', '5n110w', '5n95w', $ |
---|
109 | '8n156e', '8n165e', '8n180w', '8n170w', '9n140w', '8n125w', '8n110w', '8n95w', $ |
---|
110 | '0n0e', '0n10w', '0n23w', '0n35w', '10s10w', '12n23w', '12n38w', '14s32w', '15n38w', '19s34w', '20n38w', $ |
---|
111 | '21n23w', '4n23w', '4n38w', '6s10w', '8n38w', '8s30w'] |
---|
112 | ; |
---|
113 | ocean='global' |
---|
114 | ; |
---|
115 | nsmooth=1. ; statistics are with 7 day smoothed |
---|
116 | ; This program will create the following text files with statistics of respective variables |
---|
117 | close,/all |
---|
118 | ; |
---|
119 | fi_sst_erai=project_id_env+'sst_2000_2009_erai_v50.txt' |
---|
120 | openw,1,fi_sst_erai |
---|
121 | fi_sst_trop=project_id_env+'sst_2000_2009_trop_v50.txt' |
---|
122 | openw,2,fi_sst_trop |
---|
123 | fi_sst_oaflx=project_id_env+'sst_2000_2009_oaflx_v50.txt' |
---|
124 | openw,3,fi_sst_oaflx |
---|
125 | fi_sst_ncep=project_id_env+'sst_2000_2009_ncep_v50.txt' |
---|
126 | openw,4,fi_sst_ncep |
---|
127 | fi_sst_tmi=project_id_env+'sst_2000_2009_tmi_v50.txt' |
---|
128 | openw,5,fi_sst_tmi |
---|
129 | fi_sst_ncep1=project_id_env+'sst_2000_2009_ncep1_v50.txt' |
---|
130 | openw,6,fi_sst_ncep1 |
---|
131 | ; |
---|
132 | printf,1, 'x y cor bias std rmsd mean_tao' |
---|
133 | printf,2, 'x y cor bias std rmsd mean_tao' |
---|
134 | printf,3, 'x y cor bias std rmsd mean_tao' |
---|
135 | printf,4, 'x y cor bias std rmsd mean_tao' |
---|
136 | printf,5, 'x y cor bias std rmsd mean_tao' |
---|
137 | printf,6, 'x y cor bias std rmsd mean_tao' |
---|
138 | ; |
---|
139 | ; first reading the whole ERAI uncorrected and corrected data |
---|
140 | ; |
---|
141 | file=project_id_env+'erai_sst_19890101_20091231_oafluxgrid.nc' |
---|
142 | initncdf, file |
---|
143 | unc=read_ncdf('sst',date1,date2,file=file,/nostr) |
---|
144 | unc=unc-273.15 |
---|
145 | help, unc |
---|
146 | ; |
---|
147 | file=project_id_env+'TropFlux_sst_19890101_20091231_v20.nc' |
---|
148 | initncdf, file |
---|
149 | cor=read_ncdf('sst',date1,date2,file=file,/nostr) |
---|
150 | cor=cor-273.15 |
---|
151 | help, cor |
---|
152 | ; |
---|
153 | file=project_id_env+'OAFlux_basic_variables_1985_2009.nc' |
---|
154 | initncdf, file |
---|
155 | oaf=read_ncdf("sst", date1, date2, file=file,/nostr) |
---|
156 | help, oaf |
---|
157 | ; |
---|
158 | fi=project_id_env+'sst_ncep2_oafluxgrid_19890101_20091231.nc' |
---|
159 | initncdf, fi |
---|
160 | nce=read_ncdf("sst", date1-1, date2, file=fi,/nostr) |
---|
161 | nce=nce-273.15 |
---|
162 | help, nce |
---|
163 | ; |
---|
164 | fi=project_id_env+'tmi_OI_oafluxgrid_30N30S.nc' |
---|
165 | initncdf, fi |
---|
166 | sst_tmi=read_ncdf("sst", date1, date2, file=fi,/nostr) |
---|
167 | help, sst_tmi |
---|
168 | ; |
---|
169 | file=project_id_env+'sst_ncep1_19890101_20091231.nc' |
---|
170 | initncdf, file |
---|
171 | nce1=read_ncdf("sst", date1, date2, file=file,/nostr) |
---|
172 | nce1=nce1-273.15 |
---|
173 | help, nce1 |
---|
174 | ; |
---|
175 | nn=n_elements(sitelist) |
---|
176 | for n=0, nn-1 do begin |
---|
177 | ; |
---|
178 | ; reading data from mooring |
---|
179 | ; |
---|
180 | site=sitelist(n) |
---|
181 | csite=site |
---|
182 | print, csite |
---|
183 | x=x_site_location(site) |
---|
184 | y=y_site_location(site) |
---|
185 | if (y ge 0. and y le 30.) then y=y+360. |
---|
186 | dx=0.5 |
---|
187 | dy=0.5 |
---|
188 | box=[y-dy, y+dy, x-dx, x+dx] |
---|
189 | read_variables_v2, csite,date1,date2,nsmooth, $ |
---|
190 | at, sw,rh,sst,wu,wv,ws,lh |
---|
191 | ; |
---|
192 | ind=where(finite(sst)) |
---|
193 | valid=n_elements(ind) |
---|
194 | ; |
---|
195 | if (valid ge 180) then begin |
---|
196 | ; |
---|
197 | ; extracting the corrected and uncorrected ERAI data at the locations |
---|
198 | nsmooth=1. |
---|
199 | ; |
---|
200 | extract_flux_tropflux,unc,box, $ |
---|
201 | tropflux |
---|
202 | uncr=tropflux |
---|
203 | ; |
---|
204 | extract_flux_tropflux,cor,box, $ |
---|
205 | tropflux |
---|
206 | corr=tropflux |
---|
207 | ; |
---|
208 | extract_flux_tropflux,oaf,box, $ |
---|
209 | tropflux |
---|
210 | oafl=tropflux |
---|
211 | ; |
---|
212 | extract_flux_tropflux,nce,box, $ |
---|
213 | tropflux |
---|
214 | ncep=tropflux |
---|
215 | ; |
---|
216 | extract_flux_tropflux,sst_tmi,box, $ |
---|
217 | tropflux |
---|
218 | tmi=tropflux |
---|
219 | ; |
---|
220 | extract_flux_tropflux,nce1,box, $ |
---|
221 | tropflux |
---|
222 | ncep1=tropflux |
---|
223 | ; |
---|
224 | ind=where(finite(sst)) |
---|
225 | sst=sst(ind) |
---|
226 | uncr_sst=uncr(ind) |
---|
227 | corr_sst=corr(ind) |
---|
228 | oafl=oafl(ind) |
---|
229 | ncep=ncep(ind) |
---|
230 | tmi=tmi(ind) |
---|
231 | ncep1=ncep1(ind) |
---|
232 | mean_tao=total(sst,/nan)/n_elements(ind) |
---|
233 | ; |
---|
234 | statistics_3var_v1, sst, uncr_sst, corr_sst, $ |
---|
235 | cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2 |
---|
236 | ; |
---|
237 | printf, 1, x, y, cor1, bias1, std1, rmsd1, mean_tao, format='(f6.2, 3x, f6.2, 3x, f5.2,3x,f5.2,3x,f4.2,3x,f4.2,3x,f6.2)' |
---|
238 | printf, 2, x, y, cor2, bias2, std2, rmsd2, mean_tao, format='(f6.2, 3x, f6.2, 3x, f5.2,3x,f5.2,3x,f4.2,3x,f4.2,3x,f6.2)' |
---|
239 | ; |
---|
240 | statistics_3var_v1, sst, oafl, ncep, $ |
---|
241 | cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2 |
---|
242 | printf, 3, x, y, cor1, bias1, std1, rmsd1, mean_tao, format='(f6.2, 3x, f6.2, 3x, f5.2,3x,f5.2,3x,f4.2,3x,f4.2,3x,f6.2)' |
---|
243 | printf, 4, x, y, cor2, bias2, std2, rmsd2, mean_tao, format='(f6.2, 3x, f6.2, 3x, f5.2,3x,f6.2,3x,f4.2,3x,f4.2,3x,f6.2)' |
---|
244 | ; |
---|
245 | statistics_3var_v1, sst, tmi, ncep1, $ |
---|
246 | cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2 |
---|
247 | printf, 5, x, y, cor1, bias1, std1, rmsd1, mean_tao, format='(f6.2, 3x, f6.2, 3x, f5.2,3x,f5.2,3x,f4.2,3x,f4.2,3x,f6.2)' |
---|
248 | printf, 6, x, y, cor2, bias2, std2, rmsd2, mean_tao, format='(f6.2, 3x, f6.2, 3x, f5.2,3x,f5.2,3x,f4.2,3x,f4.2,3x,f6.2)' |
---|
249 | ; |
---|
250 | endif |
---|
251 | ; |
---|
252 | endfor |
---|
253 | close,/all |
---|
254 | ; |
---|
255 | fi_sst_erai=project_id_env+'sst_2000_2009_v50_erai.txt' |
---|
256 | res=read_ascii(fi_sst_erai,data_start=1) |
---|
257 | ff=res.field1 |
---|
258 | lat=reform(ff(0,*)) |
---|
259 | lon=reform(ff(1,*)) |
---|
260 | cor_era=reform(ff(2,*)) |
---|
261 | cor_erai=total(cor_era)/n_elements(cor_era) |
---|
262 | bias_era=reform(ff(3,*)) |
---|
263 | bias_erai=total(bias_era)/n_elements(bias_era) |
---|
264 | std_era=reform(ff(4,*)) |
---|
265 | std_erai=total(std_era)/n_elements(std_era) |
---|
266 | rmsd_era=reform(ff(5,*)) |
---|
267 | rmsd_erai=total(rmsd_era)/n_elements(rmsd_era) |
---|
268 | mean_tao=reform(ff(6,*)) |
---|
269 | mean_erai=bias_era+mean_tao |
---|
270 | ; |
---|
271 | print, '' |
---|
272 | print, 'ERAI' |
---|
273 | print, cor_erai, bias_erai, std_erai, rmsd_erai |
---|
274 | cstat=string(cor_erai, bias_erai, std_erai, rmsd_erai, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)') |
---|
275 | splot, mean_tao, mean_erai, title='SST - TAO Vs ERAI', subtitle='', $ |
---|
276 | charsize=1.1, xtitle='TAO SST', ytitle='ERAI SST', small=[2,3,1], psym=2, $ |
---|
277 | xrange=[22,31], yrange=[22,31], xmin=1,ymin=1 |
---|
278 | xyouts, 22.3,30.2, cstat, charsize=0.9 |
---|
279 | xyouts, 22.3,29.5, 'cor bias std rmsd', charsize=0.9 |
---|
280 | ; |
---|
281 | oplot, [22,31], [22,31] |
---|
282 | ab=linfit(mean_tao, mean_erai,yfit=yfit) |
---|
283 | a=float(ab(0)) |
---|
284 | b=float(ab(1)) |
---|
285 | oplot, mean_tao, yfit, color=250, thick=2 |
---|
286 | ; |
---|
287 | fi_sst_trop=project_id_env+'sst_2000_2009_v50_trop.txt' |
---|
288 | res=read_ascii(fi_sst_trop,data_start=1) |
---|
289 | ff=res.field1 |
---|
290 | lat=reform(ff(0,*)) |
---|
291 | lon=reform(ff(1,*)) |
---|
292 | cor_tro=reform(ff(2,*)) |
---|
293 | cor_trop=total(cor_tro)/n_elements(cor_tro) |
---|
294 | bias_tro=reform(ff(3,*)) |
---|
295 | bias_trop=total(bias_tro)/n_elements(bias_tro) |
---|
296 | std_tro=reform(ff(4,*)) |
---|
297 | std_trop=total(std_tro)/n_elements(std_tro) |
---|
298 | rmsd_tro=reform(ff(5,*)) |
---|
299 | rmsd_trop=total(rmsd_tro)/n_elements(rmsd_tro) |
---|
300 | mean_tao=reform(ff(6,*)) |
---|
301 | mean_trop=bias_tro+mean_tao |
---|
302 | ; |
---|
303 | print, '' |
---|
304 | print, 'TropFlux' |
---|
305 | print, cor_trop, bias_trop, std_trop, rmsd_trop |
---|
306 | cstat=string(cor_trop, bias_trop, std_trop, rmsd_trop, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)') |
---|
307 | ; |
---|
308 | splot, mean_tao, mean_trop, title='SST - TAO Vs TropFlux', subtitle='', $ |
---|
309 | charsize=1.1, xtitle='TAO SST', ytitle='TropFlux SST', small=[2,3,2],/noer, psym=2, $ |
---|
310 | xrange=[22,31], yrange=[22,31], xmin=1,ymin=1 |
---|
311 | oplot, [22,31], [22,31] |
---|
312 | xyouts, 22.3,30.2, cstat, charsize=0.9 |
---|
313 | xyouts, 22.3,29.5, 'cor bias std rmsd', charsize=0.9 |
---|
314 | ; |
---|
315 | ab=linfit(mean_tao, mean_trop,yfit=yfit) |
---|
316 | a=float(ab(0)) |
---|
317 | b=float(ab(1)) |
---|
318 | oplot, mean_tao, yfit, color=250, thick=2 |
---|
319 | ; |
---|
320 | fi_sst_oaflx=project_id_env+'sst_2000_2009_v50_oaflx.txt' |
---|
321 | res=read_ascii(fi_sst_oaflx,data_start=1) |
---|
322 | ff=res.field1 |
---|
323 | lat=reform(ff(0,*)) |
---|
324 | lon=reform(ff(1,*)) |
---|
325 | cor_oaf=reform(ff(2,*)) |
---|
326 | cor_oafl=total(cor_oaf)/n_elements(cor_oaf) |
---|
327 | bias_oaf=reform(ff(3,*)) |
---|
328 | bias_oafl=total(bias_oaf)/n_elements(bias_oaf) |
---|
329 | std_oaf=reform(ff(4,*)) |
---|
330 | std_oafl=total(std_oaf)/n_elements(std_oaf) |
---|
331 | rmsd_oaf=reform(ff(5,*)) |
---|
332 | rmsd_oafl=total(rmsd_oaf)/n_elements(rmsd_oaf) |
---|
333 | mean_tao=reform(ff(6,*)) |
---|
334 | mean_oafl=bias_oaf+mean_tao |
---|
335 | ; |
---|
336 | print, '' |
---|
337 | print, 'OAFlux' |
---|
338 | print, cor_oafl, bias_oafl, std_oafl, rmsd_oafl |
---|
339 | cstat=string(cor_oafl, bias_oafl, std_oafl, rmsd_oafl, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)') |
---|
340 | ; |
---|
341 | splot, mean_tao, mean_oafl, title='SST - TAO Vs OAFlux', subtitle='', $ |
---|
342 | charsize=1.1, xtitle='TAO SST', ytitle='OAFlux SST', small=[2,3,3],/noer, psym=2, $ |
---|
343 | xrange=[22,31], yrange=[22,31], xmin=1,ymin=1 |
---|
344 | oplot, [22,31], [22,31] |
---|
345 | xyouts, 22.3,30.2, cstat, charsize=0.9 |
---|
346 | xyouts, 22.3,29.5, 'cor bias std rmsd', charsize=0.9 |
---|
347 | ; |
---|
348 | ab=linfit(mean_tao, mean_oafl,yfit=yfit) |
---|
349 | a=float(ab(0)) |
---|
350 | b=float(ab(1)) |
---|
351 | oplot, mean_tao, yfit, color=250, thick=2 |
---|
352 | ; |
---|
353 | fi_sst_ncep=project_id_env+'sst_2000_2009_v50_ncep.txt' |
---|
354 | res=read_ascii(fi_sst_ncep,data_start=1) |
---|
355 | ff=res.field1 |
---|
356 | lat=reform(ff(0,*)) |
---|
357 | lon=reform(ff(1,*)) |
---|
358 | cor_nce=reform(ff(2,*)) |
---|
359 | cor_ncep=total(cor_nce)/n_elements(cor_nce) |
---|
360 | bias_nce=reform(ff(3,*)) |
---|
361 | bias_ncep=total(bias_nce)/n_elements(bias_nce) |
---|
362 | std_nce=reform(ff(4,*)) |
---|
363 | std_ncep=total(std_nce)/n_elements(std_nce) |
---|
364 | rmsd_nce=reform(ff(5,*)) |
---|
365 | rmsd_ncep=total(rmsd_nce)/n_elements(rmsd_nce) |
---|
366 | mean_tao=reform(ff(6,*)) |
---|
367 | mean_ncep=bias_nce+mean_tao |
---|
368 | ; |
---|
369 | print, '' |
---|
370 | print, 'NCEP2' |
---|
371 | print, cor_ncep, bias_ncep, std_ncep, rmsd_ncep |
---|
372 | cstat=string(cor_ncep, bias_ncep, std_ncep, rmsd_ncep, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)') |
---|
373 | ; |
---|
374 | splot, mean_tao, mean_ncep, title='SST - TAO Vs NCEP2', subtitle='', $ |
---|
375 | charsize=1.1, xtitle='TAO SST', ytitle='NCEP2 SST', small=[2,3,4],/noer, psym=2, $ |
---|
376 | xrange=[22,31], yrange=[22,31], xmin=1,ymin=1 |
---|
377 | oplot, [22,31], [22,31] |
---|
378 | xyouts, 22.3,30.2, cstat, charsize=0.9 |
---|
379 | xyouts, 22.3,29.5, 'cor bias std rmsd', charsize=0.9 |
---|
380 | ; |
---|
381 | ab=linfit(mean_tao, mean_ncep,yfit=yfit) |
---|
382 | a=float(ab(0)) |
---|
383 | b=float(ab(1)) |
---|
384 | oplot, mean_tao, yfit, color=250, thick=2 |
---|
385 | ; |
---|
386 | fi_sst_tmi=project_id_env+'sst_2000_2009_v50_tmi.txt' |
---|
387 | res=read_ascii(fi_sst_tmi,data_start=1) |
---|
388 | ff=res.field1 |
---|
389 | lat=reform(ff(0,*)) |
---|
390 | lon=reform(ff(1,*)) |
---|
391 | cor_tm=reform(ff(2,*)) |
---|
392 | cor_tmi=total(cor_tm)/n_elements(cor_tm) |
---|
393 | bias_tm=reform(ff(3,*)) |
---|
394 | bias_tmi=total(bias_tm)/n_elements(bias_tm) |
---|
395 | std_tm=reform(ff(4,*)) |
---|
396 | std_tmi=total(std_tm)/n_elements(std_tm) |
---|
397 | rmsd_tm=reform(ff(5,*)) |
---|
398 | rmsd_tmi=total(rmsd_tm)/n_elements(rmsd_tm) |
---|
399 | mean_tao=reform(ff(6,*)) |
---|
400 | mean_tmi=bias_tm+mean_tao |
---|
401 | ; |
---|
402 | print, '' |
---|
403 | print, 'TMI' |
---|
404 | print, cor_tmi, bias_tmi, std_tmi, rmsd_tmi |
---|
405 | cstat=string(cor_tmi, bias_tmi, std_tmi, rmsd_tmi, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)') |
---|
406 | ; |
---|
407 | splot, mean_tao, mean_tmi, title='SST - TAO Vs TMI', subtitle='', $ |
---|
408 | charsize=1.1, xtitle='TAO SST', ytitle='TMI SST', small=[2,3,5],/noer, psym=2, $ |
---|
409 | xrange=[22,31], yrange=[22,31], xmin=1,ymin=1 |
---|
410 | oplot, [22,31], [22,31] |
---|
411 | xyouts, 22.3,30.2, cstat, charsize=0.9 |
---|
412 | xyouts, 22.3,29.5, 'cor bias std rmsd', charsize=0.9 |
---|
413 | ; |
---|
414 | ab=linfit(mean_tao, mean_tmi,yfit=yfit) |
---|
415 | a=float(ab(0)) |
---|
416 | b=float(ab(1)) |
---|
417 | oplot, mean_tao, yfit, color=250, thick=2 |
---|
418 | ; |
---|
419 | fi_sst_ncep1=project_id_env+'sst_2000_2009_v50_ncep1.txt' |
---|
420 | res=read_ascii(fi_sst_ncep1,data_start=1) |
---|
421 | ff=res.field1 |
---|
422 | lat=reform(ff(0,*)) |
---|
423 | lon=reform(ff(1,*)) |
---|
424 | cor_nce=reform(ff(2,*)) |
---|
425 | cor_ncep=total(cor_nce)/n_elements(cor_nce) |
---|
426 | bias_nce=reform(ff(3,*)) |
---|
427 | bias_ncep=total(bias_nce)/n_elements(bias_nce) |
---|
428 | std_nce=reform(ff(4,*)) |
---|
429 | std_ncep=total(std_nce)/n_elements(std_nce) |
---|
430 | rmsd_nce=reform(ff(5,*)) |
---|
431 | rmsd_ncep=total(rmsd_nce)/n_elements(rmsd_nce) |
---|
432 | mean_tao=reform(ff(6,*)) |
---|
433 | mean_ncep=bias_nce+mean_tao |
---|
434 | ; |
---|
435 | print, '' |
---|
436 | print, 'NCEP1' |
---|
437 | print, cor_ncep, bias_ncep, std_ncep, rmsd_ncep |
---|
438 | cstat=string(cor_ncep, bias_ncep, std_ncep, rmsd_ncep, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)') |
---|
439 | ; |
---|
440 | splot, mean_tao, mean_ncep, title='SST - TAO Vs NCEP_NCAR', subtitle='', $ |
---|
441 | charsize=1.1, xtitle='TAO SST', ytitle='NCEP SST', small=[2,3,6],/noer, psym=2, $ |
---|
442 | xrange=[22,31], yrange=[22,31], xmin=1,ymin=1 |
---|
443 | oplot, [22,31], [22,31] |
---|
444 | xyouts, 22.3,30.2, cstat, charsize=0.9 |
---|
445 | xyouts, 22.3,29.5, 'cor bias std rmsd', charsize=0.9 |
---|
446 | ; |
---|
447 | ab=linfit(mean_tao, mean_ncep,yfit=yfit) |
---|
448 | a=float(ab(0)) |
---|
449 | b=float(ab(1)) |
---|
450 | oplot, mean_tao, yfit, color=250, thick=2 |
---|
451 | ; |
---|
452 | closeps |
---|
453 | ; |
---|
454 | end |
---|