source: trunk/src/paper01/fig14/whots_validation_net_2004_2007_all_v10.pro @ 46

Last change on this file since 46 was 46, checked in by pinsard, 13 years ago

going on consolidation of paper01 materials

File size: 17.3 KB
Line 
1;+
2; .. _whots_validation_net_2004_2007_all_v10.pro:
3;
4; ==========================================
5; whots_validation_net_2004_2007_all_v10.pro
6; ==========================================
7;
8; DESCRIPTION
9; ===========
10;
11; .. graphviz::
12;
13;    digraph whots_validation_net_2004_2007_all_v10 {
14;       graph [
15;       rankdir="LR",
16;       ]
17;       met_data [shape=ellipse,fontname=Courier,label="${TROPFLUX_ID}/met_data_WHOTS_200?_200?.txt"];
18;       swr_erai [shape=ellipse,fontname=Courier,label="${TROPFLUX_ID}/erai_swr_19910101_20091231_oafluxgrid.nc"];
19;       lwr_erai [shape=ellipse,fontname=Courier,label="${TROPFLUX_ID}/erai_lwr_19910101_20091231_oafluxgrid.nc"];
20;       lhf_erai [shape=ellipse,fontname=Courier,label="${TROPFLUX_ID}/erai_lhf_19910101_20091231_oafluxgrid.nc"];
21;       shf_erai [shape=ellipse,fontname=Courier,label="${TROPFLUX_ID}/erai_shf_19910101_20091231_oafluxgrid.nc"];
22;       tropflux_general [shape=ellipse,fontname=Courier,label="${TROPFLUX_ID}/TropFlux_19890101_20091231.nc"];
23;       swr_tropflux_nrt [shape=ellipse,fontname=Courier,label="${TROPFLUX_ID}/TropFlux_swr_19890101_20091231_NRT_v50.nc"];
24;       swr_oafluxgrid [shape=ellipse,fontname=Courier,label="${TROPFLUX_ID}/swr_oafluxgrid_1985_2007.nc"];
25;       lwr_oafluxgrid [shape=ellipse,fontname=Courier,label="${TROPFLUX_ID}/lwr_oafluxgrid_1985_2007.nc"];
26;       lhf_oafluxgrid [shape=ellipse,fontname=Courier,label="${TROPFLUX_ID}/lhf_oafluxgrid_1985_2007.nc"];
27;       shf_oafluxgrid [shape=ellipse,fontname=Courier,label="${TROPFLUX_ID}/shf_oafluxgrid_1985_2007.nc"];
28;       swr_ncep2 [shape=ellipse,fontname=Courier,label="${TROPFLUX_ID}/swr_ncep2_oaflxgrid_19890101_20091231.nc"];
29;       lwr_ncep2 [shape=ellipse,fontname=Courier,label="${TROPFLUX_ID}/NCEP2_flux_19890101_20090729.nc"];
30;       lhf_ncep2 [shape=ellipse,fontname=Courier,label="${TROPFLUX_ID}/lhf_ncep2_oafluxgrid_19890101_20091231.nc"];
31;       shf_ncep2 [shape=ellipse,fontname=Courier,label="${TROPFLUX_ID}/shf_ncep2_oafluxgrid_19890101_20091231.nc"];
32;
33;       ncep1 [shape=ellipse,fontname=Courier,label="${TROPFLUX_ID}/ncep1_flux_19890101_20091231.nc"];
34;
35;       figure [shape=ellipse,fontname=Courier,label="${TROPFLUX_OD}/WHOTS_validation_net_2004_2007_all_v10.ps"];
36;
37;       whots_validation_net_2004_2007_all_v10 [shape=box,
38;       fontname=Courier,
39;       color=blue,
40;       URL="http://forge.ipsl.jussieu.fr/tropflux/broswrer/trunk/src/paper01/fig14/whots_validation_net_2004_2007_all_v10.pro",
41;       label="${TROPFLUX}/src/paper01/fig14/whots_validation_net_2004_2007_all_v10.pro"];
42;
43;       {met_data swr_erai  lwr_erai lhf_erai shf_erai tropflux_general swr_tropflux_nrt swr_oafluxgrid lwr_oafluxgrid lhf_oafluxgrid shf_oafluxgrid swr_ncep2 lwr_ncep2 lhf_ncep2 shf_ncep2 ncep1} -> {whots_validation_net_2004_2007_all_v10} -> {figure}
44;    }
45;
46; SEE ALSO
47; ========
48;
49; :ref:`tropflux_profile.sh`
50; :ref:`tropflux_init.pro`
51; :ref:`cm_tropflux.pro`
52;
53; :ref:`statistics.pro`
54;
55; EXAMPLES
56; ========
57;
58; ::
59;
60;  IDL> @tropflux_init
61;  IDL> whots_validation_net_2004_2007_all_v10
62;
63; TODO
64; ====
65;
66; make it work on cratos : missing data
67;
68; coding rules
69;
70; get rid of spwan
71;
72; complete description
73;
74; handle IO error
75;
76; EVOLUTIONS
77; ==========
78;
79; $Id$
80;
81; - fplod 20110420T122057Z aedon.locean-ipsl.upmc.fr (Darwin)
82;
83;   * remove hard coding path
84;   * add graphviz
85;
86; - fplod 20110411T142955Z aedon.locean-ipsl.upmc.fr (Darwin)
87;
88;   * minimal header
89;
90;-
91pro whots_validation_net_2004_2007_all_v10
92@cm_general
93@cm_tropflux
94reinitplt, /z,/invert
95key_portrait = 1
96coefpalit=.9
97
98openps, FILENAME = 'idl.ps'
99; partie a changer
100
101;; WHOTS in the NC pacific  2004-09
102;22.45N, 157.54W (202.46E)
103box=[202, 203, 22., 23.]
104
105;; first leg
106
107fi=tropflux_id_env+"met_data_WHOTS_2004_2005.txt"
108res=read_ascii(fi,data_start=1)
109ff=res.field1
110lhf_04=reform(ff(5,*))
111shf_04=reform(ff(6,*))
112swr_04=reform(ff(7,*))/0.93
113lwr_04=reform(ff(8,*))
114net_04=[lhf_04+shf_04+swr_04+lwr_04]
115
116fi=tropflux_id_env+"met_data_WHOTS_2005_2006.txt"
117res=read_ascii(fi,data_start=1)
118ff=res.field1
119lhf_05=reform(ff(5,*))
120shf_05=reform(ff(6,*))
121swr_05=reform(ff(7,*))/0.93
122lwr_05=reform(ff(8,*))
123net_05=[lhf_05+shf_05+swr_05+lwr_05]
124
125fi=tropflux_id_env+"met_data_WHOTS_2006_2007.txt"
126res=read_ascii(fi,data_start=1)
127ff=res.field1
128lhf_06=reform(ff(5,*))
129shf_06=reform(ff(6,*))
130swr_06=reform(ff(7,*))/0.93
131lwr_06=reform(ff(8,*))
132net_06=[lhf_06+shf_06+swr_06+lwr_06]
133
134net=[net_04, net_05, net_06]
135
136help, net
137
138;; reading other data sets
139
140st1=20040813 & en1=20050725
141st2=20050728 & en2=20060624
142st3=20060627 & en3=20070628
143;st4=20070626 & en4=20080606
144;st5=20080605 & en5=20090715
145
146file=tropflux_id_env+'erai_lhf_19890101_20091231_oafluxgrid.nc'
147initncdf, file
148lhf1=-1*read_ncdf('lhf',st1,en1,file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy", box=box,/nan) & lhf1=reform(lhf1)
149lhf2=-1*read_ncdf('lhf',st2,en2,file=file,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy", box=box,/nan) & lhf2=reform(lhf2)
150lhf3=-1*read_ncdf('lhf',st3,en3,file=file,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy", box=box,/nan) & lhf3=reform(lhf3)
151
152file=tropflux_id_env+'erai_shf_19890101_20091231_oafluxgrid.nc'
153initncdf, file
154shf1=-1*read_ncdf('shf',st1,en1,file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy", box=box,/nan) & shf1=reform(shf1)
155shf2=-1*read_ncdf('shf',st2,en2,file=file,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy", box=box,/nan) & shf2=reform(shf2)
156shf3=-1*read_ncdf('shf',st3,en3,file=file,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy", box=box,/nan) & shf3=reform(shf3)
157
158file=tropflux_id_env+'erai_lwr_19890101_20091231_oafluxgrid.nc'
159initncdf, file
160lwr1=read_ncdf('lwr',st1-1,en1,file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy", box=box,/nan) & lwr1=reform(lwr1)
161lwr2=read_ncdf('lwr',st2-1,en2,file=file,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy", box=box,/nan) & lwr2=reform(lwr2)
162lwr3=read_ncdf('lwr',st3-1,en3,file=file,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy", box=box,/nan) & lwr3=reform(lwr3)
163
164file=tropflux_id_env+"erai_swr_19910101_20091231_oafluxgrid.nc"
165initncdf, file
166swr1=read_ncdf('swr',st1,en1,file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy", box=box,/nan) & swr1=reform(swr1)
167swr2=read_ncdf('swr',st2,en2,file=file,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy", box=box,/nan) & swr2=reform(swr2)
168swr3=read_ncdf('swr',st3,en3,file=file,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy", box=box,/nan) & swr3=reform(swr3)
169
170net1=swr1+(lwr1+shf1+lhf1) & net2=swr2+(lwr2+shf2+lhf2) & net3=swr3+(lwr3+shf3+lhf3)
171era=[net1,net2,net3]
172lhf1=0. & lhf2=0. & lhf3=0.
173shf1=0. & shf2=0. & shf3=0.
174lwr1=0. & lwr2=0. & lwr3=0.
175swr1=0. & swr2=0. & swr3=0.
176net1=0. & net2=0. & net3=0.
177help, era
178
179file=tropflux_id_env+"TropFlux_19890101_20091231.nc"
180initncdf, file
181
182lhf1=read_ncdf('lhf',st1,en1,file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy", box=box,/nan) & lhf1=reform(lhf1)
183lhf2=read_ncdf('lhf',st2,en2,file=file,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy", box=box,/nan) & lhf2=reform(lhf2)
184lhf3=read_ncdf('lhf',st3,en3,file=file,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy", box=box,/nan) & lhf3=reform(lhf3)
185
186shf1=read_ncdf('shf',st1,en1,file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy", box=box,/nan) & shf1=reform(shf1)
187shf2=read_ncdf('shf',st2,en2,file=file,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy", box=box,/nan) & shf2=reform(shf2)
188shf3=read_ncdf('shf',st3,en3,file=file,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy", box=box,/nan) & shf3=reform(shf3)
189
190lwr1=read_ncdf('lwr',st1,en1,file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy", box=box,/nan) & lwr1=reform(lwr1)
191lwr2=read_ncdf('lwr',st2,en2,file=file,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy", box=box,/nan) & lwr2=reform(lwr2)
192lwr3=read_ncdf('lwr',st3,en3,file=file,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy", box=box,/nan) & lwr3=reform(lwr3)
193
194swr1=read_ncdf('swr',st1,en1,file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy", box=box,/nan) & swr1=reform(swr1)
195swr2=read_ncdf('swr',st2,en2,file=file,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy", box=box,/nan) & swr2=reform(swr2)
196swr3=read_ncdf('swr',st3,en3,file=file,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy", box=box,/nan) & swr3=reform(swr3)
197
198file=tropflux_id_env+"TropFlux_swr_19890101_20091231_NRT_v50.nc"
199initncdf, file
200olr1=read_ncdf("sw", st1-1, en1, file=file,/nostr, box=box) & olr1=grossemoyenne(olr1, "xy",/nan, box=box) & olr1=reform(olr1)
201olr2=read_ncdf("sw", st2-1, en2, file=file,/nostr, box=box) & olr2=grossemoyenne(olr2, "xy",/nan, box=box) & olr2=reform(olr2)
202olr3=read_ncdf("sw", st3-1, en3, file=file,/nostr, box=box) & olr3=grossemoyenne(olr3, "xy",/nan, box=box) & olr3=reform(olr3)
203
204net1=swr1+lwr1+(shf1+lhf1) & net2=swr2+lwr2+(shf2+lhf2) & net3=swr3+lwr3+(shf3+lhf3)
205neto_1=olr1+lwr1+lhf1+shf1 & neto_2=olr2+lwr2+lhf2+shf2 & neto_3=olr3+lwr3+lhf3+shf3
206
207trop=[net1,net2,net3] & olr=[neto_1,neto_2,neto_3]
208
209lhf1=0. & lhf2=0. & lhf3=0.
210shf1=0. & shf2=0. & shf3=0.
211lwr1=0. & lwr2=0. & lwr3=0.
212swr1=0. & swr2=0. & swr3=0.
213net1=0. & net2=0. & net3=0.
214neto_1=0 & neto_2=0 & neto_3=0
215
216help, trop, olr
217
218file=tropflux_id_env+'swr_oafluxgrid_1985_2007.nc'
219initncdf, file
220swr1=read_ncdf("swr", st1, en1, file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy",/nan, box=box) & swr1=reform(swr1)
221swr2=read_ncdf("swr", st2, en2, file=file,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy",/nan, box=box) & swr2=reform(swr2)
222swr3=read_ncdf("swr", st3, en3, file=file,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy",/nan, box=box) & swr3=reform(swr3)
223
224file=tropflux_id_env+'lwr_oafluxgrid_1985_2007.nc'
225initncdf, file
226lwr1=-1*read_ncdf("lwr", st1, en1, file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy",/nan, box=box) & lwr1=reform(lwr1)
227lwr2=-1*read_ncdf("lwr", st2, en2, file=file,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy",/nan, box=box) & lwr2=reform(lwr2)
228lwr3=-1*read_ncdf("lwr", st3, en3, file=file,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy",/nan, box=box) & lwr3=reform(lwr3)
229
230file=tropflux_id_env+'lhf_oafluxgrid_1985_2009.nc'
231initncdf, file
232lhf1=-1*read_ncdf("lhf", st1, en1, file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy",/nan, box=box) & lhf1=reform(lhf1)
233lhf2=-1*read_ncdf("lhf", st2, en2, file=file,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy",/nan, box=box) & lhf2=reform(lhf2)
234lhf3=-1*read_ncdf("lhf", st3, en3, file=file,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy",/nan, box=box) & lhf3=reform(lhf3)
235
236file=tropflux_id_env+'shf_oafluxgrid_1985_2009.nc'
237initncdf, file
238shf1=-1*read_ncdf("shf", st1, en1, file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy",/nan, box=box) & shf1=reform(shf1)
239shf2=-1*read_ncdf("shf", st2, en2, file=file,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy",/nan, box=box) & shf2=reform(shf2)
240shf3=-1*read_ncdf("shf", st3, en3, file=file,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy",/nan, box=box) & shf3=reform(shf3)
241
242net1=swr1+lwr1+lhf1+shf1 & net2=swr2+lwr2+lhf2+shf2 & net3=swr3+lwr3+lhf3+shf3
243
244oaf=[net1,net2,net3]
245lhf1=0. & lhf2=0. & lhf3=0.
246shf1=0. & shf2=0. & shf3=0.
247lwr1=0. & lwr2=0. & lwr3=0.
248swr1=0. & swr2=0. & swr3=0.
249net1=0. & net2=0. & net3=0.
250help, oaf
251
252fi=tropflux_id_env+'swr_ncep2_oaflxgrid_19890101_20091231.nc'
253initncdf, fi
254swr1=read_ncdf("swr", st1, en1, file=fi,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy",/nan, box=box) & swr1=reform(swr1)
255swr2=read_ncdf("swr", st2, en2, file=fi,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy",/nan, box=box) & swr2=reform(swr2)
256swr3=read_ncdf("swr", st3, en3, file=fi,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy",/nan, box=box) & swr3=reform(swr3)
257
258fi=tropflux_id_env+'NCEP2_flux_19890101_20090729.nc"
259initncdf, fi
260lwr1=-1*read_ncdf("lwr", st1, en1, file=fi,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy",/nan, box=box) & lwr1=reform(lwr1)
261lwr2=-1*read_ncdf("lwr", st2, en2, file=fi,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy",/nan, box=box) & lwr2=reform(lwr2)
262lwr3=-1*read_ncdf("lwr", st3, en3, file=fi,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy",/nan, box=box) & lwr3=reform(lwr3)
263
264fi=tropflux_id_env+'lhf_ncep2_oafluxgrid_19890101_20091231.nc'
265initncdf, fi
266lhf1=-1*read_ncdf("lhf", st1, en1, file=fi,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy",/nan, box=box) & lhf1=reform(lhf1)
267lhf2=-1*read_ncdf("lhf", st2, en2, file=fi,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy",/nan, box=box) & lhf2=reform(lhf2)
268lhf3=-1*read_ncdf("lhf", st3, en3, file=fi,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy",/nan, box=box) & lhf3=reform(lhf3)
269
270fi=tropflux_id_env+'shf_ncep2_oafluxgrid_19890101_20091231.nc'
271initncdf, fi
272shf1=-1*read_ncdf("shf", st1, en1, file=fi,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy",/nan, box=box) & shf1=reform(shf1)
273shf2=-1*read_ncdf("shf", st2, en2, file=fi,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy",/nan, box=box) & shf2=reform(shf2)
274shf3=-1*read_ncdf("shf", st3, en3, file=fi,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy",/nan, box=box) & shf3=reform(shf3)
275
276net1=swr1+lwr1+lhf1+shf1 & net2=swr2+lwr2+lhf2+shf2 & net3=swr3+lwr3+lhf3+shf3
277
278nce2=[net1,net2,net3]
279help, nce2
280
281lhf1=0. & lhf2=0. & lhf3=0.
282shf1=0. & shf2=0. & shf3=0.
283lwr1=0. & lwr2=0. & lwr3=0.
284swr1=0. & swr2=0. & swr3=0.
285net1=0. & net2=0. & net3=0.
286
287file=tropflux_id_env+"ncep1_flux_19890101_20091231.nc"
288initncdf, file
289
290lhf1=read_ncdf('lhf',st1,en1,file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy", box=box,/nan) & lhf1=reform(lhf1)
291lhf2=read_ncdf('lhf',st2,en2,file=file,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy", box=box,/nan) & lhf2=reform(lhf2)
292lhf3=read_ncdf('lhf',st3,en3,file=file,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy", box=box,/nan) & lhf3=reform(lhf3)
293
294shf1=read_ncdf('shf',st1,en1,file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy", box=box,/nan) & shf1=reform(shf1)
295shf2=read_ncdf('shf',st2,en2,file=file,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy", box=box,/nan) & shf2=reform(shf2)
296shf3=read_ncdf('shf',st3,en3,file=file,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy", box=box,/nan) & shf3=reform(shf3)
297
298lwr1=read_ncdf('lwr',st1,en1,file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy", box=box,/nan) & lwr1=reform(lwr1)
299lwr2=read_ncdf('lwr',st2,en2,file=file,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy", box=box,/nan) & lwr2=reform(lwr2)
300lwr3=read_ncdf('lwr',st3,en3,file=file,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy", box=box,/nan) & lwr3=reform(lwr3)
301
302swr1=read_ncdf('swr',st1,en1,file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy", box=box,/nan) & swr1=reform(swr1)
303swr2=read_ncdf('swr',st2,en2,file=file,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy", box=box,/nan) & swr2=reform(swr2)
304swr3=read_ncdf('swr',st3,en3,file=file,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy", box=box,/nan) & swr3=reform(swr3)
305
306net1=swr1+(lwr1+shf1+lhf1) & net2=swr2+(lwr2+shf2+lhf2) & net3=swr3+(lwr3+shf3+lhf3)
307nce1=[net1,net2,net3]
308help, nce1
309
310lhf1=0. & lhf2=0. & lhf3=0.
311shf1=0. & shf2=0. & shf3=0.
312lwr1=0. & lwr2=0. & lwr3=0.
313swr1=0. & swr2=0. & swr3=0.
314net1=0. & net2=0. & net3=0.
315
316ind=where(finite(net))
317net=net(ind) & era=era(ind) & trop=trop(ind) & oaf=oaf(ind)
318nce2=nce2(ind) & nce1=nce1(ind) & olr=olr(ind)
319
320
321statistics, net, era, $
322                 cor, bias, std, rmsd
323print, cor, bias, std,  rmsd
324cstat_era=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
325
326statistics, net, trop, $
327                 cor, bias, std, rmsd
328print, cor, bias, std,  rmsd
329cstat_trop=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
330
331statistics, net, oaf, $
332                 cor, bias, std, rmsd
333print, cor, bias, std,  rmsd
334cstat_oaf=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
335
336statistics, net, nce1, $
337                 cor, bias, std, rmsd
338print, cor, bias, std,  rmsd
339cstat_nce1=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
340
341statistics, net, nce2, $
342                 cor, bias, std, rmsd
343print, cor, bias, std,  rmsd
344cstat_nce2=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
345
346statistics, net, olr, $
347                 cor, bias, std, rmsd
348print, cor, bias, std,  rmsd
349cstat_olr=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
350
351
352splot, net, era, charsize=1.1, title='Net Flux - WHOTS Vs ERAI', $
353     xrange=[-250,250], yrange=[-250,250], small=[2,3,1], psym=2, xmin=1, ymin=1
354oplot, [-250,250], [-250,250]
355xyouts, 0,-200, cstat_era, charsize=1.
356
357splot, net, trop, charsize=1.1, title='Net Flux - WHOTS Vs TropFlux',/noer, $
358     xrange=[-250,250], yrange=[-250,250], small=[2,3,2], psym=2, xmin=1, ymin=1
359oplot, [-250,250], [-250,250]
360xyouts, 0,-200, cstat_trop, charsize=1.
361
362splot, net, oaf, charsize=1.1, title='Net Flux - WHOTS Vs OAFlux',/noer, $
363     xrange=[-250,250], yrange=[-250,250], small=[2,3,3], psym=2, xmin=1, ymin=1
364oplot, [-250,250], [-250,250]
365xyouts, 0,-200, cstat_oaf, charsize=1.
366
367splot, net, nce1, charsize=1.1, title='Net Flux - WHOTS Vs NCEP1',/noer, $
368     xrange=[-250,250], yrange=[-250,250], small=[2,3,4], psym=2, xmin=1, ymin=1
369oplot, [-250,250], [-250,250]
370xyouts, 0,-200, cstat_nce1, charsize=1.
371
372splot, net, nce2, charsize=1.1, title='Net Flux - WHOTS Vs NCEP2',/noer, $
373     xrange=[-250,250], yrange=[-250,250], small=[2,3,5], psym=2, xmin=1, ymin=1
374oplot, [-250,250], [-250,250]
375xyouts, 0,-200, cstat_nce2, charsize=1.
376
377splot, net, olr, charsize=1.1, title='Net Flux - WHOTS Vs TropFlux_NRT',/noer, $
378     xrange=[-250,250], yrange=[-250,250], small=[2,3,6], psym=2, xmin=1, ymin=1
379oplot, [-250,250], [-250,250]
380xyouts, 0,-200, cstat_olr, charsize=1.
381
382closeps
383fig=tropflux_od_env+"WHOTS_validation_net_2004_2007_all_v10.ps"
384spawn, 'mv '+psdir+'idl.ps '+fig
385spawn, 'gv '+fig
386end
Note: See TracBrowser for help on using the repository browser.