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

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

replace TROPFLUX by PROJECT

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