Index: /trunk/src/paper01/fig1/fig1_no_obs_map.pro
===================================================================
--- /trunk/src/paper01/fig1/fig1_no_obs_map.pro	(revision 41)
+++ /trunk/src/paper01/fig1/fig1_no_obs_map.pro	(revision 41)
@@ -0,0 +1,189 @@
+;------------------------------------------------------------
+pro fig1_no_obs_map
+@common
+;------------------------------------------------------------
+
+reinitplt, /z,/invert
+key_portrait = 1
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+close,/all
+
+yr=365.
+lh_mi=365/yr & lh_ma=3285/yr & lh_int=0.25
+sw_mi=365/yr & sw_ma=3285/yr & sw_int=0.25
+lw_mi=365/yr & lw_ma=1460/yr & lw_int=0.125
+lct=65
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/gridded_data/mask_oaflux_30N30S.nc'
+initncdf, file
+domdef, 30,390,-30,30
+msk=ncdf_lec(file,var='msk')
+
+fi='/Users/pkb/work/MY_SAXO/flux_automat/lhf_no_obs.txt'
+res=read_ascii(fi,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+no=reform(ff(2,*))
+no=no/yr
+;ind=where(no ge lh_ma) & no(ind)=no-0.5
+
+marge1=[0,0,-5,0]
+plt, .4+msk*1.e-5,realcont=2,/nocont,/nofill,xminor=1,yminor=1,box=box,lct=lct, lh_mi, lh_ma, int=lh_int, $
+   title='a) Turbulent Flux validation sites', subtitle='', small=[1,4,1],/rempl, marge=marge1, format='(i5)'
+NN=n_elements(lat)
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5],/fill
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=no(n)
+  cmi=lh_mi & cma=lh_ma & dc=cma-cmi
+  col=((10+244*(c-cmi)/dc) > 10) < 254
+  plots, x,y,psym=8,symsize=1.5,color=col
+endfor
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5]
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=no(n)
+
+  plots, x,y,psym=8,symsize=1.5,color=0
+endfor
+
+fi='/Users/pkb/work/MY_SAXO/flux_automat/sw_no_obs.txt'
+res=read_ascii(fi,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+no=reform(ff(2,*))
+no=no/yr
+;ind=where(no ge sw_ma) & no(ind)=sw_ma-0.5
+marge1=[0,0,-5,0]
+plt, .4+msk*1.e-5,realcont=2,/nocont,/nofill,xminor=1,yminor=1,box=box,lct=lct, sw_mi, sw_ma, int=sw_int, $
+   title='b) SWR validation sites', subtitle='', small=[1,4,2],/noer,/rempl, marge=marge1, format='(i5)'
+NN=n_elements(lat)
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5],/fill
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=no(n)
+  cmi=sw_mi & cma=sw_ma & dc=cma-cmi
+  col=((10+244*(c-cmi)/dc) > 10) < 254
+  plots, x,y,psym=8,symsize=1.5,color=col
+endfor
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5]
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=no(n)
+
+  plots, x,y,psym=8,symsize=1.5,color=0
+endfor
+
+fi='/Users/pkb/work/MY_SAXO/flux_automat/lw_no_obs.txt'
+res=read_ascii(fi,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+no=reform(ff(2,*))
+no=no/yr
+;ind=where(no ge lw_ma) & no(ind)=lw_ma-0.25
+
+marge1=[0,0,-5,0]
+plt, .4+msk*1.e-5,realcont=2,/nocont,/nofill,/noer,xminor=1,yminor=1,box=box,lct=lct,lw_mi, lw_ma, int=lw_int, $
+   title='c) LWR validation sites', subtitle='', small=[1,4,3],/rempl, marge=marge1, format='(i5)'
+NN=n_elements(lat)
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5],/fill
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=no(n)
+  cmi=lw_mi & cma=lw_ma & dc=cma-cmi
+  col=((10+244*(c-cmi)/dc) > 10) < 254
+  plots, x,y,psym=8,symsize=1.5,color=col
+endfor
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5]
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=no(n)
+
+  plots, x,y,psym=8,symsize=1.5,color=0
+endfor
+
+;; independent validation sites
+
+plots, 61.5, 15.5,psym=2      ;; as location
+plots, 331, 25.5,psym=2       ;; subduction (central)
+plots, 326, 18,psym=2         ;; subduction (sw)
+plots, 338, 18,psym=2         ;; subduction (se)
+plots, 156, -1.7 , psym=2     ;; coare
+plots, 274.2, -21, psym=2     ;; stratus
+plots, 202.46, 22.45, psym=2  ;; WHOTS
+
+;-----------------------------------------------------------
+closeps
+
+fig='fig1_no_obs_map.ps'
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+return
+end
+;--------------------------------------------------------------------------
+function x_site_location, site
+    n1=strpos(site, 's')
+if (n1 gt -1) then begin
+    ns=-1.
+    x=strmid(site, 0, n1)
+    x=float(x)*ns
+endif else begin
+    n1=strpos(site, 'n')
+    x=strmid(site, 0, n1)
+    ny=1.
+    x=float(x)*ny
+endelse
+return, float(x)
+end
+;--------------------------------------------------------------------------
+function y_site_location, site
+    n1=strpos(site, 'e')
+if (n1 gt -1) then begin
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+    endelse
+
+endif else begin
+    n1=strpos(site, 'w')
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+   endelse
+endelse
+return,float(y)
+end
+
+;--------------------------------------------------------------------------
+
Index: /trunk/src/paper01/fig1/lhf_no_obs.txt
===================================================================
--- /trunk/src/paper01/fig1/lhf_no_obs.txt	(revision 41)
+++ /trunk/src/paper01/fig1/lhf_no_obs.txt	(revision 41)
@@ -0,0 +1,91 @@
+x     y      days
+ -8.00    67.00    603
+ -8.00    55.00    262
+ -8.00    80.50    381
+ -1.50    80.50    259
+  0.00    80.50    505
+ -1.50    90.00    930
+  0.00    90.00    562
+  1.50    90.00    270
+  8.00    90.00    667
+ 12.00    90.00    475
+ 15.00    90.00    488
+ -5.00    95.00    835
+ -8.00   165.00   2226
+ -8.00   180.00   2417
+ -8.00   205.00   2992
+ -8.00   235.00   2970
+ -8.00   250.00   2760
+ -8.00   265.00   2619
+ -5.00   156.00   2129
+ -5.00   165.00   2914
+ -5.00   180.00   1980
+ -5.00   190.00   2486
+ -5.00   205.00   2929
+ -5.00   220.00   1848
+ -5.00   235.00   3149
+ -5.00   250.00   2636
+ -5.00   265.00   2007
+ -2.00   156.00   2743
+ -2.00   165.00   1778
+ -2.00   180.00   3295
+ -2.00   190.00   1980
+ -2.00   205.00   2747
+ -2.00   220.00   2701
+ -2.00   235.00   2832
+ -2.00   250.00   1746
+ -2.00   265.00   1315
+  0.00   147.00   2480
+  0.00   156.00   2495
+  0.00   165.00   2490
+  0.00   180.00   2110
+  0.00   190.00   2805
+  0.00   205.00   2582
+  0.00   220.00   2995
+  0.00   235.00   2898
+  0.00   250.00   2401
+  0.00   265.00   1511
+  2.00   147.00   2164
+  2.00   156.00   1909
+  2.00   165.00   1909
+  2.00   180.00   2773
+  2.00   190.00   2510
+  2.00   205.00   2224
+  2.00   220.00   2955
+  2.00   235.00   2104
+  2.00   250.00   2399
+  2.00   265.00   1648
+  5.00   147.00   2619
+  5.00   156.00   2018
+  5.00   165.00   2839
+  5.00   190.00   2214
+  5.00   205.00   2535
+  5.00   220.00   2958
+  5.00   235.00   2025
+  5.00   250.00   2669
+  5.00   265.00   1891
+  8.00   156.00   2209
+  8.00   165.00   2501
+  8.00   180.00   2116
+  8.00   190.00   3352
+  9.00   220.00   2568
+  8.00   235.00   1401
+  8.00   250.00   2203
+  8.00   265.00   1915
+  0.00   360.00   1668
+  0.00   350.00   1754
+  0.00   337.00   1741
+  0.00   325.00   1024
+-10.00   350.00   2960
+ 12.00   337.00    914
+ 12.00   322.00   1489
+-14.00   328.00    714
+ 15.00   322.00   1544
+-19.00   326.00   1356
+ 20.00   322.00    747
+ 21.00   337.00    540
+  4.00   337.00   1007
+  4.00   322.00   2173
+ -6.00   350.00   2129
+  8.00   322.00   2192
+ -8.00   330.00   1397
Index: /trunk/src/paper01/fig1/lw_no_obs.txt
===================================================================
--- /trunk/src/paper01/fig1/lw_no_obs.txt	(revision 41)
+++ /trunk/src/paper01/fig1/lw_no_obs.txt	(revision 41)
@@ -0,0 +1,18 @@
+x     y      days
+  0.00    80.50    832
+ 15.00    90.00    488
+ -8.00   265.00    780
+ -5.00   265.00    906
+ -2.00   265.00    902
+  0.00   165.00   1023
+  0.00   190.00   1084
+  0.00   220.00    658
+  0.00   250.00    906
+  0.00   265.00   1020
+  2.00   265.00    692
+  5.00   265.00   1160
+  8.00   265.00   1058
+  0.00   337.00   1155
+-10.00   350.00   1241
+ 12.00   337.00    449
+ 15.00   322.00    897
Index: /trunk/src/paper01/fig1/sw_no_obs.txt
===================================================================
--- /trunk/src/paper01/fig1/sw_no_obs.txt	(revision 41)
+++ /trunk/src/paper01/fig1/sw_no_obs.txt	(revision 41)
@@ -0,0 +1,60 @@
+x     y      days
+ -8.00    67.00    965
+-12.00    55.00    289
+ -8.00    55.00    290
+ -8.00    80.50    381
+ -1.50    80.50    277
+  0.00    80.50    715
+  1.50    80.50    388
+ -1.50    90.00   1692
+  0.00    90.00   1157
+  4.00    90.00    414
+  8.00    90.00    933
+ 12.00    90.00    478
+ 15.00    90.00    488
+ -5.00    95.00    717
+ -8.00   165.00   2258
+ -8.00   265.00    895
+ -5.00   156.00   3281
+ -5.00   165.00   2283
+ -5.00   265.00    982
+ -2.00   156.00   2639
+ -2.00   165.00   2009
+ -2.00   265.00   1096
+  0.00   147.00   2869
+  0.00   156.00   2193
+  0.00   165.00   2873
+  0.00   190.00   1710
+  0.00   220.00   2724
+  0.00   235.00   2719
+  0.00   250.00   2930
+  0.00   265.00   1047
+  2.00   147.00   3131
+  2.00   156.00   3068
+  2.00   165.00   1667
+  2.00   220.00    387
+  2.00   265.00    848
+  5.00   147.00   3179
+  5.00   156.00   3260
+  5.00   165.00   2088
+  5.00   265.00   1110
+  8.00   156.00   2926
+  8.00   165.00   1939
+  8.00   265.00   1267
+  0.00   360.00   2226
+  0.00   350.00   2159
+  0.00   337.00   3266
+  0.00   325.00   3103
+-10.00   350.00   2412
+ 12.00   337.00   1038
+ 12.00   322.00   3476
+-14.00   328.00   1525
+ 15.00   322.00   3406
+-19.00   326.00   1351
+ 20.00   322.00    891
+ 21.00   337.00    870
+  4.00   337.00   1075
+  4.00   322.00   2788
+ -6.00   350.00   2655
+  8.00   322.00   3498
+ -8.00   330.00   1396
Index: /trunk/src/paper01/fig10/fig10_swr_correction.pro
===================================================================
--- /trunk/src/paper01/fig10/fig10_swr_correction.pro	(revision 41)
+++ /trunk/src/paper01/fig10/fig10_swr_correction.pro	(revision 41)
@@ -0,0 +1,57 @@
+pro fig10_swr_correction
+@common
+;------------------------------------------------------------
+reinitplt, /z,/invert
+key_portrait = 1
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+close,/all
+
+fi='/Users/pkb/work/MY_SAXO/flux_automat/swr_isccp_correction.txt'
+res=read_ascii(fi,data_start=0)
+ff=res.field1
+cor=reform(ff(0,*))
+bias=reform(ff(1,*))
+std=reform(ff(2,*))
+mean=reform(ff(4,*))
+
+
+splot, mean, bias, small=[2,3,1], xtitle='Mean ERA-I SWR', ytitle='ERA-I SWR bias', $
+       title='', psym=2, charsize=1.2,  $
+       xrange=[170,290], yrange=[-10,35], xmin=1, ymin=1
+
+ab=linfit(mean, bias,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean, yfit, thick=3
+print, a,b
+;; significant test
+significance_test_99,mean,bias
+
+fi='/Users/pkb/work/MY_SAXO/flux_automat/swr_isccp_correction.txt'
+res=read_ascii(fi,data_start=0)
+ff=res.field1
+cor=reform(ff(0,*))
+bias=reform(ff(1,*))
+std=reform(ff(2,*))
+mean=reform(ff(4,*))
+
+splot, mean, std, small=[2,3,3],/noer, xtitle='Mean ERA-I SWR', ytitle='ERA-I std ratio', $
+       title='', psym=2, charsize=1.2,  $
+       xrange=[170,290], yrange=[0.4,1.4], xmin=1, ymin=1
+
+ab=linfit(mean, std,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean, yfit, thick=3
+
+;; significant test
+significance_test,mean,std
+
+;;------------------------------------------------------------------------
+closeps
+
+fig='fig10_swr_correction.ps'
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+
+end
Index: /trunk/src/paper01/fig10/swr_isccp_correction.txt
===================================================================
--- /trunk/src/paper01/fig10/swr_isccp_correction.txt	(revision 41)
+++ /trunk/src/paper01/fig10/swr_isccp_correction.txt	(revision 41)
@@ -0,0 +1,55 @@
+0.92    5.07   0.88    17.23   219.22
+0.88   10.83   0.95    24.06   229.22
+0.92    8.40   1.00    19.07   221.39
+0.95    8.69   0.97    18.15   217.54
+0.88   25.97   1.04    33.14   213.76
+0.94   -1.97   0.94    16.55   213.98
+0.94    2.66   0.92    14.42   206.17
+0.30   21.62   0.79    54.49   208.14
+0.73   29.48   1.02    42.75   205.99
+0.90   12.45   0.86    23.44   210.80
+0.92    4.85   1.02    16.19   229.10
+0.85   19.51   0.92    28.53   207.80
+0.91   11.60   0.88    20.73   219.91
+0.89   11.18   0.86    19.39   235.19
+0.85   18.52   0.92    28.50   217.10
+0.93    9.66   0.93    17.66   236.35
+0.86    4.75   0.89    15.03   247.81
+0.86   18.17   0.94    27.38   217.95
+0.91   12.04   0.88    21.02   227.44
+0.92    6.46   0.91    17.16   234.37
+0.87    2.55   0.91    11.78   265.13
+0.91    9.53   0.87    14.90   269.10
+0.88    5.57   0.82    14.37   265.37
+0.81    7.00   0.88    19.70   244.47
+0.84   17.88   0.94    27.31   214.15
+0.87   15.39   0.93    24.68   218.85
+0.90    8.67   0.93    18.20   234.28
+0.83    3.86   0.82    12.10   264.45
+0.88   16.72   0.80    24.35   222.48
+0.86   17.83   0.88    26.62   212.60
+0.83   19.56   0.85    28.92   211.56
+0.88   14.56   0.83    23.42   217.36
+0.79   18.35   0.89    28.14   203.64
+0.87   14.02   0.89    22.82   220.32
+0.88    9.88   0.83    19.96   221.56
+0.91   14.76   0.83    20.60   220.13
+0.89   19.14   0.64    33.89   199.47
+0.86   15.87   0.79    29.04   220.06
+0.72   23.69   0.82    30.47   224.82
+0.57   24.93   0.64    36.31   242.27
+0.83    8.50   0.93    17.08   246.42
+0.88    6.78   0.89    17.58   242.17
+0.93    7.10   0.99    17.48   225.60
+0.47   24.77   0.88    41.67   225.80
+0.81   21.13   0.96    28.99   231.27
+0.96    6.60   1.01    13.47   254.39
+0.87   16.09   0.97    23.85   233.11
+0.96    7.40   0.99    17.67   240.91
+0.96    8.24   1.01    13.65   231.74
+0.91   15.48   1.04    22.04   226.70
+0.88   16.05   0.78    23.90   207.33
+0.92   14.97   0.79    22.37   219.67
+0.86   14.60   0.98    21.10   237.74
+0.81   20.86   0.91    29.46   219.39
+0.93   10.09   1.13    15.92   261.97
Index: /trunk/src/paper01/fig11/swr_isccp_tropflux_correlation_fig10.pro
===================================================================
--- /trunk/src/paper01/fig11/swr_isccp_tropflux_correlation_fig10.pro	(revision 41)
+++ /trunk/src/paper01/fig11/swr_isccp_tropflux_correlation_fig10.pro	(revision 41)
@@ -0,0 +1,34 @@
+pro swr_isccp_tropflux_correlation_fig10
+@common
+;--------------------------------------------------------------------------
+reinitplt, /z,/invert
+key_portrait = 1
+
+openps, FILENAME = 'idl.ps'
+;--------------------------------------------------------------------------
+st=19890101 & en=20071231
+
+restore, "/Users/pkb/work/MY_SAXO/correlation_isccp_olr.idl"
+
+file="/Volumes/Iomega_HDD/TropFlux/input_cor/full_cor/TropFlux_sst_19890101_20091231.nc"
+initncdf, file
+sst=read_ncdf("sst", 20000101, 20091231, file=file,/nostr)
+help, sst
+
+sst=grossemoyenne(sst, "t",/nan)
+lct=64
+plt, cor,0.5,1, lct=lct, $
+     small=[1,3,1],/rempl,/noer,/realcont, $
+     charsize=cs,marge=marge, $
+     subt='',title='a) Correlation (OLRA, SWRA)',xminor=1,yminor=1, $
+     contour=sst-273.15, contmin=24, contmax=29, contint=1.5
+
+;--------------------------------------------------------------------------
+closeps
+fig='correlation_rmsd_olra_swra_smooth.ps'
+spawn, 'mv '+psdir+'idl.ps '+psdir+fig
+spawn, 'gv '+psdir+fig
+
+stop
+end
+;--------------------------------------------------------------------------
Index: /trunk/src/paper01/fig11/swr_isccp_tropflux_new_v1.pro
===================================================================
--- /trunk/src/paper01/fig11/swr_isccp_tropflux_new_v1.pro	(revision 41)
+++ /trunk/src/paper01/fig11/swr_isccp_tropflux_new_v1.pro	(revision 41)
@@ -0,0 +1,129 @@
+pro swr_isccp_tropflux_new_v1
+@common
+;--------------------------------------------------------------------------
+reinitplt, /z,/invert
+key_portrait = 1
+
+openps, FILENAME = 'idl.ps'
+;--------------------------------------------------------------------------
+st=19890101 & en=20071231
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/swr_oafluxgrid_1985_2007.nc'
+initncdf, file
+sw_isccp=read_ncdf("swr", st, en, file=file,/nostr)
+
+file='/Volumes/Iomega_HDD/flux_reconstruction/basic_data/sw_reconstred_1989_2009.nc'
+initncdf, file
+sw_trop=read_ncdf("sw", st, en+1, file=file,/nostr)
+
+file='/Volumes/Iomega_HDD/flux_reconstruction/basic_data/olr_oafluxgrid_30n30s.nc'
+initncdf, file
+olr=read_ncdf("olr", st, en, file=file,/nostr)
+
+help, sw_isccp, sw_trop , olr
+
+;;creating climatology
+
+ny=(2007-1989)+1
+nt=365*ny
+
+olri=total(reform(olr(*,*,0:nt-1),nxt,nyt,365,ny),4)/ny
+swi=total(reform(sw_isccp(*,*,0:nt-1),nxt,nyt,365,ny),4)/ny
+help, olri, swi
+
+;; applying smoothing
+nsmooth=45
+
+swi=[[[swi]],[[swi]],[[swi]]] & olri=[[[olri]],[[olri]],[[olri]]]
+si=size(sw) & n1=si(1) & n2=si(2)
+
+for j=0,n2-1 do begin
+  for i=0,n1-1 do begin
+    x=reform(swi(i,j,*))
+    y=reform(olri(i,j,*))
+    swi(i,j,*)=smooth(x,nsmooth)
+    olri(i,j,*)=smooth(y,nsmooth)
+  endfor
+endfor
+
+swi=swi[*,*,365:365+364] & olri=olri[*,*,365:365+364]
+help, swi, olri
+
+;--------------------------------------------------------------------------
+caldat, time,mon,day,yea
+swm=olr*0. & olrm=olr*0.
+for jt=0,jpt-1 do begin
+  jtt=(time(jt)-julday(1,1,yea(jt))) < 364
+  swm(*,*,jt)=swi(*,*,jtt)
+  olrm(*,*,jt)=olri(*,*,jtt)
+  print, jt
+endfor
+swa=sw_isccp-swm        ; swr anomaly
+olra=olr-olrm     ; olr anomaly
+;--------------------------------------------------------------------------
+help, swa, olra
+m=reform(sw_trop(*,*,0))
+tmask=finite(m)
+cor_olr=fltarr(jpi,jpj)+!values.f_nan & rms_olr=fltarr(jpi,jpj)+!values.f_nan
+
+for jj=0,jpj-1 do begin
+  for ji=0,jpi-1 do begin
+    if (tmask(ji,jj)) then begin
+      print, 'over',jj, '/', jpj-1
+
+      swr_ano=reform(swa(ji,jj,*))
+      olr_ano=reform(olra(ji,jj,*))
+
+      cor_olr(ji,jj)=correlate(swr_ano,olr_ano)
+      rms_olr(ji,jj)=(total((swr_ano-olr_ano)^2)/(jpt-1l))^.5
+
+    endif
+  endfor
+endfor
+ 
+cor=fltarr(jpi,jpj)+!values.f_nan & rms=fltarr(jpi,jpj)+!values.f_nan
+for jj=1,jpj-2 do begin
+  for ji=1,jpi-2 do begin
+    if (tmask(ji,jj)) then begin
+       cor(ji,jj)=(cor_olr(ji-1,jj)+cor_olr(ji+1,jj)+cor_olr(ji,jj-1)+cor_olr(ji,jj+1))*tmask(ji,jj)/(tmask(ji-1,jj)+tmask(ji+1,jj)+tmask(ji,jj-1)+tmask(ji,jj+1))
+    endif
+  endfor
+endfor
+
+save, cor, cor_olr, filename='correlation_isccp_olr.idl'
+ 
+lct=64 & cs=0.9
+marge1=[0,0,-5,0]
+help, cor
+
+plt, cor_olr,0.5,1, lct=lct, $
+     small=[1,4,1],/rempl,/noer,/nocont, $
+     charsize=cs,/nocolorb,marge=marge, $
+     subt='',title='a) Correlation (OLRA, SWRA)',xminor=1,yminor=1
+
+file="/Volumes/Iomega_HDD/TropFlux/input_cor/full_cor/TropFlux_sst_19890101_20091231_v20.nc"
+initncdf, file
+sst=read_ncdf("sst", 19890101, 20091231, file=file,/nostr)
+sst=grossemoyenne(sst, "t",/nan)
+
+plt, cor_olr,0.5,1, lct=lct, $
+     small=[1,4,3],/rempl,/noer,/nocont, $
+     charsize=cs,marge=marge, $
+     subt='',title='a) Correlation (OLRA, SWRA)',xminor=1,yminor=1, $
+     contour=sst, contmin=26.5, contmax=28.5, contint=1.
+
+plt, rms_olr, lct=lct, $
+     small=[1,4,4],/rempl,/noer,/nocont, $
+     charsize=cs, marge=marge,/nocolorb, $
+     subt='',title='b) RMS Difference (OLRA, SWRA)',xminor=1,yminor=1
+
+;--------------------------------------------------------------------------
+closeps
+fig='correlation_rmsd_olra_swra_smooth.ps'
+spawn, 'mv '+psdir+'idl.ps '+psdir+fig
+spawn, 'gv '+psdir+fig
+
+return
+
+end
+;--------------------------------------------------------------------------
Index: /trunk/src/paper01/fig12/swr_2000_2009_erai_v50.txt
===================================================================
--- /trunk/src/paper01/fig12/swr_2000_2009_erai_v50.txt	(revision 41)
+++ /trunk/src/paper01/fig12/swr_2000_2009_erai_v50.txt	(revision 41)
@@ -0,0 +1,55 @@
+x     y      cor    bias     std     rmsd      mean_tao
+  5.00   165.00   0.77      0.06   0.77   24.31   200.15
+ -8.00    67.00   0.86     -4.23   0.80   21.35   214.17
+ -1.50    80.50   0.79     -2.19   0.77   27.57   218.49
+  0.00    80.50   0.84     -5.51   0.96   24.53   212.97
+  1.50    80.50   0.84     -4.14   0.89   27.79   208.88
+ -1.50    90.00   0.78     16.76   0.89   31.12   187.78
+  0.00    90.00   0.83     -5.98   0.78   26.87   215.99
+  4.00    90.00   0.84      1.18   0.80   23.35   203.51
+  8.00    90.00   0.17     10.74   0.78   55.08   186.47
+ -5.00    95.00   0.67     19.58   0.95   38.14   176.50
+ -8.00   165.00   0.81     -2.10   0.81   26.15   198.89
+ -8.00   265.00   0.76      7.38   0.97   26.64   222.57
+ -5.00   156.00   0.75     -2.09   0.88   26.82   187.28
+ -5.00   165.00   0.82      1.68   0.83   23.59   207.93
+ -5.00   265.00   0.68     11.84   0.84   27.91   222.77
+ -2.00   156.00   0.72      5.43   0.85   29.55   194.65
+ -2.00   165.00   0.84      0.68   0.80   22.98   221.67
+ -2.00   265.00   0.52      6.65   0.72   25.56   242.97
+  0.00   147.00   0.75     -2.65   0.83   26.51   197.85
+  0.00   156.00   0.78      0.68   0.83   26.31   207.87
+  0.00   165.00   0.81     -4.64   0.78   24.02   228.08
+  0.00   190.00   0.77     -7.79   0.89   16.68   262.58
+  0.00   220.00   0.68     -5.60   0.89   13.42   268.15
+  0.00   235.00   0.57     -6.21   0.80   17.17   266.65
+  0.00   250.00   0.50      1.13   0.75   19.55   252.50
+  0.00   265.00   0.58     11.73   0.67   28.97   236.90
+  2.00   147.00   0.76     -0.75   0.87   25.13   195.67
+  2.00   156.00   0.72     -0.82   0.83   26.87   201.46
+  2.00   165.00   0.75     -5.70   0.82   25.24   219.85
+  2.00   220.00   0.60     -8.31   0.66   17.23   264.96
+  2.00   265.00   0.52     19.49   0.72   38.45   206.58
+  5.00   147.00   0.77      0.53   0.85   24.45   195.35
+  5.00   156.00   0.74      3.99   0.82   25.41   190.16
+  5.00   265.00   0.71      6.07   0.97   26.71   186.29
+  8.00   156.00   0.76      0.13   0.87   23.37   204.36
+  8.00   165.00   0.79     -3.46   0.79   22.14   211.91
+  8.00   265.00   0.81      0.79   0.91   28.92   204.99
+  0.00   360.00   0.47     26.01   0.78   36.63   202.19
+  0.00   350.00   0.36     23.43   0.64   39.89   215.90
+  0.00   337.00   0.65     -0.12   0.88   20.26   238.66
+  0.00   325.00   0.79    -10.12   0.87   23.84   235.92
+-10.00   350.00   0.82      3.30   0.85   23.99   221.75
+ 12.00   337.00   0.08     36.15   0.80   55.56   201.06
+ 12.00   322.00   0.64     15.24   0.85   30.03   210.61
+-14.00   328.00   0.95     -2.90   0.98   14.30   247.79
+ 15.00   322.00   0.74      7.93   0.92   25.22   219.35
+-19.00   326.00   0.93     -3.12   1.00   20.51   233.50
+ 20.00   322.00   0.94      1.49   1.05   15.20   223.52
+ 21.00   337.00   0.80     25.34   1.10   34.88   211.21
+  4.00   337.00   0.60     14.76   0.79   33.12   191.30
+  4.00   322.00   0.76      4.30   0.78   26.40   204.27
+ -6.00   350.00   0.61     10.28   0.84   26.45   223.14
+  8.00   322.00   0.70     13.42   0.90   28.88   200.69
+ -8.00   330.00   0.90     -3.19   1.00   13.85   251.90
Index: /trunk/src/paper01/fig12/swr_2000_2009_oaflx_v50.txt
===================================================================
--- /trunk/src/paper01/fig12/swr_2000_2009_oaflx_v50.txt	(revision 41)
+++ /trunk/src/paper01/fig12/swr_2000_2009_oaflx_v50.txt	(revision 41)
@@ -0,0 +1,55 @@
+x     y      cor    bias     std     rmsd      mean_tao
+  5.00   165.00   0.87     13.86   0.83   23.20   200.15
+ -8.00    67.00   0.92      5.07   0.88   17.23   214.17
+ -1.50    80.50   0.88     10.83   0.95   24.06   218.49
+  0.00    80.50   0.92      8.40   1.00   19.07   212.97
+  1.50    80.50   0.95      8.69   0.97   18.15   208.88
+ -1.50    90.00   0.88     25.97   1.04   33.14   187.78
+  0.00    90.00   0.94     -1.97   0.94   16.55   215.99
+  4.00    90.00   0.94      2.66   0.92   14.42   203.51
+  8.00    90.00   0.30     21.62   0.79   54.49   186.47
+ -5.00    95.00   0.73     29.48   1.02   42.75   176.50
+ -8.00   165.00   0.89     10.76   0.84   23.16   198.89
+ -8.00   265.00   0.92      5.01   1.03   16.30   222.57
+ -5.00   156.00   0.85     18.51   0.91   28.07   187.28
+ -5.00   165.00   0.91     10.64   0.89   19.99   207.93
+ -5.00   265.00   0.88     11.54   0.86   19.72   222.77
+ -2.00   156.00   0.83     17.94   0.89   28.91   194.65
+ -2.00   165.00   0.94      8.16   0.92   16.97   221.67
+ -2.00   265.00   0.86      4.73   0.89   15.16   242.97
+  0.00   147.00   0.85     17.09   0.93   27.06   197.85
+  0.00   156.00   0.89     13.41   0.89   23.30   207.87
+  0.00   165.00   0.92      3.89   0.90   16.44   228.08
+  0.00   190.00   0.87      2.55   0.91   11.78   262.58
+  0.00   220.00   0.80      7.36   0.90   12.19   268.15
+  0.00   235.00   0.76      3.21   0.84   12.67   266.65
+  0.00   250.00   0.82      0.38   0.89   12.57   252.50
+  0.00   265.00   0.81      7.05   0.87   20.47   236.90
+  2.00   147.00   0.84     17.58   0.94   27.12   195.67
+  2.00   156.00   0.86     15.23   0.93   24.81   201.46
+  2.00   165.00   0.89      8.00   0.91   18.80   219.85
+  2.00   220.00   0.84      0.29   0.78   10.21   264.96
+  2.00   265.00   0.88     16.53   0.80   24.52   206.58
+  5.00   147.00   0.86     17.32   0.89   26.15   195.35
+  5.00   156.00   0.83     20.13   0.87   29.15   190.16
+  5.00   265.00   0.79     18.52   0.88   28.39   186.29
+  8.00   156.00   0.86     13.62   0.90   22.68   204.36
+  8.00   165.00   0.88      8.39   0.83   18.94   211.91
+  8.00   265.00   0.85     16.04   0.77   30.03   204.99
+  0.00   360.00   0.73     21.93   0.79   28.94   202.19
+  0.00   350.00   0.52     26.53   0.59   38.85   215.90
+  0.00   337.00   0.82      8.09   0.93   16.91   238.66
+  0.00   325.00   0.89      5.74   0.91   17.01   235.92
+-10.00   350.00   0.93      4.72   1.02   16.81   221.75
+ 12.00   337.00   0.47     24.77   0.88   41.67   201.06
+ 12.00   322.00   0.79     20.40   0.96   28.89   210.61
+-14.00   328.00   0.96      6.60   1.01   13.47   247.79
+ 15.00   322.00   0.87     13.46   0.96   21.69   219.35
+-19.00   326.00   0.96      7.40   0.99   17.67   233.50
+ 20.00   322.00   0.96      8.24   1.01   13.65   223.52
+ 21.00   337.00   0.91     15.48   1.04   22.04   211.21
+  4.00   337.00   0.88     16.05   0.78   23.90   191.30
+  4.00   322.00   0.92     14.93   0.79   22.35   204.27
+ -6.00   350.00   0.86     14.60   0.98   21.10   223.14
+  8.00   322.00   0.83     18.15   0.92   26.50   200.69
+ -8.00   330.00   0.93     10.09   1.13   15.92   251.90
Index: /trunk/src/paper01/fig12/swr_2000_2009_olr_v50.txt
===================================================================
--- /trunk/src/paper01/fig12/swr_2000_2009_olr_v50.txt	(revision 41)
+++ /trunk/src/paper01/fig12/swr_2000_2009_olr_v50.txt	(revision 41)
@@ -0,0 +1,55 @@
+x     y      cor    bias     std     rmsd      mean_tao
+  5.00   165.00   0.81     -3.81   0.95   22.92   200.15
+ -8.00    67.00   0.85     -7.07   0.96   22.73   214.17
+ -1.50    80.50   0.86      0.06   0.96   23.30   218.49
+  0.00    80.50   0.88      0.12   0.97   20.80   212.97
+  1.50    80.50   0.92     -1.88   0.89   19.96   208.88
+ -1.50    90.00   0.81     11.00   1.07   28.74   187.78
+  0.00    90.00   0.88    -14.26   0.96   26.84   215.99
+  4.00    90.00   0.88    -12.09   0.89   23.69   203.51
+  8.00    90.00   0.24      5.97   0.87   54.10   186.47
+ -5.00    95.00   0.71     17.38   1.12   38.05   176.50
+ -8.00   165.00   0.84     -7.65   0.91   25.21   198.89
+ -8.00   265.00   0.77     -4.68   0.97   25.78   222.57
+ -5.00   156.00   0.82     -1.31   0.95   23.53   187.28
+ -5.00   165.00   0.87     -6.59   0.95   21.94   207.93
+ -5.00   265.00   0.69      2.16   0.79   24.66   222.77
+ -2.00   156.00   0.78      2.76   0.94   26.37   194.65
+ -2.00   165.00   0.89     -6.16   0.99   20.70   221.67
+ -2.00   265.00   0.63     -3.87   0.69   22.09   242.97
+  0.00   147.00   0.83      4.39   0.93   22.63   197.85
+  0.00   156.00   0.84     -0.94   0.96   23.14   207.87
+  0.00   165.00   0.88     -7.74   0.96   20.43   228.08
+  0.00   190.00   0.83      0.57   0.93   13.14   262.58
+  0.00   220.00   0.71      2.94   0.84   11.81   268.15
+  0.00   235.00   0.64     -2.03   0.67   14.60   266.65
+  0.00   250.00   0.64     -5.38   0.61   17.51   252.50
+  0.00   265.00   0.61     -3.00   0.72   26.18   236.90
+  2.00   147.00   0.81      4.86   0.98   23.47   195.67
+  2.00   156.00   0.80      0.87   0.94   23.38   201.46
+  2.00   165.00   0.85     -5.89   1.00   20.97   219.85
+  2.00   220.00   0.70     -5.89   0.69   14.73   264.96
+  2.00   265.00   0.74      4.82   0.73   26.04   206.58
+  5.00   147.00   0.80      2.60   0.95   23.91   195.35
+  5.00   156.00   0.76      1.69   0.92   24.74   190.16
+  5.00   265.00   0.68      1.72   0.75   25.43   186.29
+  8.00   156.00   0.77     -4.59   0.96   23.81   204.36
+  8.00   165.00   0.80     -9.21   0.94   24.02   211.91
+  8.00   265.00   0.79     -1.95   0.76   29.39   204.99
+  0.00   360.00   0.61      9.46   0.72   24.04   202.19
+  0.00   350.00   0.38     18.79   0.51   36.12   215.90
+  0.00   337.00   0.77      1.09   0.89   16.53   238.66
+  0.00   325.00   0.85     -3.78   0.92   18.57   235.92
+-10.00   350.00   0.87     -9.70   0.97   23.22   221.75
+ 12.00   337.00   0.47     12.02   0.91   36.06   201.06
+ 12.00   322.00   0.72      6.45   1.06   25.62   210.61
+-14.00   328.00   0.93      0.12   1.08   17.48   247.79
+ 15.00   322.00   0.83      0.82   1.07   20.90   219.35
+-19.00   326.00   0.93     -4.54   1.00   21.10   233.50
+ 20.00   322.00   0.95      1.24   1.13   15.37   223.52
+ 21.00   337.00   0.86      6.29   1.16   22.19   211.21
+  4.00   337.00   0.77      4.76   0.77   23.36   191.30
+  4.00   322.00   0.85      0.46   0.80   20.88   204.27
+ -6.00   350.00   0.73      3.07   0.91   21.25   223.14
+  8.00   322.00   0.78      1.61   0.97   22.50   200.69
+ -8.00   330.00   0.90      7.16   1.17   16.93   251.90
Index: /trunk/src/paper01/fig12/swr_2000_2009_trop_v50.txt
===================================================================
--- /trunk/src/paper01/fig12/swr_2000_2009_trop_v50.txt	(revision 41)
+++ /trunk/src/paper01/fig12/swr_2000_2009_trop_v50.txt	(revision 41)
@@ -0,0 +1,55 @@
+x     y      cor    bias     std     rmsd      mean_tao
+  5.00   165.00   0.87     -1.69   0.92   18.73   200.15
+ -8.00    67.00   0.92     -8.88   0.97   18.80   214.17
+ -1.50    80.50   0.88     -2.36   1.06   22.80   218.49
+  0.00    80.50   0.92     -5.61   1.11   19.46   212.97
+  1.50    80.50   0.95     -5.76   1.07   18.02   208.88
+ -1.50    90.00   0.88     10.29   1.16   24.78   187.78
+  0.00    90.00   0.94    -17.64   1.04   24.63   215.99
+  4.00    90.00   0.94    -14.17   1.02   20.26   203.51
+  8.00    90.00   0.30      5.29   0.87   52.24   186.47
+ -5.00    95.00   0.73     12.42   1.14   35.34   176.50
+ -8.00   165.00   0.89     -5.84   0.94   21.35   198.89
+ -8.00   265.00   0.92     -7.97   1.14   18.91   222.57
+ -5.00   156.00   0.85      1.46   1.01   21.98   187.28
+ -5.00   165.00   0.91     -4.21   0.98   17.63   207.93
+ -5.00   265.00   0.88     -0.18   0.96   16.17   222.77
+ -2.00   156.00   0.83      2.59   0.99   23.59   194.65
+ -2.00   165.00   0.94     -4.41   1.02   15.89   221.67
+ -2.00   265.00   0.86     -4.66   0.99   15.54   242.97
+  0.00   147.00   0.85      2.15   1.04   22.07   197.85
+  0.00   156.00   0.89     -0.69   0.99   19.54   207.87
+  0.00   165.00   0.92     -8.21   1.00   18.25   228.08
+  0.00   190.00   0.87     -3.55   1.00   12.42   262.58
+  0.00   220.00   0.80      3.14   0.99   10.56   268.15
+  0.00   235.00   0.76     -1.99   0.93   12.72   266.65
+  0.00   250.00   0.82     -7.82   0.99   15.17   252.50
+  0.00   265.00   0.81     -3.42   0.96   20.05   236.90
+  2.00   147.00   0.84      2.43   1.05   21.84   195.67
+  2.00   156.00   0.86      0.41   1.04   20.50   201.46
+  2.00   165.00   0.89     -4.96   1.01   18.25   219.85
+  2.00   220.00   0.84     -5.86   0.86   11.71   264.96
+  2.00   265.00   0.88      2.22   0.88   17.95   206.58
+  5.00   147.00   0.86      1.69   0.98   20.20   195.35
+  5.00   156.00   0.83      3.90   0.97   22.03   190.16
+  5.00   265.00   0.79      0.73   0.98   22.29   186.29
+  8.00   156.00   0.86     -1.36   0.99   18.76   204.36
+  8.00   165.00   0.88     -6.09   0.92   18.00   211.91
+  8.00   265.00   0.85      1.36   0.85   25.10   204.99
+  0.00   360.00   0.73      8.07   0.88   20.87   202.19
+  0.00   350.00   0.52     16.36   0.66   33.00   215.90
+  0.00   337.00   0.82     -1.30   1.03   15.58   238.66
+  0.00   325.00   0.89     -4.61   1.01   17.15   235.92
+-10.00   350.00   0.93     -8.83   1.13   19.92   221.75
+ 12.00   337.00   0.47     11.48   0.97   36.85   201.06
+ 12.00   322.00   0.79      7.88   1.06   22.99   210.61
+-14.00   328.00   0.96     -1.53   1.12   13.53   247.79
+ 15.00   322.00   0.87      1.31   1.07   18.05   219.35
+-19.00   326.00   0.96     -3.62   1.10   18.18   233.50
+ 20.00   322.00   0.96     -4.14   1.13   13.19   223.52
+ 21.00   337.00   0.91      2.15   1.16   17.52   211.21
+  4.00   337.00   0.88     -0.68   0.86   17.36   191.30
+  4.00   322.00   0.92      0.30   0.88   15.97   204.27
+ -6.00   350.00   0.86      3.73   1.08   16.65   223.14
+  8.00   322.00   0.83      3.35   1.02   20.39   200.69
+ -8.00   330.00   0.93      3.37   1.26   14.84   251.90
Index: /trunk/src/paper01/fig12/swr_statistics_map_2000_2009_v50.pro
===================================================================
--- /trunk/src/paper01/fig12/swr_statistics_map_2000_2009_v50.pro	(revision 41)
+++ /trunk/src/paper01/fig12/swr_statistics_map_2000_2009_v50.pro	(revision 41)
@@ -0,0 +1,510 @@
+pro swr_statistics_map_2000_2009_v50
+@common
+;------------------------------------------------------------
+reinitplt, /z,/invert
+key_portrait = 1
+coefpalit=.9
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+; partie a changer
+;------------------------------------------------------------
+bias_mi=-20 & bias_ma=20 & bias_int=2
+std_mi=0.7   & std_ma=1.31  & std_int=0.05
+rmsd_mi=10  & rmsd_ma=30 & rmsd_int=1.25
+cor_mi=0.5   & cor_ma=1.  & cor_int=0.02
+fi_swr_erai='/Users/pkb/work/MY_SAXO/flux_automat/swr_2000_2009_erai_v50.txt'
+fi_swr_trop='/Users/pkb/work/MY_SAXO/flux_automat/swr_2000_2009_trop_v50.txt'
+fi_swr_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/swr_2000_2009_oaflx_v50.txt'
+fi_swr_olr='/Users/pkb/work/MY_SAXO/flux_automat/swr_2000_2009_olr_v50.txt'
+
+res=read_ascii(fi_swr_erai,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_era=reform(ff(2,*))
+bias_era=reform(ff(3,*))
+std_era=reform(ff(4,*))
+rmsd_era=reform(ff(5,*))
+
+ind=where(bias_era ge bias_ma) & bias_era(ind)=bias_ma-0.5
+ind=where(rmsd_era ge rmsd_ma) & rmsd_era(ind)=rmsd_ma-0.5
+
+res=read_ascii(fi_swr_trop,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_trop=reform(ff(2,*))
+bias_trop=reform(ff(3,*))
+std_trop=reform(ff(4,*))
+rmsd_trop=reform(ff(5,*))
+ind=where(rmsd_trop ge rmsd_ma) & rmsd_trop(ind)=rmsd_ma-0.5
+
+res=read_ascii(fi_swr_oaflx,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_oaflx=reform(ff(2,*))
+bias_oaflx=reform(ff(3,*))
+std_oaflx=reform(ff(4,*))
+rmsd_oaflx=reform(ff(5,*))
+ind=where(rmsd_oaflx ge rmsd_ma) & rmsd_oaflx(ind)=rmsd_ma-0.5
+
+res=read_ascii(fi_swr_olr,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_olr=reform(ff(2,*))
+bias_olr=reform(ff(3,*))
+std_olr=reform(ff(4,*))
+rmsd_olr=reform(ff(5,*))
+ind=where(rmsd_olr ge rmsd_ma) & rmsd_olr(ind)=rmsd_ma-0.5
+
+;ind=where(std_olr ge std_ma) & std_olr(ind)=std_ma-0.01
+stop
+file='/Users/pkb/data/heat_budget/OAFLUX/longwave_IO_mask.nc'
+initncdf, file
+domdef, 30,390,-30,30
+msk=ncdf_lec(file,var='msk')
+;box=[0,290,-30,30]
+marge=[0,0,-0.8,0]
+marge1=[0,0,-5,0]
+plt, .4+msk*1.e-5,realcont=2,/nocont,/nofill,xminor=1,yminor=1,box=box,lct=64,cor_mi, cor_ma,int=cor_int, $
+   title='1) SWR Correlation - TropFlux', subtitle='', small=[1,4,1],/rempl,/nocolorb, marge=marge
+
+NN=n_elements(lat)
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5],/fill
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=cor_trop(n)
+  cmi=cor_mi & cma=cor_ma & dc=cma-cmi
+  col=((10+244*(c-cmi)/dc) > 10) < 254
+  plots, x,y,psym=8,symsize=1.5,color=col
+endfor
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5]
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n) 
+  c=cor_trop(n) 
+  
+  plots, x,y,psym=8,symsize=1.5,color=0
+endfor
+;------------------------------------------------------------
+plt, 12+msk,realcont=2,/nocont,/nofill,xminor=1,yminor=1,lct=64,cor_mi, cor_ma,int=cor_int,/nocolorb, $
+   title='2) SWR Correlation -  ERAI', subtitle='', small=[1,4,2],/noer,/rempl, marge=marge
+
+NN=n_elements(lat)
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5],/fill
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=cor_era(n)
+  cmi=cor_mi & cma=cor_ma & dc=cma-cmi
+  col=((10+244*(c-cmi)/dc) > 10) < 254
+  plots, x,y,psym=8,symsize=1.5,color=col
+endfor
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5]
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n) 
+  c=cor_era(n) 
+  
+  plots, x,y,psym=8,symsize=1.5,color=0
+endfor
+;------------------------------------------------------------
+plt, 12+msk,realcont=2,/nocont,/nofill,xminor=1,yminor=1,lct=64,cor_mi, cor_ma,int=cor_int,/nocolorb, $
+   title='3) SWR Correlation - OAFlux', subtitle='', small=[1,4,3],/noer,/rempl, marge=marge
+
+NN=n_elements(lat)
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5],/fill
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=cor_oaflx(n)
+  cmi=cor_mi & cma=cor_ma & dc=cma-cmi
+  col=((10+244*(c-cmi)/dc) > 10) < 254
+  plots, x,y,psym=8,symsize=1.5,color=col
+endfor
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5]
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=cor_oaflx(n)
+ 
+  plots, x,y,psym=8,symsize=1.5,color=0
+endfor
+;------------------------------------------------------------
+plt, 12+msk,realcont=2,/nocont,/nofill,xminor=1,yminor=1,lct=64,cor_mi, cor_ma,int=cor_int, $
+   title='4) SWR Correlation - SWR_olr', subtitle='', small=[1,4,4],/noer,/rempl, marge=marge1
+
+NN=n_elements(lat)
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5],/fill
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=cor_olr(n)
+  cmi=cor_mi & cma=cor_ma & dc=cma-cmi
+  col=((10+244*(c-cmi)/dc) > 10) < 254
+  plots, x,y,psym=8,symsize=1.5,color=col
+endfor
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5]
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=cor_olr(n)
+ 
+  plots, x,y,psym=8,symsize=1.5,color=0
+endfor
+
+erase
+;------------------------------------------------------------
+
+plt, -5+msk*1.e-5,realcont=2,/nocont,/nofill,xminor=1,yminor=1,lct=64,bias_mi, bias_ma, int=bias_int, marge=marge,/nocolorb, $
+   title='1) SWR Mean bias - TropFlux', subtitle='', small=[1,4,1],/rempl,format='(i3)'
+
+NN=n_elements(lat)
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5],/fill
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=bias_trop(n)
+  cmi=bias_mi & cma=bias_ma & dc=cma-cmi
+  col=((10+244*(c-cmi)/dc) > 10) < 254
+  plots, x,y,psym=8,symsize=1.5,color=col
+endfor
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5]
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n) 
+  c=bias_trop(n) 
+  
+  plots, x,y,psym=8,symsize=1.5,color=0
+endfor
+;------------------------------------------------------------
+plt,0.8+msk*1.e-5,realcont=2,/nocont,/nofill,xminor=1,yminor=1,lct=64,bias_mi, bias_ma, int=bias_int,/noer, marge=marge, $
+   title='2) SWR Mean bias - ERAI', subtitle='', small=[1,4,2],/rempl,format='(i3)',/nocolorb
+
+NN=n_elements(lat)
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5],/fill
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=bias_era(n)
+  cmi=bias_mi & cma=bias_ma & dc=cma-cmi
+  col=((10+244*(c-cmi)/dc) > 10) < 254
+  plots, x,y,psym=8,symsize=1.5,color=col
+endfor
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5]
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=bias_era(n)
+  
+  plots, x,y,psym=8,symsize=1.5,color=0
+endfor
+
+;------------------------------------------------------------
+
+plt,0.8+msk*1.e-5,realcont=2,/nocont,/nofill,xminor=1,yminor=1,lct=64,bias_mi, bias_ma, int=bias_int,/noer, marge=marge, $
+   title='3) SWR Mean bias - OAFlux', subtitle='', small=[1,4,3],/rempl,format='(i3)',/nocolorb
+
+NN=n_elements(lat)
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5],/fill
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=bias_oaflx(n)
+  cmi=bias_mi & cma=bias_ma & dc=cma-cmi
+  col=((10+244*(c-cmi)/dc) > 10) < 254
+  plots, x,y,psym=8,symsize=1.5,color=col
+endfor
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5]
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=bias_oaflx(n)
+  
+  plots, x,y,psym=8,symsize=1.5,color=0
+endfor
+
+;------------------------------------------------------------
+
+plt,0.8+msk*1.e-5,realcont=2,/nocont,/nofill,xminor=1,yminor=1,lct=64,bias_mi, bias_ma, int=bias_int,/noer, marge=marge1, $
+   title='4) SWR Mean bias - SWR_olr', subtitle='', small=[1,4,4],/rempl ;;,format='(i4)'
+
+NN=n_elements(lat)
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5],/fill
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=bias_olr(n)
+  cmi=bias_mi & cma=bias_ma & dc=cma-cmi
+  col=((10+244*(c-cmi)/dc) > 10) < 254
+  plots, x,y,psym=8,symsize=1.5,color=col
+endfor
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5]
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=bias_olr(n)
+  
+  plots, x,y,psym=8,symsize=1.5,color=0
+endfor
+
+erase
+
+;------------------------------------------------------------
+
+plt,0.8+msk*1.e-5,realcont=2,/nocont,/nofill,xminor=1,yminor=1,lct=64,rmsd_mi, rmsd_ma, int=rmsd_int,/noer, $
+   title='1) RMSD - TropFlux', subtitle='', small=[1,4,1],/rempl,/nocolorb, marge=marge
+
+NN=n_elements(lat)
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5],/fill
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=rmsd_trop(n)
+  cmi=rmsd_mi & cma=rmsd_ma & dc=cma-cmi
+  col=((10+244*(c-cmi)/dc) > 10) < 254
+  plots, x,y,psym=8,symsize=1.5,color=col
+endfor
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5]
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=rmsd_trop(n)
+  
+  plots, x,y,psym=8,symsize=1.5,color=0
+endfor
+;------------------------------------------------------------
+plt,0.8+msk*1.e-5,realcont=2,/nocont,/nofill,xminor=1,yminor=1,lct=64,rmsd_mi, rmsd_ma, int=rmsd_int,/noer, $
+   title='2) RMSD - ERAI', subtitle='', small=[1,4,2],/rempl,/nocolorb, marge=marge
+
+NN=n_elements(lat)
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5],/fill
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=rmsd_era(n)
+  cmi=rmsd_mi & cma=rmsd_ma & dc=cma-cmi
+  col=((10+244*(c-cmi)/dc) > 10) < 254
+  plots, x,y,psym=8,symsize=1.5,color=col
+endfor
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5]
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=rmsd_era(n)
+  
+  plots, x,y,psym=8,symsize=1.5,color=0
+endfor
+;------------------------------------------------------------
+plt,0.8+msk*1.e-5,realcont=2,/nocont,/nofill,xminor=1,yminor=1,lct=64,rmsd_mi, rmsd_ma, int=rmsd_int,/noer, $
+   title='3) RMSD - OAFlux', subtitle='', small=[1,4,3],/rempl,/nocolorb, marge=marge
+
+NN=n_elements(lat)
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5],/fill
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=rmsd_oaflx(n)
+  cmi=rmsd_mi & cma=rmsd_ma & dc=cma-cmi
+  col=((10+244*(c-cmi)/dc) > 10) < 254
+  plots, x,y,psym=8,symsize=1.5,color=col
+endfor
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5]
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=rmsd_oaflx(n)
+  
+  plots, x,y,psym=8,symsize=1.5,color=0
+endfor
+
+;------------------------------------------------------------
+plt,0.8+msk*1.e-5,realcont=2,/nocont,/nofill,xminor=1,yminor=1,lct=64,rmsd_mi, rmsd_ma, int=rmsd_int,/noer, $
+   title='4) RMSD - SWR_olr', subtitle='', small=[1,4,4],/rempl, marge=marge1
+
+NN=n_elements(lat)
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5],/fill
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=rmsd_olr(n)
+  cmi=rmsd_mi & cma=rmsd_ma & dc=cma-cmi
+  col=((10+244*(c-cmi)/dc) > 10) < 254
+  plots, x,y,psym=8,symsize=1.5,color=col
+endfor
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5]
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=rmsd_olr(n)
+  
+  plots, x,y,psym=8,symsize=1.5,color=0
+endfor
+;------------------------------------------------------------
+erase
+plt,0.8+msk*1.e-5,realcont=2,/nocont,/nofill,xminor=1,yminor=1,lct=64,std_mi, std_ma, int=std_int,/noer, $
+   title='1) STD ratio - TropFlux', subtitle='', small=[1,4,1],/rempl,/nocolorb, marge=marge
+
+NN=n_elements(lat)
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5],/fill
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=std_trop(n)
+  cmi=std_mi & cma=std_ma & dc=cma-cmi
+  col=((10+244*(c-cmi)/dc) > 10) < 254
+  plots, x,y,psym=8,symsize=1.5,color=col
+endfor
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5]
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=std_trop(n)
+
+  plots, x,y,psym=8,symsize=1.5,color=0
+endfor
+;------------------------------------------------------------
+plt,0.8+msk*1.e-5,realcont=2,/nocont,/nofill,xminor=1,yminor=1,lct=64,std_mi, std_ma, int=std_int,/noer, $
+   title='2) STD ratop - ERAI', subtitle='', small=[1,4,2],/rempl,/nocolorb, marge=marge
+
+NN=n_elements(lat)
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5],/fill
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=std_era(n)
+  cmi=std_mi & cma=std_ma & dc=cma-cmi
+  col=((10+244*(c-cmi)/dc) > 10) < 254
+  plots, x,y,psym=8,symsize=1.5,color=col
+endfor
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5]
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=std_era(n)
+
+  plots, x,y,psym=8,symsize=1.5,color=0
+endfor
+
+;------------------------------------------------------------
+plt,0.8+msk*1.e-5,realcont=2,/nocont,/nofill,xminor=1,yminor=1,lct=64,std_mi, std_ma, int=std_int,/noer, $
+   title='3) STD rato - OAFlux', subtitle='', small=[1,4,3],/rempl,/nocolorb, marge=marge
+
+NN=n_elements(lat)
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5],/fill
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=std_oaflx(n)
+  cmi=std_mi & cma=std_ma & dc=cma-cmi
+  col=((10+244*(c-cmi)/dc) > 10) < 254
+  plots, x,y,psym=8,symsize=1.5,color=col
+endfor
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5]
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=std_oaflx(n)
+
+  plots, x,y,psym=8,symsize=1.5,color=0
+endfor
+
+;------------------------------------------------------------
+plt,0.8+msk*1.e-5,realcont=2,/nocont,/nofill,xminor=1,yminor=1,lct=64,std_mi, std_ma, int=std_int,/noer, $
+   title='4) STD rato - SWR_olr', subtitle='', small=[1,4,4],/rempl, marge=marge1
+
+NN=n_elements(lat)
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5],/fill
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=std_olr(n)
+  cmi=std_mi & cma=std_ma & dc=cma-cmi
+  col=((10+244*(c-cmi)/dc) > 10) < 254
+  plots, x,y,psym=8,symsize=1.5,color=col
+endfor
+
+usersym, [-.5,.5,.5,-.5,-.5],[-.5,-.5,.5,.5,-.5]
+
+for n=0,NN-1 do begin
+  x=lon(n)
+  y=lat(n)
+  c=std_olr(n)
+
+  plots, x,y,psym=8,symsize=1.5,color=0
+endfor
+;------------------------------------------------------------
+closeps
+fig='swr_statistics_map_2000_2009_v50.ps'
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+;------------------------------------------------------------
+return
+end
+
Index: /trunk/src/paper01/fig13/net_flux_validation_scatter_2000_2007.pro
===================================================================
--- /trunk/src/paper01/fig13/net_flux_validation_scatter_2000_2007.pro	(revision 41)
+++ /trunk/src/paper01/fig13/net_flux_validation_scatter_2000_2007.pro	(revision 41)
@@ -0,0 +1,436 @@
+;------------------------------------------------------------
+pro net_flux_validation_scatter_2000_2007,date1,date2
+@common
+;------------------------------------------------------------
+
+reinitplt, /z,/invert
+key_portrait = 1
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+
+sitelist=['8s67e','12s55e', '8s55e', '8s80.5e', '1.5s80.5e', '0n80.5e', '1.5n80.5e', '1.5s90e', $
+           '0n90e', '1.5n90e', '4n90e','8n90e','12n90e', '15n90e', '5s95e', $
+           '8s165e', '8s180w',  '8s155w', '8s125w', '8s110w', '8s95w',  '5s156e', '5s165e', '5s180w', '5s170w', $
+          '5s155w', '5s140w', '5s125w', '5s110w', '5s95w', '2s156e', '2s165e', '2s180w', '2s170w', '2s155w', '2s140w', $
+          '2s125w', '2s110w', '2s95w', '0n147e', '0n156e', '0n165e', '0n180w', '0n170w', '0n155w', '0n140w', '0n125w', $
+          '0n110w', '0n95w', '2n147e', '2n156e', '2n165e', '2n180w', '2n170w', '2n155w', '2n140w', '2n125w', '2n110w', $
+          '2n95w', '5n147e', '5n156e', '5n165e', '5n170w', '5n155w', '5n140w', '5n125w', '5n110w', '5n95w', $
+          '8n156e', '8n165e', '8n180w', '8n170w', '9n140w', '8n125w', '8n110w', '8n95w', $
+          '0n0e', '0n10w', '0n23w', '0n35w', '10s10w', '12n23w', '12n38w', '14s32w', '15n38w', '19s34w', '20n38w', $
+          '21n23w', '4n23w', '4n38w', '6s10w', '8n38w', '8s30w']
+
+jda1=date2jul(date1)
+jda2=date2jul(date2)
+jpt=(jda2-jda1+1l)
+time=jda1+dindgen(jpt) & tt=time
+
+ocean='net_flux'
+nsmooth=1. 
+;------------------------------------------------------------------------------------------------------------------------
+;;   This program will create the following text files with statistics of respective variables
+;------------------------------------------------------------------------------------------------------------------------
+file_trop='/Users/pkb/data/TropFlux/TropFlux_19890101_20091231.nc'
+initncdf, file_trop
+shf_trop=read_ncdf("shf", date1, date2, file=file_trop,/nostr)
+lhf_trop=read_ncdf("lhf", date1, date2, file=file_trop,/nostr)
+lwr_trop=read_ncdf("lwr", date1, date2, file=file_trop,/nostr) 
+
+file_trop='/Users/pkb/data/TropFlux/TropFlux_swr_19890101_20071231_DT_v50.nc'
+initncdf, file_trop
+swr_dt=read_ncdf("swr", date1, date2, file=file_trop,/nostr)
+trop=swr_dt+(lwr_trop+lhf_trop+shf_trop)
+help, trop
+
+file_trop='/Users/pkb/data/TropFlux/TropFlux_swr_19890101_20091231_NRT_v50.nc'
+initncdf, file_trop
+swr_nrt=read_ncdf("sw", date1-1, date2, file=file_trop,/nostr)
+tropd=swr_nrt+(lwr_trop+lhf_trop+shf_trop)
+help, tropd
+
+file_ncep='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/NCEP2_flux_19890101_20090729.nc'
+initncdf, file_ncep
+shf=read_ncdf("shf", date1, date2, file=file_ncep,/nostr)
+lhf=read_ncdf("lhf", date1, date2, file=file_ncep,/nostr)
+lwr=read_ncdf("lwr", date1, date2, file=file_ncep,/nostr)
+swr=read_ncdf("swr", date1, date2, file=file_ncep,/nostr)
+
+;ncep=swr-(lhf+shf+ref_lw)
+ncep=swr-(lhf+shf+lwr)
+help, ncep
+
+file_erai='/Volumes/Iomega_HDD/work/flux_reconstruction/gridded_data/erai_fluxes_19930101_20090801_TROP_oafluxgrid.nc'
+initncdf, file_erai
+shf=read_ncdf("shf", date1, date2, file=file_erai,/nostr)
+lhf=read_ncdf("lhf", date1, date2, file=file_erai,/nostr)
+lwr=read_ncdf("lwr", date1, date2, file=file_erai,/nostr)
+swr=read_ncdf("swr", date1, date2, file=file_erai,/nostr) & swr=-1*swr
+erai=swr-(lwr+lhf+shf)
+help, erai
+
+file_oaf='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/shf_oafluxgrid_1985_2008.nc'
+initncdf, file_oaf
+shf=read_ncdf("shf", date1, date2, file=file_oaf,/nostr) 
+file_oaf='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/lhf_oafluxgrid_1985_2008.nc'
+initncdf, file_oaf
+lhf=read_ncdf("lhf", date1, date2, file=file_oaf,/nostr) 
+file_oaf='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/lwr_oafluxgrid_1985_2007.nc'
+initncdf, file_oaf
+lwr=read_ncdf("lwr", date1, date2, file=file_oaf,/nostr) 
+file_oaf='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/swr_oafluxgrid_1985_2007.nc'
+initncdf, file_oaf
+swr=read_ncdf("swr", date1, date2, file=file_oaf,/nostr) & swr_trop=swr
+oafl=swr-(lwr+lhf+shf)
+help, oafl
+
+file='/Volumes/Iomega_HDD/flux_reconstruction/ncep/fluxe_ncep1_19890101_20091231.nc'
+initncdf, file
+lwr=read_ncdf("lwr", date1, date2, file=file,/nostr)
+swr=read_ncdf("swr", date1, date2, file=file,/nostr)
+lhf=read_ncdf("lhf", date1, date2, file=file,/nostr)
+shf=read_ncdf("shf", date1, date2, file=file,/nostr)
+
+ncep1=swr+lwr+shf+lhf
+help, ncep1
+
+;------------------------------------------------------------------------------------------------------------------------
+close,/all
+
+fi_net_NRT_erai='/Users/pkb/work/MY_SAXO/flux_automat/net_2000_2007_erai_v50.txt'
+openw,1,fi_net_NRT_erai
+fi_net_NRT_trop='/Users/pkb/work/MY_SAXO/flux_automat/net_2000_2007_trop_v50.txt'
+openw,2,fi_net_NRT_trop
+fi_net_NRT_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/net_2000_2007_oaflx_v50.txt'
+openw,3,fi_net_NRT_oaflx
+fi_net_NRT_ncep='/Users/pkb/work/MY_SAXO/flux_automat/net_2000_2007_ncep_v50.txt'
+openw,4,fi_net_NRT_ncep
+fi_net_NRT_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/net_2000_2007_ncep1_v50.txt'
+openw,5,fi_net_NRT_ncep1
+fi_net_NRT_tropd='/Users/pkb/work/MY_SAXO/flux_automat/net_2000_2007_tropd_v50.txt'
+openw,6,fi_net_NRT_tropd
+
+
+printf,1, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,2, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,3, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,4, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,5, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,6, 'x     y      cor    bias     std     rmsd      mean_tao'
+
+;------------------------------------------------------------------------------------------------------------------------
+nn=n_elements(sitelist)
+
+date1=date1
+date2=date2
+for n=0, nn-1 do begin
+
+;; reading data from mooring
+
+    site=sitelist(n) & csite=site
+    print, csite
+    x=x_site_location(site)
+    y=y_site_location(site)
+    if (y ge 0. and y le 30.) then y=y+360.
+    dx=0.5 & dy=0.5 & box=[y-dy, y+dy, x-dx, x+dx]
+    
+    read_variables_net_flux, csite,date1,date2,nsmooth, $
+         net
+    tao=net & ind=where(finite(tao)) & valid=n_elements(ind)
+
+;;    
+    if (valid ge 180. ) then begin
+
+           extract_flux_tropflux, oafl, box, $
+              tropflux
+           oaflux=tropflux
+
+           extract_flux_tropflux, ncep, box, $
+              tropflux
+           ncepflux=tropflux
+
+           extract_flux_tropflux, erai, box, $
+              tropflux
+           eraiflux=tropflux
+
+           extract_flux_tropflux, trop, box, $
+              tropflux
+           tropflux_new=tropflux 
+
+           extract_flux_tropflux, ncep1, box, $
+              tropflux
+           ncepflux1=tropflux
+
+           extract_flux_tropflux, tropd, box, $
+              tropflux
+           tropdf=tropflux
+
+           ind=where(finite(tao)) & tao=tao(ind) & oaf_net=oaflux(ind) & nce_net=ncepflux(ind) & trop_net=tropflux_new(ind) 
+           erai_net=eraiflux(ind) & nce1_net=ncepflux1(ind) & tropd_net=tropdf(ind)
+
+           mean_tao=total(tao,/nan)/n_elements(ind)
+
+        statistics_3var_v1, tao, erai_net, trop_net, $
+                 cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+
+        printf, 1, x, y, cor1, bias1, std1, rmsd1, mean_tao, format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f7.2,3x,f4.2,3x,f6.2,3x,f7.2)'
+        printf, 2, x, y, cor2, bias2, std2, rmsd2, mean_tao, format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f7.2,3x,f4.2,3x,f6.2,3x,f7.2)'
+
+        statistics_3var_v1, tao,oaf_net , nce_net, $
+                cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+        printf, 3, x, y, cor1, bias1, std1, rmsd1, mean_tao,format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f7.2,3x,f4.2,3x,f6.2,3x,f7.2)'
+        printf, 4, x, y, cor2, bias2, std2, rmsd2, mean_tao,format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f7.2,3x,f4.2,3x,f6.2,3x,f7.2)'
+
+	statistics_3var_v1, tao,nce1_net , tropd_net, $
+                cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+        printf, 5, x, y, cor1, bias1, std1, rmsd1, mean_tao,format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f7.2,3x,f4.2,3x,f6.2,3x,f7.2)'
+        printf, 6, x, y, cor2, bias2, std2, rmsd2, mean_tao,format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f7.2,3x,f4.2,3x,f6.2,3x,f7.2)'
+
+     endif
+endfor
+
+close,/all
+
+fi_net_NRT_erai='/Users/pkb/work/MY_SAXO/flux_automat/net_2000_2007_erai_v50.txt'
+res=read_ascii(fi_net_NRT_erai,data_start=1)
+ff=res.field1
+cor_erai=reform(ff(2,*))
+bias_erai=reform(ff(3,*))
+std_erai=reform(ff(4,*))
+rmsd_erai=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_erai=mean_tao+bias_erai
+
+ind=where(finite(cor_erai)) & cor=total(cor_erai,/nan)/n_elements(ind)
+ind=where(finite(bias_erai)) & bias=total(bias_erai,/nan)/n_elements(ind)
+ind=where(finite(rmsd_erai)) & rmsd=total(rmsd_erai,/nan)/n_elements(ind)
+ind=where(finite(std_erai)) & std=total(std_erai,/nan)/n_elements(ind)
+
+print, ''
+print, 'ERAI'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_erai, charsize=1.1, title='NET_Flux - TAO Vs ERAI', $
+     xrange=[-100,200], yrange=[-100,200], small=[2,3,1], psym=2, xmin=1,ymin=1
+xyouts, -50,-40, cstat, charsize=1.
+xyouts, -40,-80, 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_erai
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [-100,200], [-100,200]
+
+
+fi_net_NRT_trop='/Users/pkb/work/MY_SAXO/flux_automat/net_2000_2007_trop_v50.txt'
+res=read_ascii(fi_net_NRT_trop,data_start=1)
+ff=res.field1
+cor_trop=reform(ff(2,*))
+bias_trop=reform(ff(3,*))
+std_trop=reform(ff(4,*))
+rmsd_trop=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_trop=mean_tao+bias_trop
+
+ind=where(finite(cor_trop)) & cor=total(cor_trop,/nan)/n_elements(ind)
+ind=where(finite(bias_trop)) & bias=total(bias_trop,/nan)/n_elements(ind)
+ind=where(finite(rmsd_trop)) & rmsd=total(rmsd_trop,/nan)/n_elements(ind)
+ind=where(finite(std_trop)) & std=total(std_trop,/nan)/n_elements(ind)
+
+print, ''
+print, 'TropFlux'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_trop, charsize=1.1, title='NET_Flux - TAO Vs TropFlux', $
+     xrange=[-100,200], yrange=[-100,200], small=[2,3,2],/noer, psym=2, xmin=1,ymin=1
+xyouts, -50,-40, cstat, charsize=1.
+xyouts, -40,-80, 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_trop
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [-100,200], [-100,200]
+
+
+fi_net_NRT_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/net_2000_2007_oaflx_v50.txt'
+res=read_ascii(fi_net_NRT_oaflx,data_start=1)
+ff=res.field1
+cor_oaf=reform(ff(2,*))
+bias_oaf=reform(ff(3,*))
+std_oaf=reform(ff(4,*))
+rmsd_oaf=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_oaf=mean_tao+bias_oaf
+
+ind=where(finite(cor_oaf)) & cor=total(cor_oaf,/nan)/n_elements(ind)
+ind=where(finite(bias_oaf)) & bias=total(bias_oaf,/nan)/n_elements(ind)
+ind=where(finite(rmsd_oaf)) & rmsd=total(rmsd_oaf,/nan)/n_elements(ind)
+ind=where(finite(std_oaf)) & std=total(std_oaf,/nan)/n_elements(ind)
+
+print, ''
+print, 'OAFlux'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_oaf, charsize=1.1, title='NET_Flux - TAO Vs OAFlux', $
+     xrange=[-100,200], yrange=[-100,200], small=[2,3,3],/noer, psym=2, xmin=1,ymin=1
+x=mean_tao & y=mean_oaf
+
+xyouts, -50,-40, cstat, charsize=1.
+xyouts, -40,-80, 'cor    bias    std    rmsd', charsize=1.
+
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [-100,200], [-100,200]
+
+
+fi_net_NRT_ncep='/Users/pkb/work/MY_SAXO/flux_automat/net_2000_2007_ncep_v50.txt'
+res=read_ascii(fi_net_NRT_ncep,data_start=1)
+ff=res.field1
+cor_nce=reform(ff(2,*))
+bias_nce=reform(ff(3,*))
+std_nce=reform(ff(4,*))
+rmsd_nce=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_nce=mean_tao+bias_nce
+
+ind=where(finite(cor_nce)) & cor=total(cor_nce,/nan)/n_elements(ind)
+ind=where(finite(bias_nce)) & bias=total(bias_nce,/nan)/n_elements(ind)
+ind=where(finite(rmsd_nce)) & rmsd=total(rmsd_nce,/nan)/n_elements(ind)
+ind=where(finite(std_nce)) & std=total(std_nce,/nan)/n_elements(ind)
+
+print, ''
+print, 'NCEP2'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_nce, charsize=1.1, title='NET_Flux - TAO Vs NCEP2', $
+     xrange=[-100,200], yrange=[-100,200], small=[2,3,4],/noer, psym=2, xmin=1,ymin=1
+xyouts, -50,-40, cstat, charsize=1.
+xyouts, -40,-80, 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_nce
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [-100,200], [-100,200]
+
+
+fi_net_NRT_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/net_2000_2007_ncep1_v50.txt'
+res=read_ascii(fi_net_NRT_ncep1,data_start=1)
+ff=res.field1
+cor_nce=reform(ff(2,*))
+bias_nce=reform(ff(3,*))
+std_nce=reform(ff(4,*))
+rmsd_nce=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_nce=mean_tao+bias_nce
+
+ind=where(finite(cor_nce)) & cor=total(cor_nce,/nan)/n_elements(ind)
+ind=where(finite(bias_nce)) & bias=total(bias_nce,/nan)/n_elements(ind)
+ind=where(finite(rmsd_nce)) & rmsd=total(rmsd_nce,/nan)/n_elements(ind)
+ind=where(finite(std_nce)) & std=total(std_nce,/nan)/n_elements(ind)
+
+print, ''
+print, 'NCEP2'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_nce, charsize=1.1, title='NET_Flux - TAO Vs NCEP2', $
+     xrange=[-100,200], yrange=[-100,200], small=[2,3,5],/noer, psym=2, xmin=1,ymin=1
+xyouts, -50,-40, cstat, charsize=1.
+xyouts, -40,-80, 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_nce
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [-100,200], [-100,200]
+
+
+fi_net_NRT_tropd='/Users/pkb/work/MY_SAXO/flux_automat/net_2000_2007_tropd_v50.txt'
+res=read_ascii(fi_net_NRT_tropd,data_start=1)
+ff=res.field1
+cor_tropd=reform(ff(2,*))
+bias_tropd=reform(ff(3,*))
+std_tropd=reform(ff(4,*))
+rmsd_tropd=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_tropd=mean_tao+bias_tropd
+
+ind=where(finite(cor_tropd)) & cor=total(cor_tropd,/nan)/n_elements(ind)
+ind=where(finite(bias_tropd)) & bias=total(bias_tropd,/nan)/n_elements(ind)
+ind=where(finite(rmsd_tropd)) & rmsd=total(rmsd_tropd,/nan)/n_elements(ind)
+ind=where(finite(std_tropd)) & std=total(std_tropd,/nan)/n_elements(ind)
+
+print, ''
+print, 'TropFlux_NRT'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_tropd, charsize=1.1, title='NET_Flux - TAO Vs TropFlux_NRT', $
+     xrange=[-100,200], yrange=[-100,200], small=[2,3,6],/noer, psym=2, xmin=1,ymin=1
+xyouts, -50,-40, cstat, charsize=1.
+xyouts, -40,-80, 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_tropd
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [-100,200], [-100,200]
+
+;-----------------------------------------------------------
+closeps
+
+fig='net_flux_validation_scatter_2000_2007.ps'
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+return
+end
+;--------------------------------------------------------------------------
+function x_site_location, site
+    n1=strpos(site, 's')
+if (n1 gt -1) then begin
+    ns=-1.
+    x=strmid(site, 0, n1)
+    x=float(x)*ns
+endif else begin
+    n1=strpos(site, 'n')
+    x=strmid(site, 0, n1)
+    ny=1.
+    x=float(x)*ny
+endelse
+return, float(x)
+end
+;--------------------------------------------------------------------------
+function y_site_location, site
+    n1=strpos(site, 'e')
+if (n1 gt -1) then begin
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+    endelse
+
+endif else begin
+    n1=strpos(site, 'w')
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+   endelse
+endelse
+return,float(y)
+end
+
+;--------------------------------------------------------------------------
+
Index: /trunk/src/paper01/fig14/as_validation_net_1994_95_v10.pro
===================================================================
--- /trunk/src/paper01/fig14/as_validation_net_1994_95_v10.pro	(revision 41)
+++ /trunk/src/paper01/fig14/as_validation_net_1994_95_v10.pro	(revision 41)
@@ -0,0 +1,217 @@
+pro as_validation_net_1994_95_v10
+@common
+;------------------------------------------------------------
+reinitplt, /z,/invert
+key_portrait = 1
+coefpalit=.9
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+; partie a changer
+;------------------------------------------------------------
+asbox=[61,62,15,16]
+date1=19941016 & date2=19951019
+
+fi="/Users/pkb/data/Mooring_data/AS_expt/met_data_as_expt_1994.txt"
+res=read_ascii(fi,data_start=1)
+ff=res.field1
+swr94=reform(ff(7,*))*0.93
+lwr94=reform(ff(8,*))
+lhf94=reform(ff(5,*))
+shf94=reform(ff(6,*))
+net94=swr94+lwr94+lhf94+shf94
+
+fi="/Users/pkb/data/Mooring_data/AS_expt/met_data_as_expt_1995.txt"
+res=read_ascii(fi,data_start=1)
+ff=res.field1
+swr95=reform(ff(7,*))*0.93
+lwr95=reform(ff(8,*))
+lhf95=reform(ff(5,*))
+shf95=reform(ff(6,*))
+net95=swr95+lwr95+lhf95+shf95
+
+net=[net94, net95]
+ind=where(finite(net))
+net=net(ind)
+
+;; start data - 16/10/94 and end date 31/12/94
+;; start data - 01/01/95 and end date 19/10/95
+
+help, net
+;; reading other data sets
+file="/Users/pkb/data/ERA-I/erai_swr_19910101_20091231_oafluxgrid.nc"
+initncdf, file
+swr=read_ncdf('swr',date1,date2,file=file,/nostr, box=asbox) & swr=reform(swr)
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_lwr_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+lwr=read_ncdf('lwr',date1-1,date2,file=file,/nostr, box=asbox) & lwr=reform(lwr)
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_shf_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+shf=-1*read_ncdf('shf',date1,date2,file=file,/nostr, box=asbox) & shf=reform(shf)
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_lhf_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+lhf=-1*read_ncdf('lhf',date1,date2,file=file,/nostr, box=asbox) & lhf=reform(lhf)
+
+era=swr+lwr+lhf+shf
+help, era
+era=era(ind)
+help, era
+
+swr=0. & lwr=0. & shf=0. & lhf=0.
+
+file="/Users/pkb/data/TropFlux/TropFlux_19890101_20091231.nc"
+initncdf, file
+swr=read_ncdf('swr',date1,date2,file=file,/nostr, box=asbox) & swr=reform(swr)
+lwr=read_ncdf('lwr',date1,date2,file=file,/nostr, box=asbox) & lwr=reform(lwr)
+shf=read_ncdf('shf',date1,date2,file=file,/nostr, box=asbox) & shf=reform(shf)
+lhf=read_ncdf('lhf',date1,date2,file=file,/nostr, box=asbox) & lhf=reform(lhf)
+trop=swr+lwr+shf+lhf
+help, trop
+
+file="/Users/pkb/data/TropFlux/TropFlux_swr_19890101_20091231_NRT_v50.nc"
+initncdf, file
+olr1=read_ncdf("sw", date1-1, date2, file=file,/nostr, box=asbox) ;; & olr1=grossemoyenne(olr1, "xy",/nan, box=asbox) & 
+olr1=reform(olr1)
+
+olr=olr1+lwr+shf+lhf
+
+swr=0. & lwr=0. & shf=0. & lhf=0. & olr1=0.
+
+trop=trop(ind) & olr=olr(ind)
+help, trop, olr
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/swr_oafluxgrid_1985_2007.nc'
+initncdf, file
+swr=read_ncdf("swr", date1, date2, file=file,/nostr, box=asbox) & swr=reform(swr)
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/lwr_oafluxgrid_1985_2007.nc'
+initncdf, file
+lwr=read_ncdf("lwr", date1, date2, file=file,/nostr, box=asbox) & lwr=-1*reform(lwr)
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/lhf_oafluxgrid_1985_2009.nc'
+initncdf, file
+lhf=read_ncdf("lhf", date1, date2, file=file,/nostr, box=asbox) & lhf=-1*reform(lhf)
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/shf_oafluxgrid_1985_2009.nc'
+initncdf, file
+shf=read_ncdf("shf", date1, date2, file=file,/nostr, box=asbox) & shf=-1*reform(shf)
+
+oaf=swr+lwr+shf+lhf
+oaf=oaf(ind)
+help, oaf
+
+swr=0. & lwr=0. & shf=0. & lhf=0.
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/swr_ncep2_oaflxgrid_19890101_20091231.nc'
+initncdf, fi
+swr=read_ncdf("swr", date1, date2, file=fi,/nostr, box=asbox) & swr=reform(swr)
+
+fi="/Volumes/Iomega_HDD/flux_reconstruction/ncep2/NCEP2_flux_19890101_20090729.nc"
+initncdf, fi
+lwr=read_ncdf("lwr", date1, date2, file=fi,/nostr, box=asbox) & lwr=grossemoyenne(lwr, "xy",/nan, box=asbox) & lwr=reform(lwr)
+
+lwr=-1*lwr
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/lhf_ncep2_oafluxgrid_19890101_20091231.nc'
+initncdf, fi
+lhf=read_ncdf("lhf", date1, date2, file=fi,/nostr, box=asbox) & lhf=-1*reform(lhf)
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/shf_ncep2_oafluxgrid_19890101_20091231.nc'
+initncdf, fi
+shf=read_ncdf("shf", date1, date2, file=fi,/nostr, box=asbox) & shf=-1*reform(shf)
+
+nce2=swr+lwr+shf+lhf
+help, nce2
+
+nce2=nce2(ind)
+help, nce2
+swr=0. & lwr=0. & shf=0. & lhf=0.
+
+file="/Users/pkb/data/heat_budget/ncep/ncep1_flux_19890101_20091231.nc"
+initncdf, file
+swr=read_ncdf("swr", date1, date2, file=file,/nostr, box=asbox) & swr=reform(swr)
+lwr=read_ncdf("lwr", date1, date2, file=file,/nostr, box=asbox) & lwr=reform(lwr)
+lhf=read_ncdf("lhf", date1, date2, file=file,/nostr, box=asbox) & lhf=reform(lhf)
+shf=read_ncdf("shf", date1, date2, file=file,/nostr, box=asbox) & shf=reform(shf)
+nce1=swr+lwr+shf+lhf
+
+help, nce1
+
+nce1=nce1(ind)
+help, nce1
+;------------------------------------------------------------
+;ind=where(finite(net))
+;net=net(ind) & era=era(ind) & trop=trop(ind) & oaf=oaf(ind) & nce1=nce1(ind) & nce2=nce2(ind)
+;olr=olr(ind)
+
+statistics, net, era, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_era=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, trop, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_trop=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, oaf, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_oaf=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, nce1, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_nce1=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, nce2, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_nce2=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, olr, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_olr=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+;------------------------------------------------------------
+splot, net, era, charsize=1.1, title='Net Flux - AS Vs ERAI', $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,1], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, -150,-175, cstat_era, charsize=1.
+
+splot, net, trop, charsize=1.1, title='Net Flux - AS Vs TropFlux',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,2], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, -150,-175, cstat_trop, charsize=1.
+
+splot, net, oaf, charsize=1.1, title='Net Flux - AS Vs OAFlux',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,3], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, -150,-175, cstat_oaf, charsize=1.
+
+splot, net, nce1, charsize=1.1, title='Net Flux - AS Vs NCEP1',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,4], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, -150,-175, cstat_nce1, charsize=1.
+
+splot, net, nce2, charsize=1.1, title='Net Flux - AS Vs NCEP2',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,5], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, -150,-175, cstat_nce2, charsize=1.
+
+splot, net, olr, charsize=1.1, title='Net Flux - AS Vs TropFlux_NRT',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,6], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, -150,-175, cstat_olr, charsize=1.
+
+stop
+;------------------------------------------------------------
+closeps
+fig='as_validation_net_1994_95_v10.ps'
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+;------------------------------------------------------------
+return
+end
+
Index: /trunk/src/paper01/fig14/coare_validation_net_1992_93_all_v10.pro
===================================================================
--- /trunk/src/paper01/fig14/coare_validation_net_1992_93_all_v10.pro	(revision 41)
+++ /trunk/src/paper01/fig14/coare_validation_net_1992_93_all_v10.pro	(revision 41)
@@ -0,0 +1,353 @@
+pro coare_validation_net_1992_93_all_v10
+@common
+;------------------------------------------------------------
+reinitplt, /z,/invert
+key_portrait = 1
+coefpalit=.9
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+; partie a changer
+;------------------------------------------------------------
+
+box=[155.5, 156.5, -2, -1]
+
+;; first leg
+;; start data - 11/11/92 and end date 03/12/92
+fi="/Users/pkb/data/Mooring_data/COARE/met_data_coare_expt_1992_p1.txt"
+res=read_ascii(fi,data_start=1)
+ff=res.field1
+date=reform(ff(0,*))
+sw92_1=reform(ff(7,*))/0.93
+lw92_1=reform(ff(8,*))
+lh92_1=reform(ff(5,*))
+sh92_1=reform(ff(6,*))
+
+net1=sw92_1+lw92_1+lh92_1+sh92_1
+
+st1=921111 & en1=921203
+
+;; second leg
+
+fi="/Users/pkb/data/Mooring_data/COARE/met_data_coare_expt_1992_p2.txt"
+res=read_ascii(fi,data_start=1)
+ff=res.field1
+sw92_2=reform(ff(7,*))/0.93
+lw92_2=reform(ff(8,*))
+lh92_2=reform(ff(5,*))
+sh92_2=reform(ff(6,*))
+
+net2=sw92_2+lw92_2+lh92_2+sh92_2
+
+;; start data - 17/12/92 and end date 31/12/92
+st2=19921217 & en2=19921231
+
+;; third leg
+
+fi="/Users/pkb/data/Mooring_data/COARE/met_data_coare_expt_1993_p1.txt"
+res=read_ascii(fi,data_start=1)
+ff=res.field1
+sw93_1=reform(ff(7,*))/0.93
+lw93_1=reform(ff(8,*))
+lh93_1=reform(ff(5,*))
+sh93_1=reform(ff(6,*))
+
+net3=sw93_1+lw93_1+lh93_1+sh93_1
+
+;; start data - 01/01/93 and end date 11/01/93
+st3=19930101 & en3=19930111
+
+;; fourth leg
+
+fi="/Users/pkb/data/Mooring_data/COARE/met_data_coare_expt_1993_p2.txt"
+res=read_ascii(fi,data_start=1)
+ff=res.field1
+sw93_2=reform(ff(7,*))
+lw93_2=reform(ff(8,*))
+lh93_2=reform(ff(5,*))
+sh93_2=reform(ff(6,*))
+
+net4=sw93_2+lw93_2+lh93_2+sh93_2
+
+;; start data - 28/01/93 and end date 16/02/93
+st4=19930128 & en4=19930216
+
+net=[net1, net2, net3, net4]
+help, net
+
+;; reading other data sets
+
+st1=19921111 & en1=19921203
+st2=19921217 & en2=19921231
+st3=19930101 & en3=19930111
+st4=19930128 & en4=19930216
+
+;file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_swr_19890101_20091231_oafluxgrid.nc'
+file="/Users/pkb/data/ERA-I/erai_swr_19910101_20091231_oafluxgrid.nc"
+initncdf, file
+swr1=read_ncdf('swr',st1,en1,file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy", box=box,/nan) & swr1=reform(swr1)
+swr2=read_ncdf('swr',st2,en2,file=file,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy", box=box,/nan) & swr2=reform(swr2)
+swr3=read_ncdf('swr',st3,en3,file=file,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy", box=box,/nan) & swr3=reform(swr3)
+swr4=read_ncdf('swr',st4,en4,file=file,/nostr, box=box) & swr4=grossemoyenne(swr4, "xy", box=box,/nan) & swr4=reform(swr4)
+
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_lwr_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+lwr1=read_ncdf('lwr',st1-1,en1,file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy", box=box,/nan) & lwr1=reform(lwr1)
+lwr2=read_ncdf('lwr',st2-1,en2,file=file,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy", box=box,/nan) & lwr2=reform(lwr2)
+lwr3=read_ncdf('lwr',st3-1,en3,file=file,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy", box=box,/nan) & lwr3=reform(lwr3)
+lwr4=read_ncdf('lwr',st4-1,en4,file=file,/nostr, box=box) & lwr4=grossemoyenne(lwr4, "xy", box=box,/nan) & lwr4=reform(lwr4)
+
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_lhf_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+lhf1=-1*read_ncdf('lhf',st1,en1,file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy", box=box,/nan) & lhf1=reform(lhf1)
+lhf2=-1*read_ncdf('lhf',st2,en2,file=file,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy", box=box,/nan) & lhf2=reform(lhf2)
+lhf3=-1*read_ncdf('lhf',st3,en3,file=file,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy", box=box,/nan) & lhf3=reform(lhf3)
+lhf4=-1*read_ncdf('lhf',st4,en4,file=file,/nostr, box=box) & lhf4=grossemoyenne(lhf4, "xy", box=box,/nan) & lhf4=reform(lhf4)
+
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_shf_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+shf1=-1*read_ncdf('shf',st1,en1,file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy", box=box,/nan) & shf1=reform(shf1)
+shf2=-1*read_ncdf('shf',st2,en2,file=file,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy", box=box,/nan) & shf2=reform(shf2)
+shf3=-1*read_ncdf('shf',st3,en3,file=file,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy", box=box,/nan) & shf3=reform(shf3)
+shf4=-1*read_ncdf('shf',st4,en4,file=file,/nostr, box=box) & shf4=grossemoyenne(shf4, "xy", box=box,/nan) & shf4=reform(shf4)
+
+net1=swr1+lwr1+lhf1+shf1 & net2=swr2+lwr2+lhf2+shf2
+net3=swr3+lwr3+lhf3+shf3 & net4=swr4+lwr4+lhf4+shf4
+era=[net1,net2,net3,net4]
+
+help, era
+swr1=0 & swr2=0 & swr3=0 & swr4=0 & lwr1=0 & lwr2=0 & lwr3=0 & lwr4=0
+lhf1=0 & lhf2=0 & lhf3=0 & lhf4=0 & shf1=0 & shf2=0 & shf3=0 & shf4=0
+net1=0 & net2=0 & net3=0 & net4=0
+
+file="/Users/pkb/data/TropFlux/TropFlux_19890101_20091231.nc"
+initncdf, file
+swr1=read_ncdf('swr',st1,en1,file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy",/nan, box=box) & swr1=reform(swr1)
+swr2=read_ncdf('swr',st2,en2,file=file,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy",/nan, box=box) & swr2=reform(swr2)
+swr3=read_ncdf('swr',st3,en3,file=file,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy",/nan, box=box) & swr3=reform(swr3)
+swr4=read_ncdf('swr',st4,en4,file=file,/nostr, box=box) & swr4=grossemoyenne(swr4, "xy",/nan, box=box) & swr4=reform(swr4)
+
+lwr1=read_ncdf('lwr',st1,en1,file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy",/nan, box=box) & lwr1=reform(lwr1)
+lwr2=read_ncdf('lwr',st2,en2,file=file,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy",/nan, box=box) & lwr2=reform(lwr2)
+lwr3=read_ncdf('lwr',st3,en3,file=file,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy",/nan, box=box) & lwr3=reform(lwr3)
+lwr4=read_ncdf('lwr',st4,en4,file=file,/nostr, box=box) & lwr4=grossemoyenne(lwr4, "xy",/nan, box=box) & lwr4=reform(lwr4)
+
+lhf1=read_ncdf('lhf',st1,en1,file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy",/nan, box=box) & lhf1=reform(lhf1)
+lhf2=read_ncdf('lhf',st2,en2,file=file,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy",/nan, box=box) & lhf2=reform(lhf2)
+lhf3=read_ncdf('lhf',st3,en3,file=file,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy",/nan, box=box) & lhf3=reform(lhf3)
+lhf4=read_ncdf('lhf',st4,en4,file=file,/nostr, box=box) & lhf4=grossemoyenne(lhf4, "xy",/nan, box=box) & lhf4=reform(lhf4)
+
+shf1=read_ncdf('shf',st1,en1,file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy",/nan, box=box) & shf1=reform(shf1)
+shf2=read_ncdf('shf',st2,en2,file=file,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy",/nan, box=box) & shf2=reform(shf2)
+shf3=read_ncdf('shf',st3,en3,file=file,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy",/nan, box=box) & shf3=reform(shf3)
+shf4=read_ncdf('shf',st4,en4,file=file,/nostr, box=box) & shf4=grossemoyenne(shf4, "xy",/nan, box=box) & shf4=reform(shf4)
+
+net1=swr1+lwr1+lhf1+shf1 & net2=swr2+lwr2+lhf2+shf2 
+net3=swr3+lwr3+lhf3+shf3 & net4=swr4+lwr4+lhf4+shf4
+
+file="/Users/pkb/data/TropFlux/TropFlux_swr_19890101_20091231_NRT_v50.nc"
+initncdf, file
+olr1=read_ncdf("sw", st1-1, en1, file=file,/nostr, box=box) & olr1=grossemoyenne(olr1, "xy",/nan, box=box) & olr1=reform(olr1)
+olr2=read_ncdf("sw", st2-1, en2, file=file,/nostr, box=box) & olr2=grossemoyenne(olr2, "xy",/nan, box=box) & olr2=reform(olr2)
+olr3=read_ncdf("sw", st3-1, en3, file=file,/nostr, box=box) & olr3=grossemoyenne(olr3, "xy",/nan, box=box) & olr3=reform(olr3)
+olr4=read_ncdf("sw", st4-1, en4, file=file,/nostr, box=box) & olr4=grossemoyenne(olr4, "xy",/nan, box=box) & olr4=reform(olr4)
+
+neto_1=olr1+lwr1+lhf1+shf1 & neto_2=olr2+lwr2+lhf2+shf2
+neto_3=olr3+lwr3+lhf3+shf3 & neto_4=olr4+lwr4+lhf4+shf4
+
+trop=[net1,net2,net3,net4]
+olr=[neto_1,neto_2,neto_3,neto_4]
+help, trop, olr
+
+swr1=0 & swr2=0 & swr3=0 & swr4=0 & lwr1=0 & lwr2=0 & lwr3=0 & lwr4=0
+lhf1=0 & lhf2=0 & lhf3=0 & lhf4=0 & shf1=0 & shf2=0 & shf3=0 & shf4=0
+net1=0 & net2=0 & net3=0 & net4=0 & neto_1=0 & neto_2=0 & neto_3=0 & neto_4=0
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/swr_oafluxgrid_1985_2007.nc'
+initncdf, file
+swr1=read_ncdf("swr", st1, en1, file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy",/nan, box=box) & swr1=reform(swr1)
+swr2=read_ncdf("swr", st2, en2, file=file,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy",/nan, box=box) & swr2=reform(swr2)
+swr3=read_ncdf("swr", st3, en3, file=file,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy",/nan, box=box) & swr3=reform(swr3)
+swr4=read_ncdf("swr", st4, en4, file=file,/nostr, box=box) & swr4=grossemoyenne(swr4, "xy",/nan, box=box) & swr4=reform(swr4)
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/lwr_oafluxgrid_1985_2007.nc'
+initncdf, file
+lwr1=-1*read_ncdf("lwr", st1, en1, file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy",/nan, box=box) & lwr1=reform(lwr1)
+lwr2=-1*read_ncdf("lwr", st2, en2, file=file,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy",/nan, box=box) & lwr2=reform(lwr2)
+lwr3=-1*read_ncdf("lwr", st3, en3, file=file,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy",/nan, box=box) & lwr3=reform(lwr3)
+lwr4=-1*read_ncdf("lwr", st4, en4, file=file,/nostr, box=box) & lwr4=grossemoyenne(lwr4, "xy",/nan, box=box) & lwr4=reform(lwr4)
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/lhf_oafluxgrid_1985_2009.nc'
+initncdf, file
+lhf1=-1*read_ncdf("lhf", st1, en1, file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy",/nan, box=box) & lhf1=reform(lhf1)
+lhf2=-1*read_ncdf("lhf", st2, en2, file=file,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy",/nan, box=box) & lhf2=reform(lhf2)
+lhf3=-1*read_ncdf("lhf", st3, en3, file=file,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy",/nan, box=box) & lhf3=reform(lhf3)
+lhf4=-1*read_ncdf("lhf", st4, en4, file=file,/nostr, box=box) & lhf4=grossemoyenne(lhf4, "xy",/nan, box=box) & lhf4=reform(lhf4)
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/shf_oafluxgrid_1985_2009.nc'
+initncdf, file
+shf1=-1*read_ncdf("shf", st1, en1, file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy",/nan, box=box) & shf1=reform(shf1)
+shf2=-1*read_ncdf("shf", st2, en2, file=file,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy",/nan, box=box) & shf2=reform(shf2)
+shf3=-1*read_ncdf("shf", st3, en3, file=file,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy",/nan, box=box) & shf3=reform(shf3)
+shf4=-1*read_ncdf("shf", st4, en4, file=file,/nostr, box=box) & shf4=grossemoyenne(shf4, "xy",/nan, box=box) & shf4=reform(shf4)
+
+net1=swr1+lwr1+lhf1+shf1 & net2=swr2+lwr2+lhf2+shf2
+net3=swr3+lwr3+lhf3+shf3 & net4=swr4+lwr4+lhf4+shf4
+
+oaf=[net1,net2,net3,net4]
+
+help, oaf
+swr1=0 & swr2=0 & swr3=0 & swr4=0 & lwr1=0 & lwr2=0 & lwr3=0 & lwr4=0
+lhf1=0 & lhf2=0 & lhf3=0 & lhf4=0 & shf1=0 & shf2=0 & shf3=0 & shf4=0
+net1=0 & net2=0 & net3=0 & net4=0
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/swr_ncep2_oaflxgrid_19890101_20091231.nc'
+initncdf, fi
+swr1=read_ncdf("swr", st1, en1, file=fi,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy",/nan, box=box) & swr1=reform(swr1)
+swr2=read_ncdf("swr", st2, en2, file=fi,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy",/nan, box=box) & swr2=reform(swr2)
+swr3=read_ncdf("swr", st3, en3, file=fi,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy",/nan, box=box) & swr3=reform(swr3)
+swr4=read_ncdf("swr", st4, en4, file=fi,/nostr, box=box) & swr4=grossemoyenne(swr4, "xy",/nan, box=box) & swr4=reform(swr4)
+
+fi="/Volumes/Iomega_HDD/flux_reconstruction/ncep2/NCEP2_flux_19890101_20090729.nc"
+initncdf, fi
+lwr1=-1*read_ncdf("lwr", st1, en1, file=fi,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy",/nan, box=box) & lwr1=reform(lwr1)
+lwr2=-1*read_ncdf("lwr", st2, en2, file=fi,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy",/nan, box=box) & lwr2=reform(lwr2)
+lwr3=-1*read_ncdf("lwr", st3, en3, file=fi,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy",/nan, box=box) & lwr3=reform(lwr3)
+lwr4=-1*read_ncdf("lwr", st4, en4, file=fi,/nostr, box=box) & lwr4=grossemoyenne(lwr4, "xy",/nan, box=box) & lwr4=reform(lwr4)
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/lhf_ncep2_oafluxgrid_19890101_20091231.nc'
+initncdf, fi
+lhf1=-1*read_ncdf("lhf", st1, en1, file=fi,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy",/nan, box=box) & lhf1=reform(lhf1)
+lhf2=-1*read_ncdf("lhf", st2, en2, file=fi,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy",/nan, box=box) & lhf2=reform(lhf2)
+lhf3=-1*read_ncdf("lhf", st3, en3, file=fi,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy",/nan, box=box) & lhf3=reform(lhf3)
+lhf4=-1*read_ncdf("lhf", st4, en4, file=fi,/nostr, box=box) & lhf4=grossemoyenne(lhf4, "xy",/nan, box=box) & lhf4=reform(lhf4)
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/shf_ncep2_oafluxgrid_19890101_20091231.nc'
+initncdf, fi
+shf1=-1*read_ncdf("shf", st1, en1, file=fi,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy",/nan, box=box) & shf1=reform(shf1)
+shf2=-1*read_ncdf("shf", st2, en2, file=fi,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy",/nan, box=box) & shf2=reform(shf2)
+shf3=-1*read_ncdf("shf", st3, en3, file=fi,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy",/nan, box=box) & shf3=reform(shf3)
+shf4=-1*read_ncdf("shf", st4, en4, file=fi,/nostr, box=box) & shf4=grossemoyenne(shf4, "xy",/nan, box=box) & shf4=reform(shf4)
+
+net1=swr1+lwr1+lhf1+shf1 & net2=swr2+lwr2+lhf2+shf2
+net3=swr3+lwr3+lhf3+shf3 & net4=swr4+lwr4+lhf4+shf4
+
+nce2=[net1,net2,net3,net4]
+
+help, nce2
+swr1=0 & swr2=0 & swr3=0 & swr4=0 & lwr1=0 & lwr2=0 & lwr3=0 & lwr4=0
+lhf1=0 & lhf2=0 & lhf3=0 & lhf4=0 & shf1=0 & shf2=0 & shf3=0 & shf4=0
+net1=0 & net2=0 & net3=0 & net4=0
+
+;file='/Volumes/Iomega_HDD/flux_reconstruction/ncep/fluxe_ncep1_19890101_20091231.nc'
+file="/Users/pkb/data/heat_budget/ncep/ncep1_flux_19890101_20091231.nc"
+initncdf, file
+swr1=read_ncdf("swr", st1, en1, file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy",/nan, box=box) & swr1=reform(swr1)
+swr2=read_ncdf("swr", st2, en2, file=file,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy",/nan, box=box) & swr2=reform(swr2)
+swr3=read_ncdf("swr", st3, en3, file=file,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy",/nan, box=box) & swr3=reform(swr3)
+swr4=read_ncdf("swr", st4, en4, file=file,/nostr, box=box) & swr4=grossemoyenne(swr4, "xy",/nan, box=box) & swr4=reform(swr4)
+
+lwr1=read_ncdf("lwr", st1, en1, file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy",/nan, box=box) & lwr1=reform(lwr1)
+lwr2=read_ncdf("lwr", st2, en2, file=file,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy",/nan, box=box) & lwr2=reform(lwr2)
+lwr3=read_ncdf("lwr", st3, en3, file=file,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy",/nan, box=box) & lwr3=reform(lwr3)
+lwr4=read_ncdf("lwr", st4, en4, file=file,/nostr, box=box) & lwr4=grossemoyenne(lwr4, "xy",/nan, box=box) & lwr4=reform(lwr4)
+
+lhf1=read_ncdf("lhf", st1, en1, file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy",/nan, box=box) & lhf1=reform(lhf1)
+lhf2=read_ncdf("lhf", st2, en2, file=file,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy",/nan, box=box) & lhf2=reform(lhf2)
+lhf3=read_ncdf("lhf", st3, en3, file=file,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy",/nan, box=box) & lhf3=reform(lhf3)
+lhf4=read_ncdf("lhf", st4, en4, file=file,/nostr, box=box) & lhf4=grossemoyenne(lhf4, "xy",/nan, box=box) & lhf4=reform(lhf4)
+
+shf1=read_ncdf("shf", st1, en1, file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy",/nan, box=box) & shf1=reform(shf1)
+shf2=read_ncdf("shf", st2, en2, file=file,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy",/nan, box=box) & shf2=reform(shf2)
+shf3=read_ncdf("shf", st3, en3, file=file,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy",/nan, box=box) & shf3=reform(shf3)
+shf4=read_ncdf("shf", st4, en4, file=file,/nostr, box=box) & shf4=grossemoyenne(shf4, "xy",/nan, box=box) & shf4=reform(shf4)
+
+net1=swr1+lwr1+lhf1+shf1 & net2=swr2+lwr2+lhf2+shf2
+net3=swr3+lwr3+lhf3+shf3 & net4=swr4+lwr4+lhf4+shf4
+
+nce1=[net1,net2,net3,net4] & nce1=nce1
+
+help, nce1
+swr1=0 & swr2=0 & swr3=0 & swr4=0 & lwr1=0 & lwr2=0 & lwr3=0 & lwr4=0
+lhf1=0 & lhf2=0 & lhf3=0 & lhf4=0 & shf1=0 & shf2=0 & shf3=0 & shf4=0
+net1=0 & net2=0 & net3=0 & net4=0
+
+ind=where(finite(net))
+net=net(ind) & era=era(ind) & trop=trop(ind) & oaf=oaf(ind) & nce1=nce1(ind) & nce2=nce2(ind)
+olr=olr(ind)
+
+help, net, era, trop, oaf, nce1, nce2, olr
+;------------------------------------------------------------
+
+statistics, net, era, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_era=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, trop, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_trop=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, oaf, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_oaf=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, nce1, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_nce1=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, nce2, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_nce2=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, olr, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_olr=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+;------------------------------------------------------------
+
+splot, net, era, charsize=1.1, title='Net Flux - COARE Vs ERAI', $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,1], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, -150,-175, cstat_era, charsize=1.
+
+splot, net, trop, charsize=1.1, title='Net Flux - COARE Vs TropFlux',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,2], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, -150,-175, cstat_trop, charsize=1.
+
+splot, net, oaf, charsize=1.1, title='Net Flux - COARE Vs OAFlux',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,3], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, -150,-175, cstat_oaf, charsize=1.
+
+splot, net, nce1, charsize=1.1, title='Net Flux - COARE Vs NCEP1',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,4], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, -150,-175, cstat_nce1, charsize=1.
+
+splot, net, nce2, charsize=1.1, title='Net Flux - COARE Vs NCEP2',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,5], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, -150,-175, cstat_nce2, charsize=1.
+
+splot, net, olr, charsize=1.1, title='Net Flux - COARE Vs TropFlux_NRT',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,6], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, -150,-175, cstat_olr, charsize=1.
+
+stop
+;------------------------------------------------------------
+closeps
+fig="coare_validation_net_1992_93_all_v11.ps"
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+;------------------------------------------------------------
+return
+end
+
Index: /trunk/src/paper01/fig14/met_data_as_expt_1994.txt
===================================================================
--- /trunk/src/paper01/fig14/met_data_as_expt_1994.txt	(revision 41)
+++ /trunk/src/paper01/fig14/met_data_as_expt_1994.txt	(revision 41)
@@ -0,0 +1,78 @@
+time  ws(m/s)   sst(C)  at(C)  q2m(g/kg)   lhf(w/m2)   shf(w/m2)   swr(w/m2)   lwr(s/m2)
+  2449642.0    3.76   27.38   26.77    0.0119   -165.43     -3.91    290.09    -89.34
+  2449643.0    5.45   27.43   27.06    0.0122   -174.99     -3.08    251.43    -75.56
+  2449644.0    5.92   27.51   27.32    0.0123   -128.00     -1.65    253.94    -62.68
+  2449645.0    3.94   27.65   27.68    0.0125       NaN       NaN    267.42      -NaN
+  2449646.0    5.33   27.75   27.62    0.0121       NaN       NaN    250.23      -NaN
+  2449647.0    4.50   27.57   27.49    0.0122    -88.46     -0.59    268.65    -73.09
+  2449648.0    8.75   27.47   26.70    0.0120   -102.92    -13.43    146.50    -33.77
+  2449649.0    5.52   27.45   27.34    0.0120    -82.15     -0.71     61.09    -49.23
+  2449650.0    3.28   27.74   27.65    0.0118       NaN       NaN    266.64      -NaN
+  2449651.0    4.47   27.85   27.67    0.0116    -76.48     -1.44    246.17    -65.75
+  2449652.0    4.91   27.72   27.53    0.0119    -90.47     -1.40    262.51    -75.14
+  2449653.0    5.35   27.83   27.52    0.0121   -103.65     -2.61    258.36    -69.40
+  2449654.0    5.56   27.81   27.69    0.0120    -93.68     -1.01    244.95    -65.99
+  2449655.0    5.42   27.96   27.67    0.0119    -93.04     -2.35    246.14    -69.62
+  2449656.0    6.14   27.86   27.77    0.0122       NaN       NaN    236.03      -NaN
+  2449657.0    6.26   27.83   27.86    0.0115       NaN       NaN    237.96      -NaN
+  2449658.0    6.71   27.86   27.78    0.0121    -84.64     -0.50    238.90    -65.19
+  2449659.0    6.63   27.99   27.89    0.0114   -102.20     -0.62    239.68    -64.70
+  2449660.0    6.87   27.93   27.86    0.0117   -114.87     -0.48    238.59    -68.87
+  2449661.0    7.45   27.68   27.88    0.0126       NaN       NaN    229.34      -NaN
+  2449662.0    6.17   27.71   27.80    0.0116    -88.82      1.07    204.96    -58.57
+  2449663.0    6.72   27.88   27.98    0.0116       NaN       NaN    230.41      -NaN
+  2449664.0    6.23   27.91   27.92    0.0115       NaN       NaN    243.20      -NaN
+  2449665.0    6.74   27.90   27.79    0.0124    -99.47     -0.75    240.23    -65.27
+  2449666.0    7.23   27.90   27.89    0.0123   -102.56      0.31    222.87    -62.80
+  2449667.0    7.09   27.90   27.80    0.0117    -87.96     -0.82    177.46    -60.65
+  2449668.0    6.00   27.73   27.42    0.0117   -130.85     -2.91    251.34    -82.70
+  2449669.0    3.98   27.50   26.90    0.0122   -126.55     -4.21    228.71    -89.72
+  2449670.0    5.06   27.42   27.18    0.0119   -115.16     -1.75    248.38    -75.97
+  2449671.0    6.96   27.47   27.41    0.0116   -120.49     -0.33    230.98    -66.58
+  2449672.0    6.76   27.34   27.29    0.0115    -97.06     -0.08    231.54    -58.81
+  2449673.0    6.19   27.31   27.59    0.0120       NaN       NaN    232.52      -NaN
+  2449674.0    6.51   27.31   27.53    0.0114       NaN       NaN    184.45      -NaN
+  2449675.0    6.88   27.32   27.65    0.0115       NaN       NaN    190.88      -NaN
+  2449676.0    5.73   27.22   27.31    0.0121       NaN       NaN    225.81      -NaN
+  2449677.0    4.39   27.08   27.00    0.0118   -109.40     -0.31    189.99    -72.54
+  2449678.0    5.66   27.00   27.22    0.0119   -148.05      2.62    212.40    -75.12
+  2449679.0    7.37   26.95   27.45    0.0122       NaN       NaN    226.05      -NaN
+  2449680.0    7.98   26.77   27.57    0.0113       NaN       NaN    230.23      -NaN
+  2449681.0    7.32   26.64   27.50    0.0119       NaN       NaN    229.80      -NaN
+  2449682.0    6.33   26.59   26.81    0.0123   -161.61      2.70    214.80    -72.52
+  2449683.0    5.19   26.52   26.70    0.0122       NaN       NaN    224.30      -NaN
+  2449684.0    5.51   26.48   26.62    0.0120   -127.05      1.45    222.69    -70.99
+  2449685.0    6.72   26.36   26.49    0.0127   -139.39      1.99    226.51    -73.82
+  2449686.0    5.27   26.48   26.29    0.0120       NaN       NaN    229.10      -NaN
+  2449687.0    4.07   26.49   26.32    0.0119   -110.06     -1.02    228.78    -81.26
+  2449688.0    4.32   26.23   25.86    0.0123   -130.90     -2.81    237.12    -80.32
+  2449689.0    3.77   26.29   26.04    0.0128   -133.21     -2.18    182.13    -64.88
+  2449690.0    5.58   26.35   25.95    0.0122   -170.47     -3.58    218.15    -67.65
+  2449691.0    4.30   26.36   26.20    0.0124   -120.03     -0.97    210.54    -69.95
+  2449692.0    5.24   26.43   26.30    0.0118   -143.52     -1.03    210.77    -74.26
+  2449693.0    6.88   26.29   26.33    0.0125   -176.99      0.42    229.70    -79.83
+  2449694.0    6.93   26.24   26.32    0.0126   -177.14      0.76    228.70    -75.88
+  2449695.0    6.29   26.28   26.26    0.0121   -144.18      0.08    208.72    -67.03
+  2449696.0    7.50   26.30   26.04    0.0125       NaN       NaN    209.25      -NaN
+  2449697.0    8.18   26.20   25.35    0.0120   -268.73    -11.40    220.31    -77.22
+  2449698.0    8.08   26.12   25.52    0.0128   -227.71     -7.63    221.80    -76.31
+  2449699.0    6.80   26.08   25.66    0.0125   -190.00     -4.21    218.39    -78.12
+  2449700.0    8.42   26.16   25.58    0.0131   -218.44     -7.73    215.82    -74.80
+  2449701.0    8.72   26.18   26.00    0.0125   -179.69     -2.36    213.84    -72.88
+  2449702.0    8.34   26.11   25.91    0.0127   -158.82     -2.36    226.31    -80.36
+  2449703.0    6.60   26.01   25.75    0.0125   -166.16     -2.64    217.68    -70.78
+  2449704.0    6.58   25.98   25.63    0.0127   -200.41     -3.69    221.67    -79.03
+  2449705.0    6.81   26.03   25.68    0.0135   -202.87     -3.72    219.64    -79.57
+  2449706.0    6.99   26.14   25.99    0.0133   -161.40     -1.65    177.57    -71.08
+  2449707.0    6.56   26.01   25.82    0.0128   -138.34     -1.83    217.24    -86.58
+  2449708.0    6.60   26.07   25.85    0.0125   -125.23     -2.08    199.77    -76.76
+  2449709.0    6.62   26.05   25.81    0.0126   -144.98     -2.51    197.46    -76.50
+  2449710.0    6.47   25.89   25.76    0.0127   -132.20     -1.18    203.57    -75.35
+  2449711.0    5.57   25.85   25.75    0.0134   -136.16     -0.64    207.75    -75.62
+  2449712.0    4.79   25.87   25.52    0.0126   -130.39     -2.73    176.64    -75.18
+  2449713.0    5.40   25.73   24.80    0.0128   -168.52     -9.07    169.16    -76.28
+  2449714.0    6.21   25.77   24.83    0.0130   -209.84     -9.31    215.27    -85.51
+  2449715.0    9.16   25.75   24.87    0.0129   -276.27    -13.06    173.69    -66.62
+  2449716.0    8.76   25.63   24.44    0.0125   -285.52    -17.10    197.37    -76.32
+  2449717.0    7.82   25.45   24.83    0.0126   -214.09     -7.75    224.90    -75.95
+  2449718.0    5.50   25.54   24.83    0.0128   -159.33     -5.98    229.04    -80.93
Index: /trunk/src/paper01/fig14/met_data_as_expt_1995.txt
===================================================================
--- /trunk/src/paper01/fig14/met_data_as_expt_1995.txt	(revision 41)
+++ /trunk/src/paper01/fig14/met_data_as_expt_1995.txt	(revision 41)
@@ -0,0 +1,293 @@
+time  ws(m/s)   sst(C)  at(C)  q2m(g/kg)   lhf(w/m2)   shf(w/m2)   swr(w/m2)   lwr(s/m2)
+  2449719.0    4.42   25.56   24.51    0.0123   -141.50     -8.17    216.25    -83.99
+  2449720.0    4.33   25.55   24.36    0.0126   -158.14     -9.84    236.05    -89.61
+  2449721.0    4.42   25.48   24.04    0.0125   -174.70    -11.57    216.90    -74.95
+  2449722.0    6.26   25.52   24.78    0.0124   -201.78     -7.53    210.09    -71.85
+  2449723.0    6.11   25.56   24.89    0.0128   -167.32     -6.82    228.89    -76.81
+  2449724.0    7.29   25.47   24.61    0.0121   -226.68    -10.00    211.30    -76.41
+  2449725.0    6.77   25.35   24.69    0.0122   -216.09     -7.24    182.62    -81.29
+  2449726.0    6.71   24.99   24.36    0.0121   -223.98     -7.01    222.28    -80.19
+  2449727.0    5.45   24.90   24.29    0.0122   -181.53     -5.53    212.11    -79.20
+  2449728.0    5.60   24.86   24.12    0.0123   -212.46     -7.06    185.28    -82.17
+  2449729.0    5.62   24.93   24.14    0.0123   -182.20     -7.33    229.47    -85.58
+  2449730.0    6.19   25.05   24.34    0.0126   -179.26     -7.10    236.49    -82.38
+  2449731.0    3.79   24.97   24.19    0.0124   -129.12     -5.65    225.30    -61.39
+  2449732.0    4.31   25.00   24.41    0.0125   -139.33     -4.56    207.41    -66.18
+  2449733.0    5.56   25.21   24.54    0.0125   -152.30     -6.23    235.67    -78.83
+  2449734.0    8.55   25.06   24.01    0.0119   -220.21    -15.16    174.60    -70.54
+  2449735.0    9.18   24.71   23.78    0.0121   -286.77    -13.96    212.65    -76.98
+  2449736.0    8.11   24.80   24.57    0.0123   -180.49     -3.20    221.43    -71.46
+  2449737.0    7.69   24.74   24.40    0.0119   -188.13     -4.31    242.14    -76.81
+  2449738.0    5.27   24.70   24.00    0.0119   -131.97     -6.15    228.55    -81.00
+  2449739.0    6.35   24.74   24.09    0.0125   -129.31     -6.38    220.32    -64.30
+  2449740.0    6.13   24.79   24.37    0.0122    -98.65     -3.94    226.05    -72.12
+  2449741.0    6.00   24.75   24.00    0.0125   -108.54     -7.49    210.19    -74.61
+  2449742.0    4.98   24.75   23.90    0.0129    -86.51     -7.14    236.60    -88.43
+  2449743.0    4.15   24.79   24.02    0.0122    -76.49     -5.44    252.02    -97.59
+  2449744.0    4.94   24.83   24.20    0.0119    -79.89     -5.03    251.56    -87.27
+  2449745.0    5.27   24.88   24.08    0.0121    -96.94     -7.00    247.97    -85.97
+  2449746.0    6.64   24.79   24.20    0.0125   -133.99     -6.20    221.68    -74.59
+  2449747.0    7.04   24.81   24.35    0.0125   -123.17     -5.10    247.66    -82.72
+  2449748.0    7.09   24.81   24.41    0.0123   -115.09     -4.33    249.18    -80.37
+  2449749.0    6.74   24.71   24.68    0.0124   -159.76     -0.12    244.82    -83.76
+  2449750.0    6.41   24.71   24.39    0.0117   -156.91     -3.21    250.07    -74.91
+  2449751.0    5.20   24.72   24.38    0.0122   -126.43     -2.83    253.10    -77.96
+  2449752.0    4.48   24.77   24.04    0.0123   -103.47     -5.55    250.90    -74.57
+  2449753.0    4.62   24.80   23.97    0.0122   -109.16     -6.54    256.84    -84.63
+  2449754.0    5.34   24.76   24.34    0.0125   -110.61     -3.77    229.79    -73.74
+  2449755.0    4.49   24.84   24.56    0.0125      -NaN      -NaN    251.64      -NaN
+  2449756.0    4.56   24.80   24.33    0.0123    -77.30     -3.52    246.51    -78.99
+  2449757.0    2.73   25.06   24.56    0.0121    -45.59     -2.67    259.89    -83.65
+  2449758.0    2.61   25.38   25.16    0.0125      -NaN      -NaN    256.53      -NaN
+  2449759.0    3.55   25.32   24.99    0.0125    -63.59     -1.87    258.97    -83.34
+  2449760.0    4.70   25.19   24.61    0.0121    -94.47     -4.44    257.65    -77.81
+  2449761.0    3.83   25.15   24.14    0.0121   -101.81     -6.97    259.96    -83.43
+  2449762.0    4.66   25.11   24.16    0.0123   -122.36     -7.70    249.50    -77.49
+  2449763.0    4.50   24.85   23.28    0.0126   -174.56    -12.85    274.73    -95.21
+  2449764.0    5.26   24.81   23.81    0.0134   -165.84     -8.81    272.98    -83.60
+  2449765.0    3.85   24.87   23.98    0.0126   -131.82     -6.20    240.96    -70.24
+  2449766.0    4.13   24.88   23.86    0.0127   -124.16     -7.52    268.30    -86.62
+  2449767.0    4.42   24.95   24.36    0.0123   -129.51     -4.28    278.26    -81.84
+  2449768.0    3.11   25.04   24.34    0.0127      -NaN      -NaN    237.53      -NaN
+  2449769.0    2.63   25.29   24.65    0.0126    -85.84     -3.53    251.10    -76.78
+  2449770.0    5.47   25.02   24.55    0.0129   -122.96     -3.99    263.03    -69.52
+  2449771.0    5.47   25.04   24.80    0.0127   -116.37     -1.96    262.49    -68.53
+  2449772.0    4.65   25.02   24.56    0.0127    -99.76     -3.43    264.68    -71.14
+  2449773.0    1.83   25.42   24.84    0.0129      -NaN      -NaN    255.77      -NaN
+  2449774.0    1.92   25.25   24.28    0.0124    -63.49     -4.21    219.72    -70.82
+  2449775.0    1.64   25.58   24.67    0.0131    -59.84     -3.50    265.86    -75.32
+  2449776.0    2.28   25.38   24.68    0.0126    -68.56     -2.99    261.40    -61.22
+  2449777.0    2.16   25.56   24.99    0.0126    -61.30     -2.11    259.70    -66.70
+  2449778.0    2.52   25.88   25.23    0.0133    -64.00     -2.99    261.41    -68.76
+  2449779.0    6.37   25.58   25.37    0.0128   -121.91     -1.81    262.18    -66.12
+  2449780.0    6.54   25.49   25.41    0.0128      -NaN      -NaN    250.84      -NaN
+  2449781.0    5.97   25.41   25.23    0.0131   -137.69     -1.54    267.06    -63.80
+  2449782.0    4.78   25.44   25.23    0.0131   -105.97     -1.44    229.21    -49.75
+  2449783.0    4.74   25.50   25.20    0.0131    -91.83     -2.24    195.93    -41.67
+  2449784.0    5.44   25.36   25.06    0.0134   -132.71     -2.45    247.86    -66.89
+  2449785.0    5.63   25.27   24.65    0.0132   -161.72     -5.77    286.21    -83.15
+  2449786.0    5.88   25.19   24.73    0.0133   -167.36     -4.37    296.51    -90.91
+  2449787.0    6.74   25.08   24.77    0.0132   -206.50     -3.10    303.14    -92.74
+  2449788.0    6.81   25.02   25.09    0.0126   -189.83      1.04    292.68    -77.14
+  2449789.0    5.05   25.16   25.11    0.0132   -114.09     -0.30    287.02    -68.03
+  2449790.0    3.13   25.37   24.96    0.0129    -73.37     -2.11    272.45    -68.96
+  2449791.0    3.63   25.52   25.41    0.0130    -51.16     -0.69    278.66    -62.96
+  2449792.0    4.99   25.60   25.34    0.0133      -NaN      -NaN    252.77      -NaN
+  2449793.0    3.78   25.73   24.60    0.0134    -96.37     -7.83    275.14    -75.54
+  2449794.0    3.23   25.92   24.81    0.0131    -85.61     -6.63    301.88    -82.74
+  2449795.0    2.93   26.29   25.58    0.0130    -69.97     -3.55    299.15    -74.43
+  2449796.0    4.62   26.13   25.50    0.0130    -91.23     -4.78    305.49    -75.41
+  2449797.0    5.55   26.03   25.26    0.0132   -106.24     -6.92    299.29    -69.94
+  2449798.0    5.18   25.98   25.20    0.0130    -84.63     -6.76    301.23    -74.67
+  2449799.0    5.06   26.14   25.39    0.0132    -65.12     -6.14    302.55    -84.01
+  2449800.0    3.48   26.41   26.02    0.0132    -67.56     -2.17    302.96    -87.41
+  2449801.0    2.29   26.71   26.57    0.0132       NaN       NaN    311.10       NaN
+  2449802.0    2.83   26.75   26.43    0.0138      -NaN      -NaN    307.89      -NaN
+  2449803.0    2.55   26.70   26.26    0.0133    -45.07     -1.50    304.67    -72.15
+  2449804.0    1.58   26.99   26.10    0.0130      -NaN      -NaN    306.71      -NaN
+  2449805.0    1.68   27.16   26.42    0.0133      -NaN      -NaN    321.54      -NaN
+  2449806.0    2.81   27.18   26.53    0.0133    -67.90     -3.27    296.09    -71.30
+  2449807.0    2.68   27.22   26.81    0.0131    -78.04     -1.90    291.81    -74.18
+  2449808.0    3.52   27.27   26.44    0.0134    -92.10     -4.91    295.47    -75.70
+  2449809.0    2.09   27.73   26.62    0.0132    -82.45     -4.94    288.57    -79.69
+  2449810.0    4.27   27.12   26.03    0.0128   -178.66     -8.30    301.90    -74.52
+  2449811.0    5.26   26.91   26.14    0.0130   -174.54     -6.71    298.10    -69.48
+  2449812.0    2.85   27.13   26.37    0.0134    -76.57     -4.07    298.29    -70.84
+  2449813.0    2.92   27.15   26.78    0.0132      -NaN      -NaN    304.83      -NaN
+  2449814.0    3.27   27.22   26.86    0.0134    -82.07     -1.79    314.59    -82.48
+  2449815.0    2.26   27.52   27.84    0.0130      -NaN      -NaN    310.17      -NaN
+  2449816.0    1.90   27.69   27.62    0.0136      -NaN      -NaN    321.39      -NaN
+  2449817.0    2.79   27.55   27.27    0.0130    -68.46     -1.06    297.98    -73.55
+  2449818.0    3.19   27.79   27.26    0.0129    -97.72     -2.75    296.50    -76.85
+  2449819.0    4.70   27.52   26.88    0.0136   -118.46     -4.83    310.97    -68.40
+  2449820.0    3.84   27.73   26.65    0.0132   -102.78     -7.26    316.19    -74.77
+  2449821.0    3.19   28.00   27.11    0.0133    -78.25     -5.71    317.10    -77.18
+  2449822.0    3.02   27.98   26.95    0.0128    -69.99     -5.71    322.99    -78.04
+  2449823.0    4.00   27.98   26.99    0.0130    -93.21     -6.76    325.87    -80.85
+  2449824.0    4.14   27.90   27.11    0.0130    -92.92     -5.47    321.45    -75.36
+  2449825.0    1.88   28.18   27.03    0.0127    -58.69     -4.53    305.05    -73.89
+  2449826.0    1.51   28.65   27.66    0.0135       NaN       NaN    304.59       NaN
+  2449827.0    3.37   28.38   27.40    0.0129    -93.81     -5.88    320.90    -74.83
+  2449828.0   *****   *****   *****    0.0128       NaN       NaN   *******       NaN
+  2449829.0   *****   *****   *****    0.0132       NaN       NaN   *******       NaN
+  2449830.0   *****   *****   *****    0.0137       NaN       NaN   *******       NaN
+  2449831.0    1.87   29.47   28.30    0.0132    -69.65     -4.46    304.11    -77.97
+  2449832.0    2.06   29.33   28.35    0.0130    -71.91     -3.90    291.58    -68.06
+  2449833.0    1.43   29.81   29.01    0.0134      -NaN      -NaN    300.31      -NaN
+  2449834.0    3.83   29.38   28.74    0.0128    -87.10     -3.56    298.19    -71.25
+  2449835.0    4.61   29.06   28.70    0.0132    -84.55     -2.50    306.07    -68.53
+  2449836.0    4.01   28.95   28.44    0.0130    -85.01     -3.31    289.42    -63.76
+  2449837.0    4.16   29.10   28.39    0.0129    -92.26     -4.76    298.98    -73.47
+  2449838.0    4.36   29.18   28.57    0.0136   -103.99     -4.30    301.54    -76.08
+  2449839.0    2.69   29.46   29.10    0.0130      -NaN      -NaN    305.65      -NaN
+  2449840.0    3.15   29.67   28.80    0.0132    -90.09     -4.55    306.54    -78.48
+  2449841.0    3.58   29.56   29.23    0.0135    -97.47     -2.44    308.59    -82.32
+  2449842.0    2.96   29.59   29.25    0.0131      -NaN      -NaN    317.00      -NaN
+  2449843.0    4.11   29.20   28.81    0.0128   -122.41     -2.22    315.15    -87.48
+  2449844.0    5.12   29.19   28.89    0.0122   -137.03     -2.34    301.57    -79.55
+  2449845.0    4.90   29.18   28.82    0.0128   -119.24     -2.78    300.00    -72.22
+  2449846.0    5.64   29.26   28.69    0.0132   -111.51     -5.29    300.16    -72.14
+  2449847.0    7.31   29.28   28.91    0.0129   -125.35     -4.19    296.78    -71.22
+  2449848.0    7.17   29.22   29.00    0.0126   -129.69     -2.20    283.56    -60.45
+  2449849.0    6.68   29.21   29.10    0.0134   -113.06     -0.90    291.89    -56.95
+  2449850.0    5.28   29.32   29.05    0.0126    -91.08     -2.11    287.35    -60.38
+  2449851.0    5.69   29.34   28.92    0.0123    -95.07     -3.83    287.47    -63.17
+  2449852.0    7.20   29.30   28.95    0.0133   -107.84     -3.84    287.24    -61.63
+  2449853.0    8.52   29.30   29.24    0.0134   -124.55     -0.49    280.64    -53.38
+  2449854.0    8.40   29.28   29.29    0.0127   -122.38      0.29    278.09    -52.61
+  2449855.0    8.52   29.26   29.47    0.0127      -NaN      -NaN    282.09      -NaN
+  2449856.0    7.51   29.31   29.53    0.0127      -NaN      -NaN    280.49      -NaN
+  2449857.0    5.73   29.35   29.45    0.0130      -NaN      -NaN    281.59      -NaN
+  2449858.0    2.78   29.49   29.11    0.0132      -NaN      -NaN    292.53      -NaN
+  2449859.0    2.06   29.60   28.72    0.0126    -63.00     -3.40    298.71    -67.20
+  2449860.0    1.61   30.07   28.77    0.0133    -71.91     -4.94    303.77    -73.58
+  2449861.0    2.38   29.87   29.01    0.0129    -98.66     -4.09    307.89    -75.01
+  2449862.0    2.35   30.05   29.20    0.0130    -95.27     -3.99    302.53    -68.20
+  2449863.0    2.39   30.08   29.03    0.0132    -94.35     -5.00    313.09    -73.04
+  2449864.0    2.40   29.82   28.62    0.0133   -110.97     -5.88    302.80    -83.50
+  2449865.0    2.61   29.77   28.36    0.0136   -117.99     -7.34    305.31    -83.07
+  2449866.0    2.70   29.93   28.63    0.0132   -108.33     -6.82    293.05    -64.81
+  2449867.0    2.70   30.01   28.96    0.0129   -102.94     -5.37    295.12    -61.81
+  2449868.0    2.18   30.35   29.16    0.0132    -85.31     -5.40    287.29    -61.36
+  2449869.0    2.10   30.64   29.56    0.0131    -74.60     -4.56    290.34    -57.88
+  2449870.0    2.46   30.42   29.63    0.0128    -75.91     -3.61    283.78    -56.08
+  2449871.0    4.31   30.30   29.76    0.0128    -96.57     -3.46    282.11    -53.31
+  2449872.0    6.01   30.23   29.96    0.0129   -107.69     -2.29    283.99    -52.59
+  2449873.0    5.87   30.22   30.17    0.0126    -89.32     -0.25    281.90    -49.76
+  2449874.0    6.41   30.20   30.22    0.0130    -99.35      0.36    280.66    -50.27
+  2449875.0    7.35   30.20   30.20    0.0127   -105.00      0.25    282.60    -49.19
+  2449876.0    7.77   30.14   30.22    0.0127   -120.11      1.45    274.37    -44.87
+  2449877.0    8.18   30.03   30.13    0.0125   -128.18      1.65    280.05    -45.78
+  2449878.0    8.21   30.00   30.15    0.0135   -131.22      2.39    274.69    -41.35
+  2449879.0    9.99   29.95   30.20    0.0132   -138.38      4.47    239.82    -35.38
+  2449880.0   11.60   29.80   30.07    0.0131       NaN       NaN    250.15      -NaN
+  2449881.0   12.81   29.67   29.83    0.0128      -NaN      -NaN    243.18      -NaN
+  2449882.0   13.10   29.51   29.60    0.0130   -185.03      2.30    237.92    -31.06
+  2449883.0   13.04   29.32   29.42    0.0125   -192.70      2.81    236.78    -27.03
+  2449884.0   12.40   29.21   29.27    0.0128   -184.71      1.50    197.58    -27.20
+  2449885.0   12.43   29.13   29.14    0.0130   -183.61      0.64    192.06    -32.89
+  2449886.0   12.81   29.00   29.01    0.0127   -187.16      0.60    242.68    -36.28
+  2449887.0   12.99   28.72   28.85    0.0123   -168.35      3.33    248.30    -31.47
+  2449888.0   12.40   28.57   28.79    0.0127       NaN       NaN    235.36      -NaN
+  2449889.0   11.87   28.62   28.81    0.0132      -NaN      -NaN    247.72      -NaN
+  2449890.0   11.67   28.65   28.81    0.0132   -149.99      3.62    235.28    -29.05
+  2449891.0   10.84   28.66   28.74    0.0130   -134.86      1.78    214.84    -26.37
+  2449892.0   10.24   28.63   28.65    0.0126   -121.61      0.65    213.15    -29.90
+  2449893.0    9.90   28.62   28.61    0.0130   -119.99      0.37    245.16    -29.10
+  2449894.0    9.75   28.65   28.53    0.0132   -118.16     -1.43    242.71    -31.63
+  2449895.0    9.84   28.62   28.46    0.0130   -116.57     -2.06    244.31    -29.60
+  2449896.0   10.02   28.61   28.41    0.0134   -127.16     -2.77    255.77    -34.66
+  2449897.0   10.56   28.59   28.46    0.0128   -132.58     -1.76    254.43    -34.49
+  2449898.0   10.89   28.54   28.49    0.0132   -129.04     -0.36    246.38    -29.98
+  2449899.0   11.60   28.50   28.59    0.0134   -145.59      2.28    259.09    -33.23
+  2449900.0   11.88   28.44   28.58    0.0130   -148.30      3.29    234.23    -26.35
+  2449901.0   11.38   28.40   28.51    0.0127   -129.67      2.62    195.04    -22.46
+  2449902.0   11.55   28.44   28.52    0.0125   -134.82      2.14    227.38    -25.81
+  2449903.0   11.54   28.43   28.40    0.0127   -131.40     -0.03    231.47    -31.67
+  2449904.0   12.18   28.37   28.39    0.0127   -140.00      0.82    222.29    -32.44
+  2449905.0   11.81   27.92   28.25    0.0130      -NaN      -NaN    196.46      -NaN
+  2449906.0   12.19   27.61   28.15    0.0127      -NaN      -NaN    218.96      -NaN
+  2449907.0   12.55   27.63   28.07    0.0120      -NaN      -NaN    207.79      -NaN
+  2449908.0   13.31   27.79   28.15    0.0125      -NaN      -NaN    207.36      -NaN
+  2449909.0   13.96   27.76   28.16    0.0117      -NaN      -NaN    202.66      -NaN
+  2449910.0   13.90   27.64   28.13    0.0120       NaN       NaN    134.96       NaN
+  2449911.0   13.24   27.62   28.02    0.0125      -NaN      -NaN    132.87      -NaN
+  2449912.0   13.55   27.51   27.91    0.0118      -NaN      -NaN    146.40      -NaN
+  2449913.0   13.40   27.37   27.81    0.0127       NaN       NaN    114.59       NaN
+  2449914.0   13.85   27.21   27.62    0.0123       NaN       NaN     76.24      -NaN
+  2449915.0   15.16   27.09   27.43    0.0128       NaN       NaN    115.78       NaN
+  2449916.0   14.68   26.85   27.35    0.0125       NaN       NaN    217.40       NaN
+  2449917.0   15.34   26.89   27.31    0.0125       NaN       NaN    203.81       NaN
+  2449918.0   14.06   26.63   27.08    0.0122       NaN       NaN     95.67       NaN
+  2449919.0   13.10   26.29   26.96    0.0124      -NaN      -NaN    131.07      -NaN
+  2449920.0   14.33   26.27   27.05    0.0128       NaN       NaN    110.18       NaN
+  2449921.0   12.12   25.96   26.97    0.0123       NaN       NaN    150.47       NaN
+  2449922.0   11.80   25.98   26.80    0.0121      -NaN      -NaN    232.81      -NaN
+  2449923.0   12.16   26.52   26.92    0.0120       NaN       NaN    169.67       NaN
+  2449924.0   12.25   26.39   26.90    0.0120      -NaN      -NaN    193.90      -NaN
+  2449925.0   10.98   25.80   26.54    0.0116      -NaN      -NaN    178.25      -NaN
+  2449926.0   10.61   25.50   26.36    0.0116      -NaN      -NaN    264.98      -NaN
+  2449927.0    9.12   25.14   26.11    0.0114      -NaN      -NaN    258.05      -NaN
+  2449928.0    9.00   25.22   26.21    0.0116      -NaN      -NaN    244.88      -NaN
+  2449929.0    9.42   25.16   26.27    0.0122      -NaN      -NaN    235.30      -NaN
+  2449930.0    8.99   25.06   26.10    0.0119      -NaN      -NaN    252.17      -NaN
+  2449931.0    8.56   25.21   26.10    0.0121      -NaN      -NaN    250.89      -NaN
+  2449932.0   10.24   25.14   26.23    0.0123      -NaN      -NaN    254.27      -NaN
+  2449933.0   10.56   24.99   26.20    0.0123      -NaN      -NaN    262.07      -NaN
+  2449934.0   10.86   25.59   26.50    0.0119      -NaN      -NaN    273.23      -NaN
+  2449935.0   10.11   25.74   26.51    0.0116      -NaN      -NaN    259.17      -NaN
+  2449936.0    9.13   25.37   26.36    0.0117      -NaN      -NaN    188.16      -NaN
+  2449937.0    9.49   24.82   26.17    0.0119      -NaN      -NaN    237.53      -NaN
+  2449938.0   10.32   25.10   26.27    0.0119      -NaN      -NaN    223.96      -NaN
+  2449939.0    9.25   25.32   26.30    0.0122      -NaN      -NaN    253.56      -NaN
+  2449940.0    7.54   25.66   26.30    0.0119      -NaN      -NaN    254.79      -NaN
+  2449941.0    6.92   26.10   26.52    0.0118      -NaN      -NaN    193.95      -NaN
+  2449942.0    7.33   25.95   26.41    0.0117      -NaN      -NaN    264.45      -NaN
+  2449943.0    9.03   25.69   26.38    0.0117      -NaN      -NaN    229.31      -NaN
+  2449944.0    9.77   26.01   26.62    0.0115      -NaN      -NaN    223.27      -NaN
+  2449945.0   10.03   26.15   26.76    0.0116      -NaN      -NaN    194.22      -NaN
+  2449946.0    9.33   26.09   26.74    0.0121      -NaN      -NaN    251.12      -NaN
+  2449947.0    8.04   26.01   26.62    0.0115      -NaN      -NaN    264.18      -NaN
+  2449948.0    7.39   26.03   26.75    0.0117      -NaN      -NaN    253.76      -NaN
+  2449949.0    7.60   26.34   26.86    0.0117      -NaN      -NaN    223.73      -NaN
+  2449950.0    8.84   26.28   26.80    0.0120      -NaN      -NaN    243.78      -NaN
+  2449951.0    9.58   26.15   26.80    0.0121      -NaN      -NaN    245.44      -NaN
+  2449952.0    9.15   26.18   26.65    0.0121      -NaN      -NaN    111.04      -NaN
+  2449953.0    9.03   26.11   26.67    0.0125      -NaN      -NaN    137.57      -NaN
+  2449954.0    8.28   26.23   26.64    0.0117      -NaN      -NaN    205.34      -NaN
+  2449955.0    8.20   26.49   26.55    0.0119      -NaN      -NaN    213.46      -NaN
+  2449956.0    9.62   26.39   26.72    0.0121      -NaN      -NaN    163.13      -NaN
+  2449957.0   10.62   26.30   26.72    0.0121      -NaN      -NaN    149.37      -NaN
+  2449958.0   10.25   26.27   26.61    0.0117      -NaN      -NaN    125.73      -NaN
+  2449959.0   11.03   26.39   26.74    0.0120      -NaN      -NaN    208.34      -NaN
+  2449960.0   11.89   26.24   26.84    0.0126      -NaN      -NaN    206.23      -NaN
+  2449961.0   11.18   26.13   26.76    0.0121      -NaN      -NaN    179.69      -NaN
+  2449962.0   10.47   26.21   26.67    0.0125      -NaN      -NaN    208.87      -NaN
+  2449963.0   10.96   26.20   26.75    0.0125      -NaN      -NaN    212.49      -NaN
+  2449964.0   11.63   26.32   26.83    0.0124      -NaN      -NaN    215.48      -NaN
+  2449965.0   10.82   26.35   26.64    0.0125      -NaN      -NaN    201.77      -NaN
+  2449966.0   10.29   26.49   26.65    0.0124      -NaN      -NaN    223.08      -NaN
+  2449967.0    8.49   26.55   26.61    0.0122      -NaN      -NaN    209.05      -NaN
+  2449968.0    8.44   26.59   26.58    0.0124      -NaN      -NaN    263.71      -NaN
+  2449969.0    7.61   26.49   26.62    0.0122      -NaN      -NaN    256.00      -NaN
+  2449970.0    6.86   26.61   26.66    0.0131      -NaN      -NaN    262.21      -NaN
+  2449971.0    6.41   26.73   26.75    0.0126      -NaN      -NaN    243.20      -NaN
+  2449972.0    4.46   26.89   26.73    0.0126      -NaN      -NaN    222.19      -NaN
+  2449973.0    2.90   26.87   25.97    0.0126       NaN       NaN    120.47       NaN
+  2449974.0    3.91   27.19   26.93    0.0129      -NaN      -NaN    252.29      -NaN
+  2449975.0    6.35   27.18   26.85    0.0120    -67.74     -3.14    261.69    -28.96
+  2449976.0    7.62   27.18   27.07    0.0116    -61.97     -1.07    255.64    -29.41
+  2449977.0    8.10   27.16   27.08    0.0117    -60.76     -0.53    230.86    -25.94
+  2449978.0    6.62   27.20   27.08    0.0119    -50.07     -0.86    257.45    -35.55
+  2449979.0    4.47   27.30   26.89    0.0120    -38.13     -2.29    263.19    -28.02
+  2449980.0    4.44   27.46   26.72    0.0119    -56.87     -5.72    243.01    -25.67
+  2449981.0    6.31   27.50   27.03    0.0116    -64.89     -4.66    265.32    -35.08
+  2449982.0    8.05   27.43   27.23    0.0116    -62.81     -2.12    247.10    -42.50
+  2449983.0    8.19   27.43   27.29    0.0116    -62.48     -1.46    256.72    -47.90
+  2449984.0    8.35   27.40   27.23    0.0114    -70.19     -1.87    268.43    -51.80
+  2449985.0    6.37   27.42   27.16    0.0117    -64.28     -2.28    261.64    -56.66
+  2449986.0    5.58   27.47   27.02    0.0119    -65.30     -3.83    260.21    -54.98
+  2449987.0    4.56   27.57   27.04    0.0118    -57.41     -3.84    251.52    -52.26
+  2449988.0    3.88   27.77   27.07    0.0120    -56.92     -4.67    249.43    -59.07
+  2449989.0    3.73   27.82   27.11    0.0119    -57.03     -4.55    255.85    -57.05
+  2449990.0    3.86   27.97   27.22    0.0116    -60.92     -5.03    256.44    -58.71
+  2449991.0    4.80   27.91   27.06    0.0119    -86.40     -6.73    270.78    -63.89
+  2449992.0    2.46   28.15   27.32    0.0120    -60.51     -3.96    271.98    -68.42
+  2449993.0    2.88   28.12   26.96    0.0122    -69.84     -6.31    276.96    -69.13
+  2449994.0    3.67   28.12   27.15    0.0119    -80.63     -6.30    269.55    -64.02
+  2449995.0    3.89   28.14   27.31    0.0121    -79.60     -5.53    259.40    -57.49
+  2449996.0    4.82   28.14   27.40    0.0117    -88.85     -5.72    264.48    -58.11
+  2449997.0    4.68   28.15   27.46    0.0124    -81.14     -5.29    249.93    -51.68
+  2449998.0    4.64   28.10   27.40    0.0128    -84.26     -5.33    265.29    -59.41
+  2449999.0    3.54   28.22   27.36    0.0124    -69.52     -5.29    253.09    -63.42
+  2450000.0    2.30   28.27   27.31    0.0124    -58.68     -4.29    264.11    -66.05
+  2450001.0    2.47   28.33   27.44    0.0123    -59.45     -4.23    263.08    -64.12
+  2450002.0    2.59   28.32   27.46    0.0119    -65.15     -4.16    252.42    -63.75
+  2450003.0    3.62   28.25   27.27    0.0119    -82.86     -6.30    258.01    -63.77
+  2450004.0    4.92   28.09   26.98    0.0116   -113.75     -9.20    186.74    -61.69
+  2450005.0    6.16   27.89   27.14    0.0116   -124.99     -7.38    166.12    -59.82
+  2450006.0    5.28   27.86   27.17    0.0122    -96.98     -5.87    168.00    -52.08
+  2450007.0    4.75   28.10   27.65    0.0119    -70.15     -3.32    241.87    -46.73
+  2450008.0    5.47   28.14   27.79    0.0117    -80.25     -2.95    242.65    -48.38
+  2450009.0    4.06   28.15   27.81    0.0120    -61.04     -2.04    242.21    -51.62
+  2450010.0    1.54   28.83   28.04    0.0120    -37.84     -2.85    254.84    -52.01
Index: /trunk/src/paper01/fig14/met_data_coare_expt_1992_p1.txt
===================================================================
--- /trunk/src/paper01/fig14/met_data_coare_expt_1992_p1.txt	(revision 41)
+++ /trunk/src/paper01/fig14/met_data_coare_expt_1992_p1.txt	(revision 41)
@@ -0,0 +1,24 @@
+time  ws(m/s)   sst(C)  at(C)  q2m(g/kg)   lhf(w/m2)   shf(w/m2)   swr(w/m2)   lwr(s/m2)
+  2448938.0    5.84   28.48   27.58    0.0185   -119.73     -6.17    123.75    -48.53
+  2448939.0    5.94   28.38   27.23    0.0182   -144.41     -8.37    151.55    -71.33
+  2448940.0    2.86   28.83   28.14    0.0175    -90.40     -1.86    268.21    -76.57
+  2448941.0    3.04   29.16   28.00    0.0175    -84.51     -5.02    239.84    -67.05
+  2448942.0    3.71   28.88   27.98    0.0180    -87.38     -4.45    288.49    -67.66
+  2448943.0    2.31   29.00   28.26    0.0183    -65.40     -2.58    249.83    -66.77
+  2448944.0    2.93   29.20   28.33    0.0188    -76.84     -3.63    293.54    -64.38
+  2448945.0    2.57   29.44   28.31    0.0181    -71.01     -4.47    246.21    -58.95
+  2448946.0    2.91   29.35   28.27    0.0177    -75.22     -4.53    241.34    -63.12
+  2448947.0    3.61   29.21   28.61    0.0175    -89.99     -2.63    179.90    -64.98
+  2448948.0    2.58   29.34   28.64    0.0173    -69.40     -2.44    254.54    -67.50
+  2448949.0    4.46   29.12   27.78    0.0176    -97.41     -8.98    220.66    -53.68
+  2448950.0    5.95   28.92   27.89    0.0177   -128.21     -8.46    150.56    -53.47
+  2448951.0    4.12   28.97   27.18    0.0176   -104.96    -11.91    136.95    -49.98
+  2448952.0    5.34   28.75   27.37    0.0177   -129.84    -10.53    146.84    -54.30
+  2448953.0    3.18   28.96   28.12    0.0180    -79.79     -4.17    190.89    -59.87
+  2448954.0    4.39   28.82   26.96    0.0180   -115.14    -13.31    191.97    -59.91
+  2448955.0    1.63   29.48   28.16    0.0183    -61.81     -3.95    200.23    -67.59
+  2448956.0    2.51   29.42   27.87    0.0182    -81.49     -6.40    256.31    -63.49
+  2448957.0    2.81   29.29   28.25    0.0179    -82.72     -4.57    271.15    -68.99
+  2448958.0    2.46   29.42   28.26    0.0180    -75.68     -4.29    279.93    -67.01
+  2448959.0    1.46   29.81   27.99    0.0189    -64.01     -5.81    276.30    -71.20
+  2448960.0    2.17   30.02   28.21    0.0183    -85.86     -7.07    198.29    -67.80
Index: /trunk/src/paper01/fig14/met_data_coare_expt_1992_p2.txt
===================================================================
--- /trunk/src/paper01/fig14/met_data_coare_expt_1992_p2.txt	(revision 41)
+++ /trunk/src/paper01/fig14/met_data_coare_expt_1992_p2.txt	(revision 41)
@@ -0,0 +1,16 @@
+time  ws(m/s)   sst(C)  at(C)  q2m(g/kg)   lhf(w/m2)   shf(w/m2)   swr(w/m2)   lwr(s/m2)
+  2448974.0    2.84   29.03   27.86    0.0180    -74.48     -4.41    261.76    -63.61
+  2448975.0    3.95   29.50   28.60    0.0180    -96.76     -4.56    222.28    -55.83
+  2448976.0    4.59   29.21   27.75    0.0184   -100.30     -9.71    144.37    -46.76
+  2448977.0    7.18   28.96   26.52    0.0183   -155.60    -23.83     84.68    -43.56
+  2448978.0    8.77   28.88   26.41    0.0191   -173.94    -27.88    116.41    -42.44
+  2448979.0   10.26   28.77   27.15    0.0189   -202.22    -20.81     91.92    -43.25
+  2448980.0    5.38   28.84   28.05    0.0181   -111.75     -4.77    127.02    -51.84
+  2448981.0   10.23   28.74   25.60    0.0181   -211.69    -42.42     46.31    -41.75
+  2448982.0    8.12   28.65   27.25    0.0179   -167.79    -14.79    114.95    -47.06
+  2448983.0    8.21   28.56   27.50    0.0178   -159.01    -10.17    108.67    -49.86
+  2448984.0    4.52   28.48   27.07    0.0183    -86.02     -8.14    132.60    -44.36
+  2448985.0    5.59   28.48   27.63    0.0181   -106.53     -5.02    158.32    -41.45
+  2448986.0    5.19   28.55   27.62    0.0185   -108.53     -5.12    191.58    -44.89
+  2448987.0    8.65   28.49   28.46    0.0190   -177.82      1.33    244.81    -65.95
+  2448988.0   10.13   28.51   28.52    0.0189   -168.59      2.05    172.43    -57.11
Index: /trunk/src/paper01/fig14/met_data_coare_expt_1993_p1.txt
===================================================================
--- /trunk/src/paper01/fig14/met_data_coare_expt_1993_p1.txt	(revision 41)
+++ /trunk/src/paper01/fig14/met_data_coare_expt_1993_p1.txt	(revision 41)
@@ -0,0 +1,12 @@
+time  ws(m/s)   sst(C)  at(C)  q2m(g/kg)   lhf(w/m2)   shf(w/m2)   swr(w/m2)   lwr(s/m2)
+  2448989.0    9.70   28.37   28.05    0.0191   -155.98     -2.20    235.49    -56.97
+  2448990.0    8.97   28.36   28.31    0.0192   -178.55      1.15    229.30    -57.54
+  2448991.0    5.02   28.50   27.47    0.0194   -103.74     -6.48    185.56    -46.02
+  2448992.0    3.71   28.24   26.24    0.0196    -79.86    -10.65     71.20    -44.89
+  2448993.0    1.50   28.20   26.57    0.0196    -43.13     -5.09    171.82    -54.41
+  2448994.0    2.45   28.56   27.19    0.0171    -60.10     -5.86    143.99    -50.54
+  2448995.0    2.04   28.42   26.94    0.0190    -46.55     -5.31    171.38    -50.52
+  2448996.0    2.03   28.92   27.44    0.0191    -57.09     -5.66    193.20    -62.53
+  2448997.0    3.96   28.88   28.01    0.0188    -84.53     -4.48    246.27    -63.49
+  2448998.0    2.28   28.76   27.23    0.0191    -62.67     -6.29    200.98    -56.13
+  2448999.0    1.15   29.45   27.65    0.0197    -52.39     -5.17    247.29    -66.29
Index: /trunk/src/paper01/fig14/met_data_coare_expt_1993_p2.txt
===================================================================
--- /trunk/src/paper01/fig14/met_data_coare_expt_1993_p2.txt	(revision 41)
+++ /trunk/src/paper01/fig14/met_data_coare_expt_1993_p2.txt	(revision 41)
@@ -0,0 +1,21 @@
+time  ws(m/s)   sst(C)  at(C)  q2m(g/kg)   lhf(w/m2)   shf(w/m2)   swr(w/m2)   lwr(s/m2)
+  2449016.0    7.08   28.91   27.56    0.0172   -160.46    -15.75     91.24    -44.25
+  2449017.0    4.94   28.90   27.67    0.0177   -104.30     -8.91    153.52    -47.36
+  2449018.0    6.61   28.73   27.16    0.0182   -150.05    -13.97     98.14    -49.96
+  2449019.0    6.11   28.74   27.02    0.0189   -133.52    -14.71    123.87    -48.44
+  2449020.0    5.72   28.72   28.13    0.0188   -106.57     -3.25    174.47    -51.96
+  2449021.0    7.52   28.76   28.41    0.0188   -136.47     -2.08    264.90    -62.29
+  2449022.0    5.50   28.76   28.15    0.0183   -129.60     -3.36    261.21    -72.64
+  2449023.0    4.61   28.84   28.09    0.0177   -124.17     -4.09    300.06    -73.13
+  2449024.0    4.95   28.82   27.26    0.0175   -121.98    -12.82    204.66    -59.86
+  2449025.0    2.19   28.61   27.36    0.0170    -70.70     -4.84    104.24    -57.39
+  2449026.0    5.14   28.91   27.45    0.0172   -107.08     -9.73    262.19    -62.74
+  2449027.0    3.19   28.89   27.66    0.0172    -79.14     -5.87    278.72    -63.79
+  2449028.0    3.70   28.89   27.64    0.0168    -89.88     -6.64    277.78    -60.23
+  2449029.0    5.27   28.87   27.05    0.0176   -115.41    -13.46    146.71    -49.04
+  2449030.0    4.19   28.72   27.44    0.0181    -86.39     -8.54     53.97    -48.85
+  2449031.0    3.53   28.82   28.07    0.0183    -73.22     -3.41    152.90    -51.60
+  2449032.0    2.78   28.91   28.19    0.0185    -65.78     -2.72    149.59    -59.44
+  2449033.0    3.31   28.78   27.68    0.0186    -77.59     -5.23    217.39    -59.27
+  2449034.0    4.24   28.85   27.11    0.0188   -103.19    -10.68    255.78    -56.70
+  2449035.0    3.56   28.78   27.83    0.0192    -92.03     -4.55    252.32    -67.95
Index: /trunk/src/paper01/fig14/met_data_stratus_2001_2002.txt
===================================================================
--- /trunk/src/paper01/fig14/met_data_stratus_2001_2002.txt	(revision 41)
+++ /trunk/src/paper01/fig14/met_data_stratus_2001_2002.txt	(revision 41)
@@ -0,0 +1,370 @@
+time  ws(m/s)   sst(C)  at(C)  q2m(g/kg)   lhf(w/m2)   shf(w/m2)   swr(w/m2)   lwr(s/m2)
+  2452202.0    4.50   18.49   17.69    0.0100    -68.77     -6.11    115.77    -21.99
+  2452203.0    7.60   18.48   17.57    0.0101   -107.12    -11.41    228.31    -26.95
+  2452204.0    6.62   18.58   17.20    0.0101    -86.51    -15.35    233.47    -27.38
+  2452205.0    4.67   18.73   17.40    0.0100    -77.95    -10.34    260.16    -36.67
+  2452206.0    2.11   18.94   17.75    0.0101       NaN       NaN    179.90       NaN
+  2452207.0    1.99   19.06   18.00    0.0099    -55.37     -4.33    228.24    -32.41
+  2452208.0    2.19   19.10   18.20    0.0100    -51.27     -3.77    295.02    -66.77
+  2452209.0    1.86   19.37   18.41    0.0101       NaN       NaN    284.07       NaN
+  2452210.0    5.98   18.86   18.39    0.0097    -86.43     -4.68    332.11    -84.68
+  2452211.0    5.49   18.89   18.35    0.0097    -70.75     -4.87    259.17    -61.65
+  2452212.0    5.34   18.99   18.45    0.0098    -69.97     -4.67    200.96    -45.33
+  2452213.0    5.62   19.05   18.56    0.0097    -77.31     -4.39    220.99    -33.48
+  2452214.0    4.93   19.09   18.80    0.0100    -73.16     -2.20    274.92    -41.28
+  2452215.0    5.85   19.17   18.52    0.0098    -78.85     -6.32    249.40    -36.87
+  2452216.0    5.60   19.14   18.41    0.0099    -95.25     -6.71    144.87    -20.46
+  2452217.0    6.65   19.13   18.83    0.0098    -97.95     -2.92    238.82    -31.63
+  2452218.0    6.63   19.25   18.17    0.0100    -87.43    -11.96    270.69    -33.41
+  2452219.0    7.23   19.28   18.57    0.0101   -101.09     -8.34    240.39    -32.64
+  2452220.0    7.25   19.33   18.46    0.0097    -96.56    -10.40    245.98    -36.24
+  2452221.0    6.55   19.38   18.63    0.0099   -112.38     -8.18    269.55    -52.67
+  2452222.0    6.48   19.35   18.42    0.0099   -108.26    -10.00    301.40    -58.53
+  2452223.0    6.75   19.33   18.44    0.0098   -105.86     -9.96    327.37    -74.35
+  2452224.0    7.91   19.22   18.53    0.0098   -121.71     -8.86    327.66    -69.60
+  2452225.0    8.23   19.21   18.72    0.0100   -146.47     -6.39    265.86    -42.23
+  2452226.0    7.59   19.19   18.67    0.0097   -121.16     -6.18    218.52    -26.38
+  2452227.0    8.09   19.16   18.79    0.0094    -78.57     -4.69    281.95    -32.71
+  2452228.0    7.71   19.07   18.66    0.0095    -95.95     -4.93    225.68    -22.55
+  2452229.0    7.30   19.06   18.74    0.0096   -102.64     -3.63    239.20    -25.52
+  2452230.0    7.08   19.05   18.31    0.0099    -93.33     -8.58    224.48    -23.87
+  2452231.0    6.19   19.07   18.51    0.0098    -90.32     -5.98    221.04    -24.26
+  2452232.0    4.69   19.14   18.48    0.0099       NaN       NaN    198.96       NaN
+  2452233.0    3.43   19.28   18.43    0.0098       NaN       NaN    254.91       NaN
+  2452234.0    5.23   19.39   18.26    0.0100    -96.53    -10.37    320.58    -39.35
+  2452235.0    5.69   19.39   18.21    0.0098    -98.23    -11.58    225.28    -26.20
+  2452236.0    6.55   19.30   18.86    0.0099   -102.54     -4.52    264.24    -35.63
+  2452237.0    8.29   19.24   19.03    0.0101   -101.42     -2.54    311.15    -55.19
+  2452238.0    8.21   19.28   18.87    0.0099   -113.57     -5.33    269.31    -33.78
+  2452239.0    7.41   19.31   18.15    0.0097   -109.49    -13.77    262.82    -34.57
+  2452240.0    8.45   19.31   17.97    0.0099   -123.66    -19.36    239.70    -31.31
+  2452241.0    8.59   19.28   18.21    0.0099   -122.22    -15.57    183.83    -29.66
+  2452242.0    7.90   19.31   18.62    0.0099   -123.80     -8.86    190.37    -21.04
+  2452243.0    7.56   19.22   18.80    0.0099   -114.51     -5.10    198.04    -21.21
+  2452244.0    6.89   19.31   18.90    0.0097   -102.33     -4.41    241.49    -22.88
+  2452245.0    7.42   19.13   18.73    0.0095   -108.04     -4.65    213.01    -20.76
+  2452246.0    7.74   19.21   18.51    0.0096   -108.18     -8.83    219.02    -20.47
+  2452247.0    7.77   19.31   18.57    0.0095   -113.73     -9.18    266.07    -28.25
+  2452248.0    6.70   19.36   18.64    0.0097   -117.29     -7.74    217.54    -28.17
+  2452249.0    7.03   19.33   18.63    0.0097   -121.83     -7.94    213.40    -28.72
+  2452250.0    7.67   19.32   18.98    0.0095   -115.04     -4.02    262.03    -28.87
+  2452251.0    7.80   19.37   18.99    0.0096   -103.57     -4.62    276.29    -30.55
+  2452252.0    7.13   19.42   18.53    0.0096    -91.55    -10.32    230.34    -22.41
+  2452253.0    5.61   19.48   18.07    0.0099    -81.74    -13.64    251.13    -26.50
+  2452254.0    4.32   19.55   18.81    0.0097    -84.24     -5.47    181.22    -21.37
+  2452255.0    4.25   19.52   18.82    0.0095    -87.16     -5.31    209.22    -26.89
+  2452256.0    4.73   19.58   19.18    0.0097    -84.09     -3.19    233.05    -30.45
+  2452257.0    4.56   19.54   19.10    0.0096    -66.58     -3.33    145.13    -30.21
+  2452258.0    4.08   19.62   19.35    0.0095       NaN       NaN    224.25       NaN
+  2452259.0    5.28   19.75   19.52    0.0094    -73.47     -1.75    184.38    -16.74
+  2452260.0    6.86   19.65   19.38    0.0094    -90.63     -2.84    223.37    -22.22
+  2452261.0    6.91   19.62   19.47    0.0094      -NaN      -NaN    254.44      -NaN
+  2452262.0    5.70   19.68   19.57    0.0095    -54.34     -0.80    151.27    -16.71
+  2452263.0    5.50   19.94   19.02    0.0094    -42.88     -8.56    288.20    -32.32
+  2452264.0    5.61   20.01   19.64    0.0096    -49.38     -3.57    229.23    -27.22
+  2452265.0    4.74   20.05   19.89    0.0094      -NaN      -NaN    206.05      -NaN
+  2452266.0    5.51   20.07   19.25    0.0094    -61.03     -7.39    245.72    -25.69
+  2452267.0    4.52   20.14   19.59    0.0094    -59.04     -4.48    203.56    -24.28
+  2452268.0    4.24   20.50   20.07    0.0096    -65.41     -3.20    236.28    -27.13
+  2452269.0    4.03   20.71   20.00    0.0096    -78.97     -5.13    258.50    -35.96
+  2452270.0    4.59   20.66   20.06    0.0097    -88.19     -4.67    195.85    -23.22
+  2452271.0    3.94   20.74   20.54    0.0092    -74.97     -1.38    267.54    -34.33
+  2452272.0    4.35   20.92   20.86    0.0091    -67.56     -0.32    193.74    -21.88
+  2452273.0    5.75   20.86   20.60    0.0092    -87.67     -2.35    244.41    -24.75
+  2452274.0    6.91   20.77   20.04    0.0092   -117.44     -8.29    209.48    -19.50
+  2452275.0    6.00   20.78   19.51    0.0094    -99.32    -12.95    199.32    -24.63
+  2452276.0    5.37   20.89   20.36    0.0092    -85.20     -5.27    236.33    -33.06
+  2452277.0    6.48   20.94   20.02    0.0093    -77.80     -9.20    272.94    -39.19
+  2452278.0    6.43   20.91   20.42    0.0092    -90.34     -5.25    299.11    -45.32
+  2452279.0    5.98   20.98   20.22    0.0092    -79.24     -7.10    271.34    -35.16
+  2452280.0    5.51   21.14   20.35    0.0092    -74.96     -7.25    296.20    -35.76
+  2452281.0    5.35   21.17   20.67    0.0094    -74.58     -4.58    266.65    -46.29
+  2452282.0    3.37   21.45   20.70    0.0092    -51.62     -4.36    288.02    -54.25
+  2452283.0    3.05   21.70   20.53    0.0091       NaN       NaN    251.78       NaN
+  2452284.0    3.66   21.57   21.02    0.0091    -64.14     -3.71    146.23    -29.71
+  2452285.0    4.82   21.51   21.07    0.0092    -82.38     -3.55    244.34    -49.53
+  2452286.0    5.30   21.49   20.74    0.0094   -104.22     -6.60    226.38    -39.31
+  2452287.0    5.51   21.45   21.12    0.0095   -103.23     -2.94    201.06    -36.58
+  2452288.0    6.21   21.51   20.95    0.0094    -89.94     -5.55    276.63    -38.22
+  2452289.0    6.71   21.53   21.05    0.0093    -92.01     -5.17    277.43    -53.82
+  2452290.0    6.67   21.56   20.76    0.0093   -117.92     -8.48    229.41    -32.63
+  2452291.0    5.66   21.56   20.99    0.0090   -116.47     -5.41    231.07    -26.24
+  2452292.0    4.87   21.65   21.30    0.0091   -107.71     -3.06    287.97    -40.63
+  2452293.0    5.28   21.73   21.28    0.0094    -94.57     -3.92    288.80    -49.27
+  2452294.0    4.64   21.71   21.13    0.0094    -92.18     -5.21    206.82    -45.54
+  2452295.0    4.36   21.79   21.36    0.0093    -85.61     -3.20    323.47    -66.18
+  2452296.0    4.76   21.89   21.43    0.0096    -78.62     -3.65    314.38    -62.46
+  2452297.0    4.55   21.99   21.50    0.0093    -73.82     -3.53    321.76    -62.49
+  2452298.0    6.03   21.94   21.15    0.0092   -106.15     -7.83    275.85    -50.61
+  2452299.0    6.71   21.92   21.24    0.0092   -148.98     -7.43    253.73    -31.15
+  2452300.0    7.04   21.89   21.02    0.0094   -140.00     -9.98    230.20    -30.17
+  2452301.0    7.87   21.86   21.21    0.0093   -117.52     -8.20    342.10    -59.90
+  2452302.0    7.73   21.83   21.35    0.0092   -108.83     -5.81    225.42    -33.60
+  2452303.0    7.49   21.74   21.18    0.0093   -113.40     -7.14    199.66    -26.04
+  2452304.0    6.61   21.73   21.00    0.0095    -91.85     -7.86    243.06    -26.49
+  2452305.0    6.74   21.72   21.40    0.0093   -124.64     -3.38    256.91    -31.64
+  2452306.0    6.25   21.77   20.87    0.0092   -107.02     -9.38    246.58    -27.83
+  2452307.0    4.89   21.88   21.37    0.0090    -95.15     -4.65    219.07    -27.41
+  2452308.0    4.08   22.08   21.57    0.0091    -73.43     -3.45    259.72    -53.53
+  2452309.0    5.85   21.93   21.64    0.0091   -102.18     -2.56    197.78    -37.44
+  2452310.0    6.68   21.81   21.27    0.0093   -112.96     -5.58    163.22    -19.18
+  2452311.0    6.45   21.75   21.61    0.0095    -99.65     -1.04    247.57    -29.19
+  2452312.0    6.27   21.75   20.93    0.0094    -89.18     -8.22    232.21    -36.52
+  2452313.0    6.47   21.74   21.25    0.0096   -116.26     -5.06    245.06    -35.94
+  2452314.0    5.33   21.81   21.38    0.0093   -109.24     -3.86    319.46    -57.33
+  2452315.0    5.69   21.85   21.46    0.0092    -88.16     -3.55    203.76    -42.26
+  2452316.0    5.92   21.84   21.48    0.0092    -99.22     -3.21    252.69    -49.24
+  2452317.0    6.51   21.85   21.42    0.0092   -106.00     -4.36    217.62    -41.41
+  2452318.0    5.95   21.84   21.38    0.0093   -111.35     -4.42    191.29    -27.60
+  2452319.0    6.11   21.83   21.29    0.0090   -113.98     -5.19    276.13    -37.35
+  2452320.0    6.25   21.83   21.35    0.0090   -108.35     -4.74    228.49    -39.07
+  2452321.0    5.78   21.89   21.11    0.0092   -113.27     -7.36    275.83    -37.75
+  2452322.0    6.51   21.82   21.25    0.0092   -119.48     -6.06    223.29    -25.34
+  2452323.0    5.98   21.86   20.74    0.0091   -110.08    -11.23    280.52    -46.84
+  2452324.0    6.59   21.92   20.73    0.0091   -120.68    -13.40    235.45    -38.24
+  2452325.0    7.67   21.93   20.94    0.0090   -125.73    -12.42    225.14    -28.49
+  2452326.0    6.54   21.93   21.43    0.0090   -114.40     -5.43    168.78    -21.34
+  2452327.0    4.28   22.00   21.67    0.0092    -62.50     -2.45    167.55    -30.85
+  2452328.0    2.75   22.30   21.42    0.0092    -41.87     -4.23    243.21    -32.59
+  2452329.0    2.50   22.71   22.29    0.0091    -62.74     -1.55    272.37    -42.12
+  2452330.0    2.90   22.68   22.23    0.0093    -59.71     -2.18    289.47    -73.98
+  2452331.0    3.48   22.65   22.20    0.0093    -80.30     -2.72    272.98    -63.11
+  2452332.0    3.89   22.49   21.89    0.0093    -68.17     -4.11    249.81    -48.44
+  2452333.0    4.59   22.46   21.97    0.0094    -80.94     -3.73    279.77    -43.24
+  2452334.0    5.51   22.41   21.75    0.0097   -101.00     -5.99    315.76    -75.57
+  2452335.0    5.22   22.44   21.88    0.0096    -87.52     -4.81    277.56    -58.39
+  2452336.0    5.30   22.51   21.89    0.0097    -80.45     -5.28    298.76    -62.82
+  2452337.0    6.06   22.57   21.97    0.0095   -100.79     -5.88    304.10    -73.10
+  2452338.0    6.15   22.48   21.81    0.0094   -113.95     -6.83    211.19    -56.62
+  2452339.0    6.65   22.42   21.84    0.0092   -122.83     -6.11    245.45    -46.58
+  2452340.0    6.99   22.31   21.82    0.0092   -128.55     -5.45    189.35    -34.28
+  2452341.0    7.46   22.21   21.75    0.0093   -147.52     -5.45    225.23    -32.10
+  2452342.0    5.75   22.22   21.69    0.0092   -103.57     -4.68    208.92    -35.83
+  2452343.0    4.94   22.29   21.88    0.0093    -63.88     -3.11    209.39    -42.15
+  2452344.0    5.86   22.30   22.03    0.0095    -94.80     -2.28    258.17    -55.90
+  2452345.0    6.29   22.27   21.92    0.0098   -107.96     -3.50    205.72    -42.52
+  2452346.0    5.79   22.29   21.85    0.0095    -80.50     -4.07    233.86    -37.76
+  2452347.0    5.06   22.42   21.91    0.0095    -74.86     -4.20    296.86    -62.98
+  2452348.0    2.30   23.04   21.94    0.0096    -56.32     -4.99    294.07    -81.26
+  2452349.0    2.15   23.00   22.01    0.0097    -49.35     -4.11    291.99    -84.03
+  2452350.0    2.68   23.25   22.02    0.0098    -49.75     -6.39    230.34    -49.29
+  2452351.0    3.12   23.51   22.76    0.0097    -46.66     -4.12    284.03    -54.86
+  2452352.0    1.98   23.96   22.67    0.0097    -43.56     -5.62    265.76    -55.42
+  2452353.0    2.21   24.30   22.85    0.0096    -48.67     -6.69    244.44    -45.93
+  2452354.0    4.36   23.95   23.23    0.0096    -87.01     -5.25    287.62    -68.87
+  2452355.0    5.09   23.73   23.09    0.0093    -90.10     -5.46    241.28    -64.67
+  2452356.0    5.45   23.45   22.93    0.0093    -94.98     -4.75    242.70    -54.51
+  2452357.0    6.55   23.30   22.95    0.0093   -131.13     -3.43    246.29    -40.24
+  2452358.0    7.41   23.13   22.55    0.0094   -123.95     -7.06    230.39    -34.63
+  2452359.0    6.77   23.05   22.67    0.0093   -122.23     -3.91    200.38    -28.24
+  2452360.0    7.60   23.02   22.59    0.0096   -137.58     -5.22    180.44    -35.45
+  2452361.0    7.07   22.90   22.50    0.0097   -134.96     -4.35    149.51    -25.43
+  2452362.0    7.11   22.85   22.46    0.0096   -128.04     -4.11    156.91    -26.91
+  2452363.0    8.25   22.69   22.26    0.0095   -142.72     -5.46    222.39    -61.88
+  2452364.0    8.29   22.54   21.97    0.0095   -186.72     -7.50    242.53    -68.58
+  2452365.0    6.73   22.50   21.87    0.0093   -135.77     -7.02    212.48    -47.45
+  2452366.0    5.71   22.49   21.77    0.0093   -114.62     -6.83    247.45    -47.03
+  2452367.0    5.22   22.47   21.93    0.0092   -108.12     -4.46    260.30    -56.14
+  2452368.0    5.27   22.50   21.50    0.0092   -103.55     -8.86    239.54    -54.57
+  2452369.0    5.83   22.54   21.51    0.0092   -109.04     -9.90    248.12    -62.64
+  2452370.0    5.23   22.54   21.77    0.0095   -117.64     -6.60    266.96    -81.85
+  2452371.0    5.83   22.51   21.74    0.0094   -131.48     -7.40    262.33    -75.50
+  2452372.0    4.15   22.55   21.66    0.0092    -80.93     -6.46    198.36    -42.88
+  2452373.0    3.85   22.61   21.77    0.0093    -72.17     -5.72    209.14    -35.85
+  2452374.0    3.89   22.65   21.98    0.0093    -84.29     -4.55    250.05    -59.11
+  2452375.0    5.98   22.62   21.83    0.0095   -112.38     -7.25    202.90    -63.52
+  2452376.0    8.26   22.50   21.39    0.0093   -184.00    -14.86    151.68    -51.00
+  2452377.0    7.81   22.41   21.51    0.0096   -168.09    -11.37    250.84    -62.64
+  2452378.0    5.91   22.36   20.90    0.0095   -117.88    -14.33    209.85    -47.60
+  2452379.0    6.34   22.37   21.39    0.0094   -132.36    -10.13    210.79    -53.91
+  2452380.0    6.39   22.36   21.50    0.0095   -143.16     -9.05    208.23    -63.72
+  2452381.0    6.89   22.33   21.47    0.0093   -145.90     -9.75    200.04    -64.56
+  2452382.0    7.28   22.28   21.53    0.0093   -152.60     -8.97    171.76    -48.63
+  2452383.0    7.43   22.22   21.77    0.0096   -161.60     -5.31     93.56    -23.86
+  2452384.0    7.75   22.15   21.55    0.0093   -151.96     -7.62    211.51    -43.44
+  2452385.0    7.34   22.12   20.42    0.0092   -134.43    -20.86    175.84    -40.68
+  2452386.0    6.75   22.09   20.49    0.0093   -136.96    -18.13    213.44    -65.40
+  2452387.0    6.29   22.06   20.93    0.0094   -139.68    -11.90    163.00    -34.12
+  2452388.0    7.15   22.02   20.92    0.0093   -142.58    -13.19    230.92    -54.06
+  2452389.0    7.39   22.00   21.23    0.0092   -150.50     -9.27    237.23    -81.57
+  2452390.0    7.57   21.98   21.07    0.0094   -150.60    -11.25    191.86    -56.56
+  2452391.0    8.38   21.91   20.78    0.0092   -153.32    -15.55    220.75    -59.17
+  2452392.0    5.28   21.91   20.47    0.0092   -117.19    -13.08    214.16    -71.55
+  2452393.0    5.61   21.86   20.65    0.0092   -124.42    -11.59    195.62    -69.50
+  2452394.0    7.50   21.81   20.98    0.0092   -168.71    -10.19    140.41    -45.27
+  2452395.0    8.10   21.74   20.12    0.0092   -166.08    -21.95    159.38    -40.16
+  2452396.0    8.61   21.71   20.46    0.0092   -154.85    -17.49    173.49    -39.05
+  2452397.0    7.97   21.64   20.11    0.0091   -159.36    -20.36    146.12    -38.48
+  2452398.0    6.47   21.60   19.73    0.0093   -117.07    -20.82    137.39    -43.44
+  2452399.0    6.56   21.60   20.35    0.0094   -121.29    -13.69    183.64    -49.43
+  2452400.0    6.18   21.61   20.22    0.0092   -119.69    -14.44    171.97    -41.61
+  2452401.0    5.05   21.64   19.94    0.0094   -102.81    -15.37    162.20    -44.84
+  2452402.0    3.92   21.67   20.57    0.0095    -99.55     -7.59    203.49    -63.80
+  2452403.0    6.02   21.65   20.35    0.0094   -130.90    -13.05    151.68    -30.85
+  2452404.0    5.57   21.64   20.08    0.0096   -123.82    -14.90    158.46    -40.68
+  2452405.0    3.07   21.67   20.21    0.0095    -84.13     -8.75    117.58    -25.74
+  2452406.0    1.83   21.65   19.96    0.0094    -61.72     -7.04     78.40    -37.02
+  2452407.0    5.27   21.63   20.89    0.0095   -103.79     -5.40    199.77    -47.23
+  2452408.0    6.55   21.62   21.03    0.0096    -98.65     -6.38    202.86    -54.77
+  2452409.0    4.89   21.64   20.80    0.0098    -86.47     -6.83    207.16    -82.57
+  2452410.0    4.73   21.59   20.45    0.0099   -101.81     -9.36    140.52    -55.82
+  2452411.0    4.93   21.59   20.18    0.0098   -111.59    -12.32    194.11    -63.25
+  2452412.0    6.48   21.56   20.00    0.0099   -136.68    -17.16    145.03    -54.39
+  2452413.0    5.68   21.54   19.89    0.0099   -136.58    -16.24    189.36    -70.21
+  2452414.0    6.07   21.53   19.79    0.0093   -139.62    -18.24    170.32    -66.06
+  2452415.0    6.62   21.51   20.10    0.0095   -140.05    -15.88    179.35    -73.67
+  2452416.0    3.72   21.52   19.95    0.0093    -90.44    -10.96    164.70    -71.47
+  2452417.0    4.24   21.49   19.99    0.0094    -82.27     -9.92    160.82    -50.20
+  2452418.0    8.69   21.44   21.19    0.0093      -NaN      -NaN     92.51      -NaN
+  2452419.0    7.05   21.42   20.66    0.0095    -89.94     -8.67     95.53    -28.20
+  2452420.0    6.05   21.36   20.42    0.0094   -136.02     -9.35    199.62    -83.64
+  2452421.0    4.20   21.36   19.77    0.0096    -91.48    -11.92    176.59    -77.15
+  2452422.0    7.03   21.31   19.62    0.0096   -144.02    -20.36    147.31    -61.20
+  2452423.0    6.12   21.26   19.49    0.0096   -154.40    -18.83    195.75    -71.46
+  2452424.0    6.03   21.23   19.51    0.0096   -143.69    -17.98    190.65    -82.33
+  2452425.0    4.54   21.23   19.61    0.0095   -114.96    -13.36    191.77    -84.38
+  2452426.0    4.50   21.21   19.58    0.0095    -89.52    -12.95    144.12    -63.07
+  2452427.0    4.36   21.15   19.68    0.0095   -103.54    -11.64    137.27    -65.28
+  2452428.0    1.68   21.06   19.79    0.0095    -59.39     -5.23     97.03    -44.96
+  2452429.0    2.94   21.00   19.82    0.0093    -70.39     -5.99    131.79    -35.49
+  2452430.0    5.90   20.96   19.85    0.0094   -107.00    -11.46    155.59    -41.26
+  2452431.0    8.28   20.91   18.97    0.0094   -198.61    -26.99    136.31    -60.85
+  2452432.0    8.47   20.83   18.67    0.0096   -205.99    -31.07    127.67    -49.23
+  2452433.0    8.59   20.75   18.90    0.0092   -201.04    -26.85     99.12    -38.26
+  2452434.0    8.39   20.66   18.84    0.0094   -178.48    -25.66    135.07    -44.58
+  2452435.0    8.79   20.57   18.82    0.0094   -175.02    -25.88    104.01    -32.65
+  2452436.0    6.80   20.55   18.92    0.0096   -142.86    -18.60    175.63    -54.91
+  2452437.0    5.53   20.54   18.40    0.0093   -109.14    -20.70    159.69    -62.01
+  2452438.0    6.47   20.55   18.52    0.0095   -126.30    -22.78    140.86    -52.66
+  2452439.0    7.13   20.52   18.73    0.0091   -164.44    -21.67    101.88    -33.39
+  2452440.0    7.24   20.49   18.24    0.0094   -148.62    -28.24    128.64    -48.79
+  2452441.0    7.35   20.42   18.65    0.0092   -156.88    -22.04     89.15    -31.29
+  2452442.0    9.05   20.34   18.12    0.0095   -177.01    -33.80    121.49    -50.69
+  2452443.0    9.41   20.18   18.80    0.0095   -191.87    -21.69    110.20    -28.39
+  2452444.0    8.57   20.10   18.71    0.0095   -175.80    -19.87     62.60    -23.79
+  2452445.0    7.18   20.07   18.62    0.0095   -145.14    -17.68     76.51    -24.66
+  2452446.0    6.15   20.03   18.83    0.0095   -117.63    -12.45    108.13    -34.15
+  2452447.0    6.60   20.04   18.97    0.0092   -120.45    -11.68    116.65    -33.14
+  2452448.0    4.35   20.06   17.92    0.0092    -90.93    -15.91    152.24    -33.39
+  2452449.0    3.40   20.08   18.03    0.0091    -73.98    -14.17    131.31    -48.07
+  2452450.0    3.09   20.11   18.79    0.0092    -53.70     -8.24    187.79    -58.17
+  2452451.0    2.03   20.18   18.63    0.0094    -35.45     -7.30    128.18    -43.87
+  2452452.0    3.93   20.10   18.78    0.0093    -72.44     -9.74    165.92    -66.94
+  2452453.0    5.98   20.26   18.39    0.0094   -122.79    -19.42    140.07    -38.53
+  2452454.0    6.98   20.07   18.18    0.0092   -135.68    -22.52    133.00    -44.07
+  2452455.0    8.27   20.06   18.12    0.0093   -126.90    -26.96    162.02    -53.43
+  2452456.0    8.81   20.08   18.13    0.0093   -162.13    -29.17    178.96    -64.83
+  2452457.0    9.29   19.91   17.72    0.0095   -188.07    -34.32    166.01    -74.37
+  2452458.0    9.80   19.79   17.80    0.0094   -218.05    -33.09    164.44    -70.10
+  2452459.0   10.28   19.75   17.99    0.0095   -210.57    -30.25    159.84    -50.49
+  2452460.0    9.33   19.72   18.47    0.0094   -184.85    -19.51    157.93    -59.98
+  2452461.0    9.20   19.71   18.18    0.0093   -206.19    -23.74    109.15    -44.89
+  2452462.0    7.88   19.69   18.37    0.0097   -164.20    -17.16    121.00    -37.61
+  2452463.0    7.80   19.66   17.91    0.0092   -124.76    -22.93     70.02    -37.66
+  2452464.0    6.93   19.60   17.56    0.0093   -115.95    -24.34    134.97    -40.56
+  2452465.0    6.16   19.55   18.13    0.0094   -125.13    -14.92     86.85    -28.84
+  2452466.0    7.39   19.54   18.51    0.0092   -130.33    -12.36    171.13    -39.25
+  2452467.0    8.49   19.58   18.47    0.0094   -151.56    -15.55     97.31    -27.37
+  2452468.0    7.37   19.55   18.24    0.0096   -137.07    -16.15    115.66    -24.48
+  2452469.0    5.23   19.58   17.91    0.0092    -98.19    -15.02    136.16    -30.56
+  2452470.0    4.14   19.53   17.65    0.0094    -75.58    -14.56     80.53    -24.95
+  2452471.0    3.25   19.52   16.91    0.0094    -56.52    -17.51    129.88    -39.59
+  2452472.0    3.13   19.55   16.86    0.0093    -70.11    -17.11    165.70    -50.89
+  2452473.0    2.89   19.54   17.16    0.0093    -81.34    -14.54    143.74    -49.93
+  2452474.0    3.39   19.47   17.89    0.0095    -90.65    -10.30     88.44    -27.28
+  2452475.0    4.21   19.43   17.85    0.0094    -96.08    -12.18     80.08    -24.44
+  2452476.0    5.01   19.46   17.86    0.0097    -82.33    -14.02    112.05    -25.32
+  2452477.0    2.86   19.68   18.00    0.0093    -28.61     -8.93    169.49    -39.53
+  2452478.0    2.96   19.72   17.81    0.0094    -37.68    -10.22     92.30    -21.04
+  2452479.0    6.59   19.58   18.67    0.0096    -89.31     -9.78    192.50    -54.06
+  2452480.0    9.67   19.50   17.92    0.0093   -197.05    -25.53    189.84    -68.99
+  2452481.0    9.24   19.44   17.50    0.0095   -210.67    -30.03    105.50    -38.90
+  2452482.0   10.25   19.39   17.70    0.0093   -217.05    -29.18     95.63    -34.58
+  2452483.0    8.86   19.31   18.01    0.0094   -178.14    -19.35    154.66    -48.30
+  2452484.0    5.10   19.30   17.70    0.0092   -112.37    -14.40    156.53    -58.94
+  2452485.0    5.12   19.30   17.54    0.0092   -126.85    -16.01    103.28    -39.73
+  2452486.0    6.24   19.27   17.94    0.0091   -135.26    -14.05    102.38    -25.20
+  2452487.0    6.49   19.25   17.64    0.0094   -125.47    -17.71     88.11    -28.77
+  2452488.0    6.00   19.29   17.19    0.0092   -129.38    -21.89    142.35    -33.18
+  2452489.0    5.99   19.28   17.42    0.0088   -139.11    -19.44    115.67    -30.33
+  2452490.0    6.61   19.16   17.88    0.0090   -147.92    -14.23    103.31    -29.25
+  2452491.0    7.15   19.10   17.90    0.0090   -147.69    -14.33     83.02    -25.78
+  2452492.0    5.24   19.11   17.37    0.0092   -103.23    -15.59    178.07    -45.72
+  2452493.0    2.48   19.15   17.37    0.0093    -65.06     -9.40    110.18    -33.92
+  2452494.0    3.28   19.13   17.31    0.0091    -81.74    -11.33    138.40    -38.63
+  2452495.0    7.62   19.11   17.75    0.0094    -90.15    -17.09    170.96    -44.57
+  2452496.0    7.17   19.10   17.88    0.0092   -111.32    -14.40    192.12    -38.00
+  2452497.0    7.24   19.06   17.75    0.0092   -113.61    -15.77    185.29    -58.10
+  2452498.0    8.30   18.94   17.94    0.0089   -103.11    -13.53    201.60    -66.72
+  2452499.0    7.19   18.95   17.71    0.0090    -88.88    -14.89    173.90    -27.42
+  2452500.0    6.59   18.98   17.56    0.0092    -98.43    -15.81    208.70    -46.76
+  2452501.0    6.39   18.88   17.93    0.0093    -88.25    -10.02    209.56    -45.11
+  2452502.0    5.80   18.80   17.85    0.0093    -81.30     -9.31    203.64    -51.66
+  2452503.0    5.53   18.85   17.50    0.0093    -88.45    -12.82    210.31    -49.60
+  2452504.0    5.49   18.81   17.64    0.0096    -91.22    -10.79    165.73    -49.49
+  2452505.0    7.41   18.77   17.70    0.0094   -102.31    -13.10    156.29    -28.49
+  2452506.0    8.16   18.76   17.49    0.0095   -144.44    -17.29     86.75    -20.83
+  2452507.0    8.45   18.77   17.52    0.0094   -144.37    -17.63     98.82    -20.46
+  2452508.0    6.98   18.72   17.25    0.0090   -116.26    -17.44     99.68    -20.33
+  2452509.0    5.39   18.68   17.32    0.0091    -91.90    -12.69    106.48    -26.60
+  2452510.0    3.23   18.90   16.91    0.0091    -67.91    -12.40    131.18    -22.26
+  2452511.0    2.18   19.04   16.98    0.0093    -55.42     -9.89    132.28    -35.54
+  2452512.0    3.19   18.94   17.08    0.0091    -65.56    -11.04    131.81    -26.98
+  2452513.0    6.66   18.98   17.92    0.0090    -82.60    -11.62    197.71    -34.83
+  2452514.0    7.88   18.93   17.27    0.0091   -178.14    -22.04    249.35    -89.02
+  2452515.0    8.44   18.86   16.87    0.0090   -180.96    -28.35    152.32    -49.77
+  2452516.0    8.43   18.85   16.81    0.0092   -151.62    -28.98    184.21    -50.43
+  2452517.0    9.39   18.79   17.32    0.0096   -162.27    -22.89    175.92    -39.50
+  2452518.0    9.47   18.68   17.42    0.0095   -147.29    -19.45    195.34    -45.91
+  2452519.0    8.34   18.71   17.47    0.0097   -152.90    -17.11    220.19    -45.45
+  2452520.0    6.66   18.57   17.33    0.0097   -119.42    -14.02    183.65    -39.69
+  2452521.0    5.30   18.32   16.92    0.0097    -95.75    -12.96    161.91    -23.80
+  2452522.0    5.36   18.25   17.23    0.0097    -86.02     -9.26    106.02    -17.37
+  2452523.0    6.64   18.28   16.94    0.0096    -84.67    -15.23    199.10    -32.15
+  2452524.0    6.74   18.35   17.44    0.0095   -105.05    -10.27    141.41    -22.11
+  2452525.0    6.67   18.34   17.19    0.0097    -90.82    -12.93    105.90    -23.23
+  2452526.0    5.62   18.30   17.08    0.0098    -90.89    -11.86    198.50    -54.74
+  2452527.0    5.23   18.31   17.11    0.0096    -91.98    -10.72    214.91    -43.78
+  2452528.0    7.27   18.31   17.16    0.0094   -117.23    -13.78    223.59    -43.14
+  2452529.0    7.65   18.34   17.41    0.0092   -126.48    -11.78    127.78    -24.55
+  2452530.0    7.70   18.32   17.04    0.0093   -132.16    -16.45    143.33    -23.81
+  2452531.0    6.10   18.21   16.94    0.0094   -104.07    -13.27    120.38    -20.84
+  2452532.0    4.71   18.27   17.16    0.0093    -87.36     -9.26    108.69    -19.47
+  2452533.0    3.50   18.45   16.39    0.0095    -52.22    -13.84    226.87    -38.35
+  2452534.0    5.68   18.39   17.51    0.0092    -87.16     -7.71    223.35    -48.25
+  2452535.0    6.71   18.34   17.67    0.0090   -124.15     -7.69    198.90    -52.20
+  2452536.0    7.15   18.32   17.67    0.0089   -118.34     -7.55    208.67    -32.95
+  2452537.0    8.80   18.20   17.22    0.0091   -128.89    -14.13    118.89    -21.47
+  2452538.0    8.79   18.24   16.99    0.0093   -138.84    -18.23    187.85    -31.55
+  2452539.0    8.59   18.36   17.55    0.0089   -131.63    -11.25    179.11    -29.87
+  2452540.0    7.99   18.27   17.26    0.0088   -108.11    -13.18    178.12    -18.67
+  2452541.0    7.09   18.28   17.00    0.0089   -114.31    -15.22    201.93    -24.48
+  2452542.0    6.28   18.39   17.28    0.0087    -97.98    -11.89    199.27    -23.28
+  2452543.0    6.52   18.47   17.78    0.0089    -77.64     -7.25    246.42    -41.38
+  2452544.0    5.98   18.47   17.91    0.0091    -73.65     -5.15    129.18    -14.10
+  2452545.0    5.35   18.48   17.03    0.0094    -71.39    -13.38    237.73    -39.63
+  2452546.0    5.68   18.48   17.30    0.0091    -96.87    -11.33    148.81    -19.51
+  2452547.0    5.92   18.47   16.95    0.0092    -90.72    -15.57    194.07    -26.55
+  2452548.0    6.06   18.49   17.43    0.0091    -98.95    -11.13    249.63    -34.63
+  2452549.0    3.61   18.55   17.36    0.0092    -78.16     -7.67    205.59    -38.73
+  2452550.0    5.27   18.56   17.50    0.0093   -102.59     -9.84    249.09    -41.80
+  2452551.0    4.00   18.62   17.73    0.0093    -86.74     -6.29    254.57    -42.85
+  2452552.0    4.69   18.53   17.89    0.0091    -94.53     -5.15    190.44    -42.45
+  2452553.0    3.80   18.57   17.88    0.0093    -82.53     -4.59    241.43    -40.66
+  2452554.0    5.16   18.57   17.92    0.0094    -60.81     -5.56    185.65    -44.77
+  2452555.0    7.35   18.49   18.02    0.0093    -99.10     -5.35    217.80    -30.54
+  2452556.0    7.12   18.32   17.92    0.0093   -119.05     -4.46    236.98    -41.76
+  2452557.0    8.65   18.34   17.85    0.0092   -139.13     -6.79    170.86    -21.13
+  2452558.0    7.41   18.40   17.82    0.0094   -125.15     -7.20    213.95    -29.53
+  2452559.0    6.55   18.40   17.30    0.0095   -113.00    -11.93    181.15    -29.65
+  2452560.0    5.10   18.45   17.04    0.0097    -91.26    -12.66    167.08    -22.57
+  2452561.0    4.17   18.63   17.05    0.0097    -84.28    -12.29    157.25    -22.53
+  2452562.0    4.09   18.66   17.44    0.0098    -80.25     -9.08    140.46    -19.39
+  2452563.0    6.20   18.60   18.15    0.0098    -94.03     -4.37    170.30    -24.12
+  2452564.0    6.76   18.51   18.12    0.0096      -NaN      -NaN    241.44      -NaN
+  2452565.0    5.89   18.63   17.66    0.0097    -64.26     -9.51    196.92    -22.78
+  2452566.0    5.45   18.70   17.98    0.0096    -83.93     -6.60    252.97    -45.97
+  2452567.0    6.42   18.59   18.17    0.0099    -90.82     -4.21    180.44    -25.15
+  2452568.0    8.64   18.51   18.16    0.0099   -115.67     -4.77    180.73    -26.66
+  2452569.0    7.18   18.55   17.33    0.0095    -88.46    -14.42    174.98    -22.91
+  2452570.0    6.05   18.49   17.27    0.0098    -83.87    -12.71     14.18    -23.88
Index: /trunk/src/paper01/fig14/met_data_subduct_cs_91.txt
===================================================================
--- /trunk/src/paper01/fig14/met_data_subduct_cs_91.txt	(revision 41)
+++ /trunk/src/paper01/fig14/met_data_subduct_cs_91.txt	(revision 41)
@@ -0,0 +1,193 @@
+time  ws(m/s)   sst(C)  at(C)  q2m(g/kg)   lhf(w/m2)   shf(w/m2)   swr(w/m2)   lwr(s/m2)
+  2448431.0    7.01   22.70   22.18    0.0112   -150.86     -5.82    261.95    -51.85
+  2448432.0    7.61   22.68   22.27    0.0109   -148.43     -4.90    244.12    -51.67
+  2448433.0    8.15   22.69   22.01    0.0108   -142.77     -8.90    283.74    -66.32
+  2448434.0    8.08   22.67   22.46    0.0099   -124.61     -2.51    234.98    -53.40
+  2448435.0    8.14   22.67   22.56    0.0110   -116.10     -1.28    278.58    -47.25
+  2448436.0    6.51   22.74   22.42    0.0114   -108.70     -3.32    270.61    -55.74
+  2448437.0    4.38   22.82   22.53    0.0114    -91.44     -2.27    203.91    -47.03
+  2448438.0    4.99   22.85   22.35    0.0115    -88.29     -4.04    301.32    -72.11
+  2448439.0    7.25   22.80   22.72    0.0107   -128.43     -0.32    260.54    -53.24
+  2448440.0    7.62   22.75   22.70    0.0107   -114.65     -0.23    256.50    -53.96
+  2448441.0    7.07   22.72   22.58    0.0109   -108.17     -1.37    192.21    -30.70
+  2448442.0    5.77   22.80   22.38    0.0117   -114.92     -3.88    273.89    -60.32
+  2448443.0    4.90   22.84   22.07    0.0120    -98.41     -6.20    284.99    -53.90
+  2448444.0    5.55   22.87   22.43    0.0111   -114.34     -4.15    248.17    -60.40
+  2448445.0    6.57   22.79   22.28    0.0117   -113.26     -5.15    312.45    -70.86
+  2448446.0    8.02   22.68   22.44    0.0116   -136.20     -2.90    292.41    -68.49
+  2448447.0    8.07   22.67   22.40    0.0113   -120.07     -3.21    272.11    -65.03
+  2448448.0    6.81   22.74   22.35    0.0118    -90.54     -4.24    282.73    -69.12
+  2448449.0    5.79   22.87   22.75    0.0116      -NaN      -NaN    284.15      -NaN
+  2448450.0    6.64   23.03   22.87    0.0117    -72.10     -1.60    287.25    -66.21
+  2448451.0    6.37   23.05   22.97    0.0115    -66.63     -0.62    258.86    -55.60
+  2448452.0    5.45   23.06   23.04    0.0116      -NaN      -NaN    287.45      -NaN
+  2448453.0    5.43   23.20   23.21    0.0117    -83.64      0.36    274.89    -63.43
+  2448454.0    5.79   23.44   23.47    0.0111      -NaN      -NaN    285.77      -NaN
+  2448455.0    6.66   23.54   23.46    0.0116    -93.11     -0.71    291.18    -68.85
+  2448456.0    7.36   23.56   23.34    0.0107    -98.01     -2.30    251.25    -52.61
+  2448457.0    7.76   23.48   23.10    0.0119    -86.44     -4.67     86.52    -37.33
+  2448458.0    6.44   23.59   23.53    0.0111    -48.87     -0.65    240.15    -41.98
+  2448459.0    6.26   23.72   23.62    0.0113    -50.44     -0.67    283.43    -57.74
+  2448460.0    6.45   23.86   23.77    0.0114    -67.56     -0.74    282.48    -64.32
+  2448461.0    7.16   23.85   23.66    0.0108   -120.67     -1.94    236.91    -57.90
+  2448462.0    7.24   23.86   23.54    0.0109    -99.10     -3.49    254.51    -50.72
+  2448463.0    6.95   23.87   23.67    0.0119    -89.71     -1.84    267.48    -57.20
+  2448464.0    6.53   23.87   23.76    0.0119    -88.81     -1.03    286.51    -70.04
+  2448465.0    5.82   23.90   23.78    0.0111    -76.73     -0.92    278.66    -65.26
+  2448466.0    4.82   23.99   23.55    0.0110    -80.15     -3.27    286.34    -68.23
+  2448467.0    4.61   24.06   23.58    0.0112    -97.27     -3.70    254.38    -61.00
+  2448468.0    4.67   24.15   23.66    0.0115    -65.26     -3.72    235.71    -51.15
+  2448469.0    5.23   24.28   23.93    0.0115    -55.44     -2.90    269.03    -53.95
+  2448470.0    4.34   24.39   23.68    0.0114    -79.41     -5.10    274.39    -61.37
+  2448471.0    4.73   24.35   23.54    0.0119   -100.29     -6.44    280.18    -68.75
+  2448472.0    6.17   24.31   23.72    0.0120   -106.31     -5.74    257.65    -59.57
+  2448473.0    8.07   24.25   24.08    0.0117    -99.31     -1.74    220.22    -48.17
+  2448474.0    9.60   24.13   24.10    0.0112    -96.06     -0.04    281.87    -57.43
+  2448475.0    8.05   24.23   24.33    0.0116      -NaN      -NaN    273.53      -NaN
+  2448476.0    7.72   24.27   24.25    0.0112    -84.54      0.08    274.13    -53.77
+  2448477.0    7.84   24.21   24.35    0.0117   -111.64      2.00    199.11    -29.60
+  2448478.0    8.62   24.13   24.12    0.0117   -114.89      0.12    184.79    -21.79
+  2448479.0    7.12   24.09   24.02    0.0120   -100.28     -0.37    200.41    -20.38
+  2448480.0    4.70   24.24   24.09    0.0111    -63.77     -1.04    270.03    -45.53
+  2448481.0    3.55   24.45   24.40    0.0115    -45.03     -0.02    278.28    -49.59
+  2448482.0    2.12   24.94   24.38    0.0118    -36.39     -2.11    285.51    -54.54
+  2448483.0    3.63   24.88   24.44    0.0117    -64.00     -2.40    282.30    -59.66
+  2448484.0    5.74   24.80   24.46    0.0119    -91.94     -3.07    274.65    -56.94
+  2448485.0    6.77   24.74   24.53    0.0116    -90.45     -2.04    251.72    -50.24
+  2448486.0    6.99   24.64   24.48    0.0116    -92.39     -1.57    250.10    -49.98
+  2448487.0    5.38   24.78   24.67    0.0119    -68.03     -0.76    284.67    -56.42
+  2448488.0    3.38   25.04   24.89    0.0114    -43.69     -0.74    281.81    -54.84
+  2448489.0    2.83   25.24   24.68    0.0116    -50.52     -2.96    277.80    -56.52
+  2448490.0    5.67   25.13   24.69    0.0118    -89.45     -3.78    276.23    -59.72
+  2448491.0    7.35   24.90   24.78    0.0122   -108.84     -1.19    274.14    -58.55
+  2448492.0    6.36   24.87   24.66    0.0122    -91.26     -2.00    256.27    -51.87
+  2448493.0    3.97   25.05   24.60    0.0123    -66.56     -2.76    273.32    -59.20
+  2448494.0    2.53   25.41   24.66    0.0123    -46.29     -3.51    266.10    -58.01
+  2448495.0    4.03   25.42   24.83    0.0124    -63.49     -3.75    267.35    -54.67
+  2448496.0    4.29   25.54   25.03    0.0122    -64.83     -3.67    258.55    -48.92
+  2448497.0    5.81   25.39   25.07    0.0119    -81.12     -2.80    228.30    -45.51
+  2448498.0    6.35   25.32   24.96    0.0119   -101.23     -3.57    263.08    -54.74
+  2448499.0    5.88   25.28   24.86    0.0118    -96.50     -3.85    255.35    -52.73
+  2448500.0    4.62   25.43   24.95    0.0120    -79.03     -3.62    260.39    -49.83
+  2448501.0    4.42   25.48   24.98    0.0118    -82.79     -3.67    261.11    -62.97
+  2448502.0    4.99   25.48   25.01    0.0121    -85.89     -3.72    245.82    -66.58
+  2448503.0    6.08   25.47   25.25    0.0125    -62.61     -1.79    239.43    -53.42
+  2448504.0    5.85   25.46   25.25    0.0125    -57.56     -1.79    245.81    -56.28
+  2448505.0    3.66   25.62   25.16    0.0122    -45.90     -2.60    243.71    -60.23
+  2448506.0    3.29   25.82   25.36    0.0124    -40.99     -2.46    248.67    -57.33
+  2448507.0    4.92   25.90   25.95    0.0120      -NaN      -NaN    244.31      -NaN
+  2448508.0    5.06   25.88   25.77    0.0125    -32.01     -0.64    246.00    -61.75
+  2448509.0    3.80   26.17   25.97    0.0120      -NaN      -NaN    244.38      -NaN
+  2448510.0    4.63   26.20   25.89    0.0123    -79.48     -2.13    262.43    -58.09
+  2448511.0    2.90   26.46   25.69    0.0127    -76.86     -4.27    262.10    -69.84
+  2448512.0    2.56   26.43   25.56    0.0125    -67.16     -4.29    258.09    -69.01
+  2448513.0    3.77   26.25   25.45    0.0125    -83.26     -5.01    257.69    -72.54
+  2448514.0    4.92   26.21   25.71    0.0123   -103.65     -3.71    269.67    -77.03
+  2448515.0    5.11   26.31   25.88    0.0125    -88.22     -3.41    255.85    -66.42
+  2448516.0    4.91   26.36   25.91    0.0129    -77.19     -3.35    251.17    -61.41
+  2448517.0    4.50   26.44   25.74    0.0126    -90.51     -5.19    243.20    -64.23
+  2448518.0    6.62   26.34   26.00    0.0123   -101.29     -3.22    233.82    -53.34
+  2448519.0    6.84   26.28   26.06    0.0122   -104.10     -2.19    235.10    -55.75
+  2448520.0    6.07   26.19   25.89    0.0119   -115.24     -2.73    256.32    -65.89
+  2448521.0    4.64   26.25   25.64    0.0117    -83.09     -4.35    215.42    -60.57
+  2448522.0    5.69   26.25   25.32    0.0119   -118.98     -8.95    227.30    -56.87
+  2448523.0    3.91   26.28   24.07    0.0121    -99.87    -16.71    189.27    -56.23
+  2448524.0    4.89   26.29   25.51    0.0109   -116.18     -6.43    240.61    -62.31
+  2448525.0    6.37   26.24   25.53    0.0106   -131.81     -7.24    221.44    -55.80
+  2448526.0    7.75   26.19   25.51    0.0113   -154.28     -8.42    235.90    -64.41
+  2448527.0    7.68   26.12   25.43    0.0114   -171.85     -8.30    240.63    -70.48
+  2448528.0    8.27   26.02   25.16    0.0116   -193.26    -11.61    201.86    -62.94
+  2448529.0    7.65   25.92   24.96    0.0115   -185.37    -11.83    235.78    -72.30
+  2448530.0    5.07   25.93   24.76    0.0125   -127.72    -10.27    242.73    -69.86
+  2448531.0    6.28   25.85   24.80    0.0129   -136.36    -10.99    221.71    -59.97
+  2448532.0    5.93   25.80   24.92    0.0113   -139.11     -8.56    195.61    -57.99
+  2448533.0    4.85   25.74   24.36    0.0108   -114.44    -11.76    153.61    -58.11
+  2448534.0    5.81   25.69   24.99    0.0115   -127.10     -6.36    224.48    -58.21
+  2448535.0    4.61   25.72   24.90    0.0118   -107.50     -6.11    215.53    -57.16
+  2448536.0    5.87   25.69   24.98    0.0108   -136.20     -6.81    218.05    -62.42
+  2448537.0    6.25   25.65   24.68    0.0117   -141.58    -10.04    181.96    -56.26
+  2448538.0    8.20   25.57   24.43    0.0112   -188.61    -15.46    170.27    -56.27
+  2448539.0    7.67   25.49   24.06    0.0114   -185.54    -18.24    216.54    -60.17
+  2448540.0    5.39   25.45   24.00    0.0114   -153.03    -13.81    226.49    -70.66
+  2448541.0    3.65   25.44   23.30    0.0116    -99.40    -14.95    207.92    -62.06
+  2448542.0    2.56   25.44   23.48    0.0124    -78.48    -10.75    153.53    -62.33
+  2448543.0    5.51   25.34   24.25    0.0122   -121.17     -8.98    202.46    -61.51
+  2448544.0    6.60   25.20   24.34    0.0118    -98.28    -10.03    113.58    -47.41
+  2448545.0    7.54   25.16   25.10    0.0111      -NaN      -NaN    175.17      -NaN
+  2448546.0    5.94   25.17   24.68    0.0113    -93.80     -4.45    170.32    -49.60
+  2448547.0    4.17   25.23   24.29    0.0111    -84.40     -6.91    177.59    -53.60
+  2448548.0    6.05   25.21   24.12    0.0112    -81.93    -11.16    129.86    -48.65
+  2448549.0    7.59   25.25   24.53    0.0117    -86.50     -8.68    169.22    -51.87
+  2448550.0    6.98   25.26   25.09    0.0117    -65.65     -1.87    186.01    -47.79
+  2448551.0    5.18   25.30   24.65    0.0118    -52.49     -5.50    147.15    -48.66
+  2448552.0    3.88   25.31   24.52    0.0115    -47.71     -5.20    168.49    -51.85
+  2448553.0    2.10   25.35   24.33    0.0120    -42.68     -4.12    217.39    -56.03
+  2448554.0    2.63   25.36   23.96    0.0120    -74.61     -7.34    195.67    -58.68
+  2448555.0    1.65   25.42   23.59    0.0115    -67.07     -7.68    199.46    -68.67
+  2448556.0    2.03   25.26   23.62    0.0119    -73.35     -7.84    138.52    -58.74
+  2448557.0    5.26   25.13   23.20    0.0125   -114.70    -18.41    123.92    -57.52
+  2448558.0    7.48   25.00   23.73    0.0111   -121.19    -14.33     87.34    -53.31
+  2448559.0    6.67   24.91   24.05    0.0112      -NaN      -NaN     73.07      -NaN
+  2448560.0    5.39   24.93   24.91    0.0122      -NaN      -NaN     75.28      -NaN
+  2448561.0    5.01   24.96   24.95    0.0123      -NaN      -NaN    142.64      -NaN
+  2448562.0    5.87   24.99   24.66    0.0117    -63.42     -2.30    168.42    -50.86
+  2448563.0    3.88   24.85   22.36    0.0120    -95.67    -18.73     77.17    -58.59
+  2448564.0    4.01   25.02   23.11    0.0121    -97.78    -17.60    167.82    -60.53
+  2448565.0    3.39   24.94   23.99    0.0121    -91.92     -5.88    189.03    -62.28
+  2448566.0    4.11   24.94   23.66    0.0130   -123.26     -9.31    193.59    -73.71
+  2448567.0    3.23   24.95   23.83    0.0123    -91.28     -6.78    131.03    -62.68
+  2448568.0    5.54   24.82   23.71    0.0115   -109.70    -10.36     40.37    -51.69
+  2448569.0    5.85   24.80   24.60    0.0121    -67.22     -1.79     79.41    -44.40
+  2448570.0    5.70   24.80   23.95    0.0116    -72.24     -6.39     58.70    -51.35
+  2448571.0    6.11   24.83   24.32    0.0118   -101.63     -5.32    115.91    -50.39
+  2448572.0    7.48   24.83   24.19    0.0116   -127.14     -7.54    144.31    -53.70
+  2448573.0    8.28   24.78   23.67    0.0120   -191.59    -15.19    142.34    -58.31
+  2448574.0    9.14   24.70   23.28    0.0120   -243.48    -21.40    159.81    -67.00
+  2448575.0   10.90   24.57   24.07    0.0118   -193.65     -8.54    152.79    -57.77
+  2448576.0   10.53   24.48   23.84    0.0118   -182.07    -10.71    155.69    -65.15
+  2448577.0    8.43   24.46   23.74    0.0123   -161.63     -9.83    161.13    -61.36
+  2448578.0    7.54   24.38   23.50    0.0122   -155.45    -10.72    178.79    -64.92
+  2448579.0    7.45   24.23   23.37    0.0126   -138.95    -10.33    166.50    -61.43
+  2448580.0    6.71   24.14   23.06    0.0130   -115.55    -11.45    159.65    -58.90
+  2448581.0    7.00   24.12   22.99    0.0128   -146.29    -13.07    170.90    -63.18
+  2448582.0    6.34   24.10   22.95    0.0127   -128.62    -12.03    149.14    -60.24
+  2448583.0    6.73   23.98   22.61    0.0126   -128.64    -15.22    133.53    -58.17
+  2448584.0    3.45   24.00   23.03    0.0123    -83.36     -6.03    110.25    -56.08
+  2448585.0    2.59   24.05   22.63    0.0124    -63.34     -7.44    162.55    -69.35
+  2448586.0    6.28   24.00   22.88    0.0127   -121.25    -11.76    143.97    -62.85
+  2448587.0    6.89   23.91   22.42    0.0122   -190.72    -17.35    170.40    -74.90
+  2448588.0    4.91   23.80   22.00    0.0125   -143.28    -15.82    141.22    -62.70
+  2448589.0    5.68   23.77   21.53    0.0127   -158.90    -22.12    147.10    -65.22
+  2448590.0    4.65   23.72   21.51    0.0126   -141.27    -19.35    156.89    -71.36
+  2448591.0    1.13   23.97   22.07    0.0132    -67.19     -6.85    177.16    -81.37
+  2448592.0    4.11   23.74   22.40    0.0132   -133.54     -9.37    157.13    -71.05
+  2448593.0    7.15   23.58   21.53    0.0130   -158.23    -24.71     53.64    -61.01
+  2448594.0    9.05   23.58   21.40    0.0127   -239.61    -32.71    132.99    -71.92
+  2448595.0   11.06   23.29   22.27    0.0125   -192.69    -18.45     91.90    -54.49
+  2448596.0   10.64   23.15   20.90    0.0127   -268.35    -40.37    125.83    -63.87
+  2448597.0    8.99   22.99   20.60    0.0129   -227.66    -36.50    143.31    -68.30
+  2448598.0    7.82   22.98   21.60    0.0126   -189.96    -17.98    171.92    -73.62
+  2448599.0    6.49   23.06   21.67    0.0129   -156.05    -15.21    137.76    -57.72
+  2448600.0    4.38   23.15   21.39    0.0129   -130.43    -13.93    149.84    -74.31
+  2448601.0    5.03   23.15   21.09    0.0129   -120.50    -18.78    160.97    -63.20
+  2448602.0    3.92   23.13   21.47    0.0127   -111.54    -12.26    150.13    -68.91
+  2448603.0    3.08   23.07   21.38    0.0126    -83.98    -10.55    130.04    -70.98
+  2448604.0    2.66   23.07   21.55    0.0127    -73.71     -7.60    153.86    -77.83
+  2448605.0    6.19   22.81   22.17    0.0124    -74.61     -5.77    103.31    -57.97
+  2448606.0    6.83   22.75   22.68    0.0126    -49.68     -0.26     85.45    -52.80
+  2448607.0    8.06   22.81   22.24    0.0127    -69.19     -6.51     26.88    -49.40
+  2448608.0   10.01   22.99   22.38    0.0123   -143.47     -9.79    121.48    -51.83
+  2448609.0    9.49   23.00   21.91    0.0124   -206.58    -16.83    152.80    -67.00
+  2448610.0    9.74   22.95   21.97    0.0124   -211.52    -15.25    147.50    -66.53
+  2448611.0    9.13   22.86   21.49    0.0125   -210.29    -20.38    131.79    -66.41
+  2448612.0    6.66   22.78   20.92    0.0130   -188.65    -21.18    146.62    -79.69
+  2448613.0    3.81   22.73   20.87    0.0123   -117.28    -13.74    138.25    -75.98
+  2448614.0    5.71   22.71   21.86    0.0124   -125.73     -7.86    148.44    -67.82
+  2448615.0    4.57   22.59   21.97    0.0123    -81.10     -4.56    131.54    -58.32
+  2448616.0    5.50   22.61   21.57    0.0128    -98.83     -9.55    137.67    -62.90
+  2448617.0    6.89   22.64   21.76    0.0123   -106.59     -9.92    143.77    -60.37
+  2448618.0    6.41   22.54   21.30    0.0123   -123.89    -13.30    151.37    -72.04
+  2448619.0    6.69   22.38   21.15    0.0123   -135.39    -13.66    155.64    -66.47
+  2448620.0    7.43   22.33   21.24    0.0126   -138.33    -13.28    144.50    -64.84
+  2448621.0    7.88   22.32   21.53    0.0124   -168.44    -10.19    152.00    -69.75
+  2448622.0    9.19   22.25   21.36    0.0125   -192.63    -13.28    124.73    -63.06
Index: /trunk/src/paper01/fig14/met_data_subduct_cs_92.txt
===================================================================
--- /trunk/src/paper01/fig14/met_data_subduct_cs_92.txt	(revision 41)
+++ /trunk/src/paper01/fig14/met_data_subduct_cs_92.txt	(revision 41)
@@ -0,0 +1,367 @@
+time  ws(m/s)   sst(C)  at(C)  q2m(g/kg)   lhf(w/m2)   shf(w/m2)   swr(w/m2)   lwr(s/m2)
+  2448623.0    8.66   22.17   21.27    0.0114   -197.65    -12.76    133.84    -64.66
+  2448624.0    6.10   22.16   21.23    0.0113   -146.59     -9.67    146.18    -69.13
+  2448625.0    5.06   22.18   20.92    0.0113   -109.79    -11.01    123.58    -62.90
+  2448626.0    5.81   22.18   20.96    0.0110   -110.64    -11.61    146.80    -61.09
+  2448627.0    4.23   22.10   20.48    0.0112   -113.58    -12.23    155.29    -66.44
+  2448628.0    6.21   22.07   20.35    0.0109   -167.83    -18.82    157.50    -74.99
+  2448629.0    6.52   22.02   19.73    0.0108   -168.42    -25.96    157.64    -76.63
+  2448630.0    6.17   21.89   20.07    0.0107   -146.63    -19.59    166.62    -77.00
+  2448631.0    3.77   21.94   20.03    0.0107   -110.18    -13.61    111.72    -64.29
+  2448632.0    1.86   22.03   20.37    0.0106    -79.45     -7.20    115.45    -61.35
+  2448633.0    1.54   22.12   20.34    0.0109    -50.89     -7.14    111.93    -57.39
+  2448634.0    4.68   22.01   20.18    0.0107   -106.08    -16.18    171.01    -70.86
+  2448635.0    3.49   22.10   20.78    0.0104    -74.40     -8.83    163.06    -72.10
+  2448636.0    6.25   21.96   21.06    0.0104   -120.85     -9.25    123.33    -64.54
+  2448637.0    6.44   21.88   20.75    0.0111    -96.58    -12.56    114.32    -61.10
+  2448638.0    5.07   21.87   20.54    0.0118   -113.08    -11.54    158.77    -68.51
+  2448639.0    4.34   21.85   19.99    0.0108   -130.14    -15.00    171.35    -86.36
+  2448640.0    5.46   21.78   19.87    0.0108   -131.19    -18.32    155.99    -79.73
+  2448641.0    5.94   21.79   20.10    0.0109   -125.19    -17.32    173.40    -77.05
+  2448642.0    6.81   21.76   20.63    0.0103   -124.57    -12.81    161.08    -75.37
+  2448643.0    6.43   21.73   20.45    0.0104   -127.28    -13.83    161.23    -69.10
+  2448644.0    5.18   21.68   20.26    0.0106   -116.78    -12.86    166.20    -73.88
+  2448645.0    3.89   21.80   20.38    0.0105    -87.47    -10.21    161.23    -69.98
+  2448646.0    4.93   21.80   20.34    0.0110    -88.68    -12.30    166.93    -71.60
+  2448647.0    7.77   21.71   18.82    0.0108   -135.58    -41.54     79.23    -64.05
+  2448648.0    7.15   21.64   19.88    0.0098   -122.45    -21.64    136.34    -61.51
+  2448649.0    4.39   21.71   20.30    0.0101    -84.77    -10.99    182.15    -70.11
+  2448650.0    4.03   21.77   20.14    0.0105    -67.28    -11.26    146.79    -60.63
+  2448651.0    4.42   21.82   20.44    0.0102    -86.87    -10.78    170.67    -73.59
+  2448652.0    3.55   21.78   20.51    0.0104    -65.38     -7.64    126.80    -62.35
+  2448653.0    7.17   21.63   19.77    0.0111   -146.45    -22.43    186.02    -72.52
+  2448654.0    4.74   21.65   19.96    0.0104    -95.19    -14.46    169.33    -61.81
+  2448655.0    4.10   21.67   20.29    0.0107    -83.32    -10.12    174.68    -63.59
+  2448656.0    5.49   21.62   20.01    0.0103   -126.04    -15.48    201.94    -76.20
+  2448657.0    5.89   21.53   20.15    0.0106   -120.90    -13.70    159.79    -65.46
+  2448658.0    4.95   21.22   20.33    0.0106   -109.49     -7.54    171.24    -67.54
+  2448659.0    3.46   21.38   20.39    0.0105    -79.85     -6.35    148.10    -68.83
+  2448660.0    3.81   21.55   20.43    0.0110    -80.86     -7.79    197.58    -70.36
+  2448661.0    6.04   21.45   20.41    0.0106   -106.36    -10.35    187.73    -66.13
+  2448662.0    6.78   21.17   20.13    0.0110   -130.96    -11.73    168.07    -65.64
+  2448663.0    7.28   21.17   20.00    0.0105   -129.97    -14.13    151.58    -63.05
+  2448664.0   *****   *****   *****    0.0110       NaN       NaN   *******       NaN
+  2448665.0   *****   *****   *****    0.0107       NaN       NaN   *******       NaN
+  2448666.0    6.18   21.06   20.40    0.0109    -74.52     -6.91    198.27    -62.28
+  2448667.0    5.16   21.07   20.38    0.0114    -59.66     -5.97    197.09    -67.16
+  2448668.0    4.89   21.10   20.01    0.0113    -48.82     -9.23    188.99    -48.74
+  2448669.0    7.31   21.01   19.75    0.0111   -145.59    -15.73    218.16    -75.31
+  2448670.0    6.33   20.84   19.32    0.0110   -152.27    -16.83    160.67    -51.34
+  2448671.0    6.07   20.79   19.63    0.0106    -91.65    -11.92    199.29    -57.35
+  2448672.0    7.53   20.78   19.97    0.0104   -127.77     -9.96    226.53    -69.53
+  2448673.0    8.01   20.77   19.77    0.0111   -141.25    -13.13    196.58    -59.82
+  2448674.0    8.96   20.75   19.68    0.0112   -161.66    -15.94    173.79    -62.01
+  2448675.0    9.61   20.73   19.57    0.0111   -185.34    -18.59    212.97    -68.63
+  2448676.0    7.26   20.70   19.29    0.0106   -151.83    -17.37    207.22    -71.23
+  2448677.0    6.96   20.67   19.38    0.0108   -169.46    -15.37    206.13    -53.94
+  2448678.0    5.89   20.64   19.46    0.0106   -144.66    -11.81    157.56    -40.72
+  2448679.0    4.89   20.64   19.83    0.0107   -119.82     -6.79    206.10    -43.57
+  2448680.0    5.86   20.59   19.76    0.0107   -131.56     -8.19    243.89    -63.73
+  2448681.0    7.39   20.54   19.73    0.0109   -121.12    -10.03    224.31    -53.58
+  2448682.0    8.66   20.51   19.37    0.0108   -168.73    -16.27    196.35    -42.39
+  2448683.0    8.84   20.49   19.47    0.0106   -145.27    -14.81    166.31    -45.48
+  2448684.0    7.33   20.47   20.05    0.0107      -NaN      -NaN    151.72      -NaN
+  2448685.0    6.97   20.50   19.86    0.0111    -80.49     -7.17    225.29    -42.71
+  2448686.0    6.95   20.47   19.51    0.0108   -129.17    -11.03    166.81    -30.38
+  2448687.0    7.28   20.39   20.09    0.0107   -105.44     -3.40    142.63    -34.54
+  2448688.0    7.33   20.40   20.09    0.0111    -98.39     -3.47    159.35    -39.10
+  2448689.0    6.29   20.42   20.18    0.0109    -80.00     -2.17    214.05    -50.04
+  2448690.0    3.58   20.62   20.27    0.0103      -NaN      -NaN    208.73      -NaN
+  2448691.0    2.98   20.65   20.08    0.0108    -38.89     -3.01    221.89    -60.42
+  2448692.0    4.97   20.61   20.60    0.0110      -NaN      -NaN    199.25      -NaN
+  2448693.0    6.30   20.57   20.70    0.0109      -NaN      -NaN    206.69      -NaN
+  2448694.0    6.58   20.57   20.82    0.0107      -NaN      -NaN    201.55      -NaN
+  2448695.0    9.57   20.52   20.61    0.0105      -NaN      -NaN    164.38      -NaN
+  2448696.0    9.76   20.46   19.93    0.0110    -74.16     -8.97     63.90    -21.46
+  2448697.0    7.51   20.48   20.43    0.0109      -NaN      -NaN    237.79      -NaN
+  2448698.0    7.43   20.49   20.16    0.0105    -83.93     -3.73    235.41    -62.58
+  2448699.0    7.01   20.49   20.03    0.0114   -108.40     -5.02    186.93    -36.23
+  2448700.0    6.91   20.48   19.85    0.0111   -117.24     -6.98    183.09    -37.26
+  2448701.0    7.36   20.46   19.95    0.0109   -112.44     -5.98    162.88    -31.83
+  2448702.0    8.27   20.50   20.03    0.0108   -128.20     -6.20    175.96    -35.72
+  2448703.0    7.56   20.55   20.03    0.0111    -81.46     -6.21    191.27    -47.56
+  2448704.0    7.98   20.53   20.39    0.0113      -NaN      -NaN    218.92      -NaN
+  2448705.0    7.31   20.52   20.14    0.0113    -77.31     -4.42    206.61    -43.78
+  2448706.0    8.04   20.63   19.94    0.0110   -102.97     -8.96    249.37    -60.84
+  2448707.0    7.78   20.66   20.03    0.0112   -135.64     -7.91    195.43    -45.78
+  2448708.0    7.76   20.64   19.44    0.0113   -108.34    -15.46    226.41    -47.37
+  2448709.0    7.81   20.64   19.80    0.0108   -120.16    -10.68    263.13    -56.88
+  2448710.0    7.28   20.66   19.50    0.0110   -110.50    -14.01    256.35    -57.73
+  2448711.0    7.97   20.63   19.24    0.0109   -124.22    -18.26    241.38    -58.65
+  2448712.0    7.56   20.62   19.54    0.0109   -134.53    -13.62    246.14    -66.69
+  2448713.0    6.00   20.61   19.03    0.0108   -114.49    -15.84    186.55    -62.65
+  2448714.0    4.47   20.60   18.92    0.0110   -102.27    -13.72    149.39    -60.76
+  2448715.0    3.57   20.80   19.33    0.0105    -99.81     -9.94    269.49    -75.12
+  2448716.0    4.38   20.89   19.97    0.0107    -69.18     -7.20    272.74    -72.93
+  2448717.0    6.61   20.66   20.05    0.0103    -82.76     -6.35    271.27    -62.72
+  2448718.0    8.01   20.61   20.07    0.0105   -108.10     -7.00    289.38    -67.66
+  2448719.0    7.24   20.67   20.10    0.0106    -81.45     -6.71    264.76    -50.05
+  2448720.0    7.01   20.74   20.12    0.0102    -99.67     -7.22    258.87    -50.25
+  2448721.0    5.78   20.77   20.11    0.0108    -79.29     -6.21    172.65    -35.78
+  2448722.0    6.48   20.77   20.25    0.0104    -91.24     -5.35    244.10    -55.79
+  2448723.0    7.13   20.75   20.04    0.0103   -104.44     -8.17    237.97    -37.32
+  2448724.0    7.16   20.75   20.06    0.0108   -105.24     -7.99    200.68    -31.79
+  2448725.0    7.33   20.74   20.16    0.0111    -94.86     -7.16    232.25    -56.70
+  2448726.0    8.25   20.72   20.22    0.0105    -87.06     -6.61    203.50    -42.38
+  2448727.0    8.44   20.69   20.19    0.0108    -96.94     -6.60    155.69    -31.25
+  2448728.0    8.55   20.67   20.16    0.0112    -95.77     -6.94    214.80    -39.16
+  2448729.0    7.23   20.65   20.10    0.0113    -62.82     -6.51    212.60    -32.11
+  2448730.0    5.93   20.64   20.04    0.0108    -73.51     -5.83    258.01    -47.49
+  2448731.0    3.97   20.75   19.97    0.0106    -68.92     -5.48    176.44    -36.65
+  2448732.0    4.93   20.74   19.87    0.0103    -89.43     -7.36    246.43    -59.24
+  2448733.0    5.36   20.70   19.86    0.0113   -106.26     -7.69    251.26    -48.13
+  2448734.0    5.80   20.70   20.20    0.0111    -85.81     -4.65    236.59    -48.73
+  2448735.0    5.89   20.97   20.27    0.0110    -52.58     -6.68    270.88    -59.20
+  2448736.0    5.63   21.06   20.36    0.0107    -51.31     -6.61    276.72    -74.40
+  2448737.0    5.96   21.12   20.29    0.0112    -69.56     -8.31    276.52    -69.02
+  2448738.0    6.60   21.21   20.61    0.0109    -78.47     -6.25    268.13    -58.48
+  2448739.0    7.65   21.24   20.45    0.0112   -104.62     -9.76    262.37    -55.75
+  2448740.0    7.45   21.25   20.58    0.0108   -100.89     -8.09    229.28    -41.36
+  2448741.0    8.11   21.16   20.51    0.0107   -111.47     -8.58    229.22    -40.10
+  2448742.0    7.94   21.16   20.57    0.0107   -110.08     -7.51    230.16    -37.37
+  2448743.0    7.57   21.13   20.46    0.0110    -87.59     -8.12    142.34    -25.15
+  2448744.0    8.03   21.10   20.24    0.0111    -99.33    -11.03    183.35    -30.26
+  2448745.0    7.75   21.12   20.43    0.0107    -88.60     -8.66    248.51    -48.47
+  2448746.0    8.25   21.13   20.53    0.0103    -71.64     -7.72    205.23    -29.91
+  2448747.0    8.91   21.08   20.54    0.0103    -79.01     -7.69    257.12    -28.68
+  2448748.0    8.20   21.11   20.37    0.0107    -86.28     -9.73    202.05    -44.60
+  2448749.0    6.53   21.26   20.45    0.0108    -84.55     -8.80    290.90    -50.13
+  2448750.0    6.89   21.43   20.50    0.0104    -90.76    -10.39    291.18    -47.58
+  2448751.0    6.70   21.45   20.35    0.0104    -88.83    -12.15    293.76    -59.70
+  2448752.0    5.45   21.29   20.27    0.0106    -81.72     -9.57    189.38    -52.16
+  2448753.0    5.29   21.18   20.32    0.0110    -66.94     -7.49    251.48    -44.81
+  2448754.0    5.09   21.33   20.65    0.0108    -57.06     -5.58    234.38    -35.92
+  2448755.0    2.34   21.74   21.22    0.0110       NaN       NaN    273.22       NaN
+  2448756.0    2.44   21.94   21.34    0.0110       NaN       NaN    277.10       NaN
+  2448757.0    5.14   22.02   21.17    0.0109    -62.79     -7.34    301.45    -57.90
+  2448758.0    7.35   21.65   20.16    0.0106   -127.74    -18.21    269.29    -51.05
+  2448759.0    5.39   21.69   20.47    0.0112    -86.29    -11.55    313.45    -67.25
+  2448760.0    6.70   21.58   20.31    0.0110    -95.17    -14.01    230.25    -51.27
+  2448761.0    7.09   21.58   20.37    0.0109   -130.55    -14.30    281.44    -61.60
+  2448762.0    6.97   21.59   20.43    0.0107   -123.13    -13.32    312.65    -61.13
+  2448763.0    5.72   21.67   20.06    0.0108   -112.73    -15.45    251.88    -50.38
+  2448764.0    4.22   21.62   19.92    0.0107   -102.77    -13.33    226.55    -59.86
+  2448765.0    2.94   21.82   20.30    0.0106    -70.94     -8.55    310.95    -60.47
+  2448766.0    3.62   21.97   20.86    0.0105    -74.51     -7.61    302.80    -76.04
+  2448767.0    2.54   22.05   21.16    0.0107       NaN       NaN    244.19       NaN
+  2448768.0    3.22   22.01   21.12    0.0109    -50.14     -5.05    316.38    -69.25
+  2448769.0    5.18   21.95   21.32    0.0110    -60.05     -5.12    263.12    -53.56
+  2448770.0    4.70   21.99   21.20    0.0116    -62.94     -6.24    301.92    -65.03
+  2448771.0    3.24   22.18   21.37    0.0109       NaN       NaN    272.43       NaN
+  2448772.0    2.09   22.41   21.58    0.0107      -NaN      -NaN    283.34       NaN
+  2448773.0    1.46   22.78   22.26    0.0111       NaN       NaN    320.44       NaN
+  2448774.0    1.43   23.04   22.33    0.0101       NaN       NaN    314.30       NaN
+  2448775.0    4.38   22.93   22.14    0.0106       NaN       NaN    309.58       NaN
+  2448776.0    7.03   22.52   21.67    0.0106       NaN       NaN    247.10       NaN
+  2448777.0    8.49   22.26   21.54    0.0110       NaN       NaN    291.45       NaN
+  2448778.0    9.05   22.14   21.34    0.0108       NaN       NaN    216.83       NaN
+  2448779.0    8.54   22.07   21.22    0.0104       NaN       NaN    222.76       NaN
+  2448780.0    7.55   22.11   21.20    0.0104       NaN       NaN    305.99       NaN
+  2448781.0    6.14   22.16   21.17    0.0107       NaN       NaN    297.88       NaN
+  2448782.0    5.89   22.15   21.35    0.0104       NaN       NaN    277.90       NaN
+  2448783.0    6.34   22.14   21.71    0.0106       NaN       NaN    276.12       NaN
+  2448784.0    7.38   22.08   21.59    0.0109       NaN       NaN    273.12       NaN
+  2448785.0    7.58   22.08   21.65    0.0104       NaN       NaN    253.25       NaN
+  2448786.0    7.70   22.01   21.71    0.0102       NaN       NaN    243.19       NaN
+  2448787.0    6.73   21.98   21.61    0.0103       NaN       NaN    192.65       NaN
+  2448788.0    5.23   22.06   21.54    0.0103       NaN       NaN    217.00       NaN
+  2448789.0    3.72   22.35   21.62    0.0106      -NaN      -NaN    301.37       NaN
+  2448790.0    3.92   22.52   21.78    0.0109       NaN       NaN    293.76       NaN
+  2448791.0    3.39   22.84   21.94    0.0107       NaN       NaN    288.56       NaN
+  2448792.0    3.52   23.03   21.83    0.0108       NaN       NaN    310.93       NaN
+  2448793.0    4.52   23.04   22.03    0.0108       NaN       NaN    288.94       NaN
+  2448794.0    6.06   22.96   22.20    0.0106       NaN       NaN    294.60       NaN
+  2448795.0    5.28   22.96   22.19    0.0100       NaN       NaN    314.11       NaN
+  2448796.0    3.94   23.09   22.22    0.0105       NaN       NaN    308.86       NaN
+  2448797.0    1.59   23.40   22.76    0.0102       NaN       NaN    221.11       NaN
+  2448798.0    2.55   23.83   23.27    0.0101       NaN       NaN    297.98       NaN
+  2448799.0    2.10   24.11   23.26    0.0104       NaN       NaN    316.72       NaN
+  2448800.0    3.96   23.93   23.78    0.0104       NaN       NaN    273.70       NaN
+  2448801.0    2.82   24.39   24.02    0.0100       NaN       NaN    314.48       NaN
+  2448802.0    1.67   24.68   23.94    0.0102       NaN       NaN    299.41       NaN
+  2448803.0    2.59   24.94   24.14    0.0099       NaN       NaN    306.12       NaN
+  2448804.0    3.67   25.11   24.03    0.0102       NaN       NaN    313.91       NaN
+  2448805.0    4.09   25.12   24.11    0.0108       NaN       NaN    309.64       NaN
+  2448806.0    4.04   24.85   24.38    0.0104       NaN       NaN    299.91       NaN
+  2448807.0    5.71   24.71   24.46    0.0101       NaN       NaN    313.55       NaN
+  2448808.0    6.35   24.80   24.29    0.0103       NaN       NaN    278.29       NaN
+  2448809.0    5.93   24.72   24.20    0.0102       NaN       NaN    261.17       NaN
+  2448810.0    5.78   24.63   24.13    0.0099       NaN       NaN    315.15       NaN
+  2448811.0    6.41   24.61   24.09    0.0101       NaN       NaN    240.73       NaN
+  2448812.0    6.75   24.43   23.82    0.0100       NaN       NaN    217.02       NaN
+  2448813.0    6.45   24.34   23.60    0.0099       NaN       NaN    263.96       NaN
+  2448814.0    6.40   24.32   23.70    0.0101       NaN       NaN    259.32       NaN
+  2448815.0    6.65   24.32   23.69    0.0099       NaN       NaN    300.56       NaN
+  2448816.0    6.49   24.28   23.47    0.0100       NaN       NaN    298.63       NaN
+  2448817.0    6.50   24.28   23.43    0.0102       NaN       NaN    309.06       NaN
+  2448818.0    6.97   24.27   23.25    0.0102       NaN       NaN    306.02       NaN
+  2448819.0    7.37   24.20   23.64    0.0101       NaN       NaN    195.00       NaN
+  2448820.0    7.22   24.11   23.70    0.0096       NaN       NaN    259.81       NaN
+  2448821.0    6.92   24.10   24.01    0.0103       NaN       NaN    205.20       NaN
+  2448822.0    4.17   24.16   24.25    0.0107       NaN       NaN     95.03       NaN
+  2448823.0    5.82   24.22   24.29    0.0102       NaN       NaN    263.11       NaN
+  2448824.0    6.12   24.27   23.85    0.0105       NaN       NaN    262.46       NaN
+  2448825.0    6.06   24.32   23.87    0.0102       NaN       NaN    276.58       NaN
+  2448826.0    6.95   24.34   23.93    0.0103       NaN       NaN    294.16       NaN
+  2448827.0    7.81   24.29   23.86    0.0106       NaN       NaN    240.08       NaN
+  2448828.0    8.37   24.24   23.79    0.0105       NaN       NaN    210.97       NaN
+  2448829.0    8.54   24.19   24.10    0.0104       NaN       NaN    236.08       NaN
+  2448830.0    6.25   24.25   23.92    0.0108       NaN       NaN    290.86       NaN
+  2448831.0    5.74   24.31   23.84    0.0103       NaN       NaN    300.66       NaN
+  2448832.0    7.66   24.24   23.80    0.0108       NaN       NaN    277.07       NaN
+  2448833.0    7.24   24.18   23.76    0.0110       NaN       NaN    137.18       NaN
+  2448834.0    8.05   24.14   24.04    0.0109       NaN       NaN    222.10       NaN
+  2448835.0    8.73   24.10   23.90    0.0110       NaN       NaN    205.98       NaN
+  2448836.0    7.35   24.11   23.80    0.0107       NaN       NaN    258.57       NaN
+  2448837.0    8.53   24.16   23.89    0.0113       NaN       NaN    295.23       NaN
+  2448838.0    6.40   24.23   23.88    0.0109       NaN       NaN    290.37       NaN
+  2448839.0    5.42   24.26   23.52    0.0109       NaN       NaN    214.53       NaN
+  2448840.0    5.64   24.32   24.02    0.0111       NaN       NaN    268.87       NaN
+  2448841.0    5.91   24.34   23.86    0.0110       NaN       NaN    237.46       NaN
+  2448842.0    7.87   24.32   24.11    0.0110       NaN       NaN    273.07       NaN
+  2448843.0    9.21   24.26   24.13    0.0112       NaN       NaN    171.13       NaN
+  2448844.0    8.82   24.21   23.98    0.0105       NaN       NaN    178.22       NaN
+  2448845.0    7.59   24.22   23.84    0.0108       NaN       NaN    235.21       NaN
+  2448846.0    7.64   24.21   23.63    0.0114       NaN       NaN    234.17       NaN
+  2448847.0    8.09   24.20   23.99    0.0110       NaN       NaN    251.49       NaN
+  2448848.0    7.28   24.22   24.06    0.0109       NaN       NaN    253.43       NaN
+  2448849.0    7.11   24.22   24.15    0.0111       NaN       NaN    237.63       NaN
+  2448850.0    7.58   24.25   24.15    0.0110       NaN       NaN    242.75       NaN
+  2448851.0    7.08   24.26   24.03    0.0113       NaN       NaN    272.37       NaN
+  2448852.0    4.96   24.41   24.00    0.0112       NaN       NaN    290.33       NaN
+  2448853.0    3.62   24.62   24.12    0.0113       NaN       NaN    283.88       NaN
+  2448854.0    1.96   24.99   24.16    0.0113       NaN       NaN    303.47       NaN
+  2448855.0    1.25   25.22   24.29    0.0114       NaN       NaN    263.54       NaN
+  2448856.0    3.54   24.92   24.21    0.0116       NaN       NaN    280.42       NaN
+  2448857.0    4.60   24.90   24.49    0.0116       NaN       NaN    290.25       NaN
+  2448858.0    2.38   25.58   24.85    0.0117       NaN       NaN    285.57       NaN
+  2448859.0    4.09   25.39   24.81    0.0115       NaN       NaN    293.32       NaN
+  2448860.0    5.05   25.14   24.60    0.0117       NaN       NaN    217.09       NaN
+  2448861.0    7.95   24.92   24.61    0.0120       NaN       NaN    208.45       NaN
+  2448862.0    7.78   24.84   24.82    0.0120       NaN       NaN    236.96       NaN
+  2448863.0    7.79   24.88   24.70    0.0121       NaN       NaN    244.61       NaN
+  2448864.0    9.19   24.91   24.80    0.0120       NaN       NaN    216.35       NaN
+  2448865.0    8.46   24.90   24.39    0.0118       NaN       NaN    261.45       NaN
+  2448866.0    6.94   24.89   24.12    0.0120       NaN       NaN    261.73       NaN
+  2448867.0    6.16   24.85   24.02    0.0116       NaN       NaN    239.29       NaN
+  2448868.0    5.99   24.85   24.26    0.0117       NaN       NaN    231.76       NaN
+  2448869.0   10.44   24.76   24.68    0.0116       NaN       NaN    227.46       NaN
+  2448870.0    9.66   24.70   24.54    0.0121       NaN       NaN    257.12       NaN
+  2448871.0    9.93   24.65   24.33    0.0118       NaN       NaN    254.14       NaN
+  2448872.0    9.53   24.59   24.59    0.0119       NaN       NaN    198.47       NaN
+  2448873.0    8.72   24.53   24.34    0.0119       NaN       NaN    134.19       NaN
+  2448874.0    8.99   24.51   24.37    0.0119       NaN       NaN    233.48       NaN
+  2448875.0    8.05   24.54   24.17    0.0119       NaN       NaN    260.08       NaN
+  2448876.0    7.38   24.52   23.91    0.0119       NaN       NaN    276.28       NaN
+  2448877.0    7.12   24.50   24.03    0.0116       NaN       NaN    275.14       NaN
+  2448878.0    6.85   24.51   24.01    0.0118       NaN       NaN    247.05       NaN
+  2448879.0    5.61   24.58   23.92    0.0117       NaN       NaN    259.25       NaN
+  2448880.0    4.10   24.68   23.89    0.0116       NaN       NaN    269.92       NaN
+  2448881.0    2.57   24.90   24.16    0.0119       NaN       NaN    256.51       NaN
+  2448882.0    4.01   24.89   24.02    0.0117       NaN       NaN    261.24       NaN
+  2448883.0    5.34   24.78   24.06    0.0119       NaN       NaN    263.12       NaN
+  2448884.0    6.42   24.74   24.08    0.0122       NaN       NaN    243.99       NaN
+  2448885.0    6.73   24.68   24.23    0.0122       NaN       NaN    213.89       NaN
+  2448886.0    6.11   24.68   23.95    0.0123       NaN       NaN    222.11       NaN
+  2448887.0    3.98   24.93   24.85    0.0121       NaN       NaN    231.75       NaN
+  2448888.0    5.47   24.87   24.74    0.0119       NaN       NaN    208.63       NaN
+  2448889.0    7.58   24.80   24.60    0.0116       NaN       NaN    170.86       NaN
+  2448890.0    5.62   24.84   24.57    0.0119       NaN       NaN    186.80       NaN
+  2448891.0    2.92   24.81   24.33    0.0117       NaN       NaN    119.70       NaN
+  2448892.0    2.69   25.13   24.63    0.0114       NaN       NaN    239.08       NaN
+  2448893.0    2.46   25.28   24.64    0.0113       NaN       NaN    237.75       NaN
+  2448894.0    2.28   25.46   25.02    0.0114       NaN       NaN    241.40       NaN
+  2448895.0    3.43   25.33   24.72    0.0121       NaN       NaN    244.02       NaN
+  2448896.0    4.28   25.22   24.68    0.0120       NaN       NaN    220.58       NaN
+  2448897.0    4.94   25.18   24.77    0.0122       NaN       NaN    185.41       NaN
+  2448898.0    4.34   25.21   24.62    0.0119       NaN       NaN    124.72       NaN
+  2448899.0    3.79   25.20   24.25    0.0121       NaN       NaN    241.02       NaN
+  2448900.0    3.45   25.11   24.31    0.0121       NaN       NaN    160.96       NaN
+  2448901.0    3.96   25.15   24.40    0.0120       NaN       NaN    234.78       NaN
+  2448902.0    3.53   25.21   24.42    0.0122       NaN       NaN    219.87       NaN
+  2448903.0    3.41   25.27   24.48    0.0122       NaN       NaN    235.38       NaN
+  2448904.0    2.65   25.32   24.73    0.0118       NaN       NaN    222.23       NaN
+  2448905.0    3.27   25.45   24.87    0.0122       NaN       NaN    226.77       NaN
+  2448906.0    3.61   25.35   24.96    0.0123       NaN       NaN    222.23       NaN
+  2448907.0    4.18   25.35   24.87    0.0116       NaN       NaN    218.20       NaN
+  2448908.0    2.68   25.52   24.33    0.0117       NaN       NaN    146.76       NaN
+  2448909.0    6.54   25.34   25.06    0.0120       NaN       NaN    138.07       NaN
+  2448910.0   *****   *****   *****    0.0117       NaN       NaN   *******       NaN
+  2448911.0   *****   *****   *****    0.0115       NaN       NaN   *******       NaN
+  2448912.0    3.53   25.41   24.59    0.0116    -93.64     -5.09    199.92    -84.56
+  2448913.0    6.59   25.31   24.57    0.0115   -111.44     -7.85    211.82    -73.89
+  2448914.0    5.88   25.14   24.59    0.0114   -126.84     -5.14    191.61    -79.78
+  2448915.0    3.84   25.10   24.39    0.0115   -115.72     -4.84    224.52    -95.66
+  2448916.0    4.37   25.01   24.06    0.0114   -107.71     -8.27    183.40    -71.72
+  2448917.0    4.76   24.93   24.20    0.0115      -NaN      -NaN    189.01      -NaN
+  2448918.0    7.85   24.92   24.29    0.0116   -108.23     -7.78     78.04    -54.73
+  2448919.0    9.48   24.80   24.09    0.0116   -192.04    -10.92    188.02    -68.67
+  2448920.0    8.16   24.66   23.83    0.0112   -171.04    -10.74    161.27    -69.95
+  2448921.0    8.29   24.54   23.17    0.0110   -150.56    -18.49    165.09    -60.66
+  2448922.0    8.66   24.47   23.71    0.0115   -164.03    -10.96    200.13    -82.25
+  2448923.0    6.62   24.41   23.78    0.0112   -119.17     -6.65    172.62    -72.59
+  2448924.0    5.47   24.36   24.01    0.0111    -94.24     -2.91    187.11    -78.28
+  2448925.0    4.45   24.38   23.56    0.0107    -97.67     -6.35    200.96    -85.68
+  2448926.0    5.11   24.32   23.12    0.0111   -125.05    -10.46    214.84    -96.51
+  2448927.0    5.12   24.28   22.84    0.0106    -97.86    -12.64    147.99    -66.36
+  2448928.0    6.33   24.25   23.09    0.0109   -104.00    -12.38     93.66    -74.76
+  2448929.0    6.82   24.20   22.87    0.0107   -115.69    -15.12    123.94    -74.11
+  2448930.0    4.78   24.19   22.98    0.0110    -76.69    -10.11    186.43    -80.26
+  2448931.0    4.52   24.16   23.79    0.0109      -NaN      -NaN    121.08      -NaN
+  2448932.0    6.04   24.13   24.16    0.0107      -NaN      -NaN    174.60      -NaN
+  2448933.0    7.85   24.14   24.37    0.0111      -NaN      -NaN    162.10      -NaN
+  2448934.0    8.47   24.07   24.36    0.0108      -NaN      -NaN    164.49      -NaN
+  2448935.0    7.10   24.07   23.80    0.0112   -110.99     -2.80    197.32    -93.36
+  2448936.0    6.99   24.02   23.46    0.0111    -97.15     -6.26    167.35    -65.70
+  2448937.0    8.07   23.97   23.33    0.0114   -120.42     -7.97    179.18    -73.53
+  2448938.0    8.27   23.91   23.23    0.0109   -163.44     -8.98    185.72    -81.22
+  2448939.0    7.45   23.88   23.32    0.0108   -143.74     -6.55    182.20    -83.65
+  2448940.0    8.45   23.77   22.82    0.0109   -132.78    -12.13    145.36    -65.28
+  2448941.0    7.05   23.71   22.44    0.0109    -88.36    -13.54     71.77    -48.17
+  2448942.0    9.08   23.60   23.58    0.0111    -96.33     -0.05    131.89    -60.20
+  2448943.0    8.77   23.55   22.79    0.0113   -139.29    -10.73    163.50    -70.41
+  2448944.0    8.29   23.49   22.53    0.0112   -156.26    -13.18    122.41    -65.83
+  2448945.0    7.40   23.45   23.00    0.0111   -129.43     -4.85    174.30    -74.65
+  2448946.0    6.48   23.38   23.06    0.0114   -101.09     -3.22    123.62    -61.90
+  2448947.0    4.60   23.49   23.14    0.0111    -65.22     -2.32    169.96    -78.87
+  2448948.0    5.50   23.54   23.21    0.0112    -81.08     -2.71    170.93    -93.05
+  2448949.0    4.78   23.58   23.03    0.0117    -83.73     -4.26    158.19    -91.08
+  2448950.0    5.34   23.50   22.59    0.0115    -93.92     -7.90     92.59    -74.94
+  2448951.0    7.90   23.41   22.93    0.0115    -84.79     -5.70    156.78    -83.95
+  2448952.0    6.83   23.36   23.18    0.0114    -84.75     -1.82    176.46    -94.47
+  2448953.0    6.01   23.29   22.64    0.0116   -119.73     -6.38    175.49    -98.79
+  2448954.0    5.02   23.33   22.33    0.0117   -113.54     -8.54    172.32   -103.21
+  2448955.0    4.91   23.24   22.24    0.0118   -103.80     -8.45    166.42    -96.30
+  2448956.0    5.61   23.19   22.41    0.0114   -100.13     -7.46    161.37    -92.64
+  2448957.0    6.03   23.20   22.55    0.0116   -104.82     -6.39    155.27    -83.31
+  2448958.0    6.67   23.10   22.55    0.0118   -103.22     -5.69    168.93    -87.62
+  2448959.0    7.61   23.05   22.30    0.0118   -127.73     -9.13    159.26    -89.16
+  2448960.0    7.18   23.10   22.37    0.0116   -130.29     -8.43    146.04    -72.55
+  2448961.0    7.37   23.05   22.48    0.0116   -119.61     -6.63    138.30    -58.34
+  2448962.0    7.48   23.00   22.43    0.0116   -107.09     -6.53    153.22    -66.94
+  2448963.0    6.94   22.98   22.56    0.0115   -115.95     -4.54    147.92    -89.68
+  2448964.0    6.85   22.99   22.50    0.0119   -102.18     -5.21    150.23    -75.56
+  2448965.0    7.04   22.93   22.20    0.0121   -118.22     -8.32    154.92    -77.37
+  2448966.0    7.64   22.87   22.01    0.0120   -122.37    -10.64    101.57    -65.49
+  2448967.0    6.29   22.85   21.74    0.0120   -110.65    -11.57    149.10    -79.71
+  2448968.0    4.98   22.85   21.68    0.0120    -89.30     -9.83    131.68    -78.41
+  2448969.0    4.17   22.83   21.49    0.0120    -90.48     -9.80    133.95    -89.46
+  2448970.0    2.47   22.89   21.60    0.0120    -78.71     -6.80    177.12   -108.48
+  2448971.0    4.66   22.75   21.61    0.0118    -80.41     -8.45    131.74    -79.50
+  2448972.0    2.14   22.91   21.84    0.0119    -43.52     -4.74    165.81    -91.33
+  2448973.0    3.34   22.77   21.89    0.0119    -51.87     -5.17    153.25    -77.59
+  2448974.0    2.78   22.79   22.17    0.0120    -42.34     -3.01    161.55    -80.45
+  2448975.0    5.81   22.71   21.75    0.0118    -85.63    -10.33    127.58    -74.84
+  2448976.0    8.53   22.66   20.88    0.0120   -200.34    -25.72    145.66    -81.16
+  2448977.0    8.27   22.60   20.83    0.0120   -206.90    -24.71    106.24    -75.32
+  2448978.0    6.03   22.57   20.15    0.0119   -135.11    -25.06    125.20    -79.31
+  2448979.0    6.84   22.50   21.03    0.0123   -161.07    -16.83    137.04    -83.30
+  2448980.0    6.62   22.46   20.93    0.0121   -162.48    -17.18    150.36   -101.48
+  2448981.0    4.54   22.41   21.02    0.0124   -143.31    -11.36    170.36   -105.26
+  2448982.0    5.40   22.34   21.40    0.0126   -154.57     -8.61    166.63   -111.63
+  2448983.0    4.14   22.43   20.91    0.0124   -132.81    -11.69    176.66   -107.05
+  2448984.0    5.51   22.38   20.79    0.0120   -129.91    -15.27    167.94    -95.52
+  2448985.0    7.35   22.31   20.88    0.0123   -154.40    -17.56    172.22    -96.39
+  2448986.0    8.86   22.23   20.95    0.0123   -181.18    -18.69    169.79    -93.01
+  2448987.0    7.54   22.14   20.64    0.0125   -176.11    -19.06    153.34    -95.49
+  2448988.0    8.02   22.10   20.43    0.0129   -182.78    -22.30    132.24    -91.37
Index: /trunk/src/paper01/fig14/met_data_subduct_cs_93.txt
===================================================================
--- /trunk/src/paper01/fig14/met_data_subduct_cs_93.txt	(revision 41)
+++ /trunk/src/paper01/fig14/met_data_subduct_cs_93.txt	(revision 41)
@@ -0,0 +1,168 @@
+time  ws(m/s)   sst(C)  at(C)  q2m(g/kg)   lhf(w/m2)   shf(w/m2)   swr(w/m2)   lwr(s/m2)
+  2448989.0    7.64   21.96   20.31    0.0109   -187.90    -21.43    176.88   -101.85
+  2448990.0    6.33   21.88   20.38    0.0114   -165.60    -15.93    144.67   -100.71
+  2448991.0    8.30   21.82   20.71    0.0117   -205.20    -15.37    144.99    -94.25
+  2448992.0    6.71   21.73   20.90    0.0116   -142.61     -9.14    113.15    -77.65
+  2448993.0    3.61   21.72   20.63    0.0114    -77.30     -7.15    142.37    -87.37
+  2448994.0    3.42   21.82   20.63    0.0110    -81.94     -7.61    155.13    -85.90
+  2448995.0    6.47   21.78   20.74    0.0112   -120.74    -11.30     85.70    -76.49
+  2448996.0    8.13   21.79   20.28    0.0111   -140.46    -20.65     58.01    -64.77
+  2448997.0    8.73   21.83   20.75    0.0112   -184.42    -15.37    145.52    -88.07
+  2448998.0    8.14   21.74   20.44    0.0110   -176.76    -17.40    112.49    -82.04
+  2448999.0    6.76   21.68   20.59    0.0114   -143.45    -11.88    163.14    -88.80
+  2449000.0    5.68   21.63   20.23    0.0114   -139.35    -13.77    147.78    -96.43
+  2449001.0    3.36   21.60   20.02    0.0113    -98.62    -10.38    179.89   -111.60
+  2449002.0    2.43   21.55   20.12    0.0107    -72.46     -7.16    171.75   -108.91
+  2449003.0    3.06   21.70   20.37    0.0105    -81.16     -7.72    160.99    -97.28
+  2449004.0    2.14   21.84   20.54    0.0111    -59.25     -6.18    166.73   -107.36
+  2449005.0    2.34   21.80   20.26    0.0107    -49.83     -6.69    180.63    -87.12
+  2449006.0    8.59   21.52   20.55    0.0119   -148.19    -13.83    170.11    -88.96
+  2449007.0    8.73   21.43   20.09    0.0118   -172.02    -19.36    174.18    -91.09
+  2449008.0    9.06   21.41   20.68    0.0117   -151.75    -10.93    168.15    -89.91
+  2449009.0    7.59   21.43   20.79    0.0112   -129.44     -7.91    174.01    -96.17
+  2449010.0    7.72   21.43   20.79    0.0107   -138.46     -7.94    156.23    -91.21
+  2449011.0    8.27   21.39   20.72    0.0114   -166.17     -8.84    148.18    -87.36
+  2449012.0    7.68   21.25   20.80    0.0113   -140.06     -5.36    148.77    -85.07
+  2449013.0    5.71   21.25   20.86    0.0110    -82.40     -3.62    145.36    -55.12
+  2449014.0    4.48   21.26   20.64    0.0107    -75.69     -4.62    137.47    -71.65
+  2449015.0    5.68   21.28   21.10    0.0105    -62.13     -1.60    160.39    -74.85
+  2449016.0    7.83   21.23   20.76    0.0104   -103.09     -5.77     69.58    -58.86
+  2449017.0    8.24   21.21   20.09    0.0105   -163.13    -15.43    174.86    -95.59
+  2449018.0    8.21   21.20   19.45    0.0104   -150.09    -24.16    154.77    -74.96
+  2449019.0    7.13   21.23   19.47    0.0104   -158.01    -21.78    196.54   -101.41
+  2449020.0    6.37   21.14   19.56    0.0107   -133.42    -17.17    171.01    -88.10
+  2449021.0    6.44   21.24   19.93    0.0103   -157.82    -14.23    113.61    -53.56
+  2449022.0    6.55   21.27   20.01    0.0102   -144.96    -13.92    168.76    -64.69
+  2449023.0    7.10   21.21   20.03    0.0105   -141.17    -13.99    135.70    -82.28
+  2449024.0    6.49   21.07   19.84    0.0104   -132.13    -13.47    163.44    -88.64
+  2449025.0    5.82   21.16   19.76    0.0112   -104.04    -13.83    149.08    -77.43
+  2449026.0    6.25   21.22   19.85    0.0106   -134.08    -14.69    199.58    -98.00
+  2449027.0    4.24   21.22   19.84    0.0107    -99.51    -10.66    196.35   -100.38
+  2449028.0    4.47   21.24   19.72    0.0107   -111.08    -12.29    162.19   -100.78
+  2449029.0    5.40   21.23   19.83    0.0104   -123.83    -13.08    187.14    -84.82
+  2449030.0    5.91   21.21   20.15    0.0107   -111.96    -10.50    144.07    -66.38
+  2449031.0    5.13   21.25   20.41    0.0104    -85.89     -7.32    196.16    -88.93
+  2449032.0    4.41   21.25   20.34    0.0101    -75.58     -6.97    188.98    -83.92
+  2449033.0    5.38   21.26   19.74    0.0105    -98.82    -14.31    172.07    -80.79
+  2449034.0    5.65   21.18   18.66    0.0101   -109.05    -25.74    149.47    -86.08
+  2449035.0    5.10   21.17   18.50    0.0107   -144.63    -25.07    195.76   -103.45
+  2449036.0    6.85   21.18   18.91    0.0105   -174.96    -27.06    220.97   -106.04
+  2449037.0    7.44   21.00   19.34    0.0104   -156.17    -20.72    211.77    -97.14
+  2449038.0    4.00   20.99   19.66    0.0104    -91.82     -9.78    215.03   -100.76
+  2449039.0    2.00   21.30   19.94    0.0106    -61.02     -7.74    219.43   -101.65
+  2449040.0    5.06   21.04   19.03    0.0106   -121.46    -18.01    220.68   -107.64
+  2449041.0    4.65   20.94   19.56    0.0106   -105.64    -11.45    233.47   -102.90
+  2449042.0    4.55   20.95   19.48    0.0102   -102.57    -12.00    199.41    -90.09
+  2449043.0    4.37   20.75   19.74    0.0102    -83.02     -7.56    169.60    -83.01
+  2449044.0    8.38   20.64   20.29    0.0103   -108.12     -4.33    160.43    -61.59
+  2449045.0    8.07   20.58   20.32    0.0102    -80.01     -3.30    139.84    -47.95
+  2449046.0    5.75   20.68   20.38    0.0102    -75.57     -2.39    210.83    -64.85
+  2449047.0    5.91   20.74   19.75    0.0098    -97.35     -9.92    234.56    -83.45
+  2449048.0    6.16   20.70   19.24    0.0099   -109.43    -15.48    230.96    -81.49
+  2449049.0    5.04   20.71   18.89    0.0099   -101.29    -16.50    213.12    -91.41
+  2449050.0    5.67   20.80   18.91    0.0094   -127.14    -18.77    234.39   -102.89
+  2449051.0    4.59   20.98   18.63    0.0096   -116.23    -20.67    209.35    -89.63
+  2449052.0    2.05   21.22   18.99    0.0096    -70.97    -10.85    236.19    -87.46
+  2449053.0    2.83   21.09   19.34    0.0095    -83.35     -9.86    228.74    -89.81
+  2449054.0    4.04   21.07   19.55    0.0096   -107.10    -11.41    256.75   -104.91
+  2449055.0    3.60   20.90   19.46    0.0093    -85.63     -9.69    188.93    -80.13
+  2449056.0    3.51   20.96   19.73    0.0101    -72.35     -7.55    260.26   -101.62
+  2449057.0    3.56   20.77   20.25    0.0090    -40.32     -2.99    249.77    -89.28
+  2449058.0    1.11   21.16   20.33    0.0092      -NaN      -NaN    231.33      -NaN
+  2449059.0    3.05   21.05   20.38    0.0090    -43.38     -3.50    261.94    -94.25
+  2449060.0    6.21   20.86   20.20    0.0089    -83.86     -6.66    220.21    -75.10
+  2449061.0    5.62   20.77   19.81    0.0094   -114.49     -9.08    236.75    -82.09
+  2449062.0   11.74   20.60   18.67    0.0090   -251.77    -39.03    158.73    -72.73
+  2449063.0   11.96   20.45   19.00    0.0083   -211.61    -29.13    208.70    -68.68
+  2449064.0   10.61   20.38   19.53    0.0086   -147.82    -14.68    193.52    -70.86
+  2449065.0    6.57   20.56   19.28    0.0085   -119.30    -14.49    248.61    -80.45
+  2449066.0    8.26   20.43   19.83    0.0089      -NaN      -NaN    250.57      -NaN
+  2449067.0    5.04   20.47   20.20    0.0081    -59.81     -1.57    177.41    -70.03
+  2449068.0    3.36   20.57   19.96    0.0089    -39.76     -3.77    171.11    -60.92
+  2449069.0    3.89   20.83   19.79    0.0089    -66.16     -7.15    278.60    -99.92
+  2449070.0    4.85   20.90   19.91    0.0088    -75.49     -8.14    273.62    -95.64
+  2449071.0    5.72   20.72   19.96    0.0094    -93.95     -7.14    280.24    -94.11
+  2449072.0    4.90   20.80   19.66    0.0094    -88.16     -9.69    221.76    -56.61
+  2449073.0    6.94   20.90   19.87    0.0097   -132.89    -11.97    275.29    -96.79
+  2449074.0    6.62   20.94   19.35    0.0097   -122.74    -18.21    248.60    -81.47
+  2449075.0    5.49   20.98   19.92    0.0098    -90.70     -9.87    282.99    -88.14
+  2449076.0    4.22   20.99   19.89    0.0088    -71.66     -7.91    246.85    -76.41
+  2449077.0    6.09   21.12   19.60    0.0092   -117.29    -14.94    281.41    -76.08
+  2449078.0    8.06   21.10   19.55    0.0094   -139.70    -20.65    268.10    -75.71
+  2449079.0    8.82   21.03   19.85    0.0094   -164.36    -17.29    204.42    -59.13
+  2449080.0    8.84   20.82   20.14    0.0098   -137.30     -9.60    241.61    -62.48
+  2449081.0    8.87   20.89   19.78    0.0094   -164.36    -16.22    245.98    -70.51
+  2449082.0    7.41   20.98   19.45    0.0094   -141.51    -19.07    210.45    -53.54
+  2449083.0    4.81   20.96   19.59    0.0095    -87.94    -11.75    189.64    -55.46
+  2449084.0    3.29   21.21   20.28    0.0102    -60.24     -5.53    288.01    -74.40
+  2449085.0    4.77   21.15   20.11    0.0094    -86.04     -8.65    290.43    -92.67
+  2449086.0    6.31   21.05   20.13    0.0099    -98.51     -9.59    228.52    -62.49
+  2449087.0    8.36   21.02   20.17    0.0097    -95.95    -11.28    265.53    -73.70
+  2449088.0    9.57   20.98   20.18    0.0095   -100.91    -12.43    247.36    -63.59
+  2449089.0    6.89   20.90   20.12    0.0095    -76.28     -8.93    208.82    -42.12
+  2449090.0    3.78   21.09   20.44    0.0089    -47.87     -4.27    204.49    -49.62
+  2449091.0    2.89   21.32   20.32    0.0093    -43.28     -5.63    247.03    -60.56
+  2449092.0    6.23   21.19   20.05    0.0095    -91.23    -11.97    276.28    -77.17
+  2449093.0    7.21   21.13   20.16    0.0091   -124.10    -11.47    265.40    -85.65
+  2449094.0    7.19   21.15   20.06    0.0086   -138.10    -12.77    278.92    -81.13
+  2449095.0    5.87   20.96   20.13    0.0098   -106.11     -8.18    249.97    -58.27
+  2449096.0    3.78   21.11   19.97    0.0092    -70.12     -7.77    138.12    -49.17
+  2449097.0    2.18   21.49   20.56    0.0095    -45.40     -4.09    282.20    -77.73
+  2449098.0    3.52   21.55   20.67    0.0098    -46.30     -5.49    278.94    -71.65
+  2449099.0    6.61   21.31   20.40    0.0094    -91.10    -10.12    216.51    -64.06
+  2449100.0    7.17   21.27   20.18    0.0089   -125.10    -12.89    276.84    -80.82
+  2449101.0    8.43   21.19   19.93    0.0097   -122.92    -17.58    253.33    -64.32
+  2449102.0    9.35   21.13   20.34    0.0095   -148.28    -12.00    233.73    -60.29
+  2449103.0    7.96   21.10   20.35    0.0092   -141.06     -9.80    240.47    -55.83
+  2449104.0    7.01   21.15   20.35    0.0095   -106.22     -9.15    289.74    -79.34
+  2449105.0    4.43   21.20   20.19    0.0097    -80.69     -8.09    233.81    -72.39
+  2449106.0    2.33   21.52   20.45    0.0095       NaN       NaN    232.78       NaN
+  2449107.0    4.14   21.29   19.96    0.0093    -72.64    -10.30    171.82    -52.67
+  2449108.0    5.17   21.32   19.83    0.0098    -85.87    -12.63    153.95    -61.41
+  2449109.0    6.28   21.69   20.58    0.0100   -101.50    -11.56    281.26    -67.06
+  2449110.0    5.98   21.70   20.48    0.0087   -111.65    -12.38    298.76    -85.32
+  2449111.0    7.54   21.61   20.36    0.0096   -145.19    -15.64    294.19    -89.85
+  2449112.0    6.74   21.54   20.02    0.0093   -154.28    -17.56    266.41    -88.73
+  2449113.0    2.81   21.82   20.03    0.0095    -96.01    -10.23    318.10    -95.23
+  2449114.0    3.38   21.84   20.25    0.0087   -102.34    -10.55    310.92    -96.05
+  2449115.0    4.61   21.71   20.35    0.0103   -116.59    -11.24    309.09    -93.60
+  2449116.0    5.29   21.53   20.21    0.0098   -116.96    -11.98    306.34    -90.27
+  2449117.0    5.09   21.45   20.25    0.0095   -106.89    -10.72    303.95    -89.44
+  2449118.0    4.17   21.49   20.28    0.0097   -105.78     -9.20    282.75    -93.41
+  2449119.0    2.46   21.76   20.50    0.0097    -68.53     -6.33    291.26    -86.20
+  2449120.0    4.40   21.57   20.91    0.0100    -64.87     -4.55     92.25    -46.16
+  2449121.0    4.70   21.48   21.52    0.0100      -NaN      -NaN    264.02      -NaN
+  2449122.0    2.36   21.95   21.46    0.0101    -23.81     -2.05    306.56    -77.96
+  2449123.0    3.63   22.02   21.54    0.0104    -50.66     -2.88    304.66    -75.60
+  2449124.0    5.53   21.98   21.77    0.0106    -59.54     -1.63    305.61    -81.30
+  2449125.0    3.48   22.29   21.91    0.0096    -31.85     -2.06    270.40    -71.63
+  2449126.0    4.72   22.30   21.52    0.0100    -62.48     -6.09    267.50    -62.09
+  2449127.0    5.07   22.12   21.00    0.0101    -83.47     -9.80    169.69    -45.01
+  2449128.0    6.51   22.11   21.07    0.0105   -132.02    -11.30    278.23    -68.29
+  2449129.0    6.79   21.94   20.90    0.0103   -125.12    -11.53    167.33    -60.14
+  2449130.0    6.33   21.84   20.64    0.0096   -129.79    -12.78    311.43    -85.30
+  2449131.0    4.47   21.94   21.03    0.0103    -72.67     -6.57    297.61    -72.13
+  2449132.0    4.35   22.05   21.37    0.0098    -53.16     -4.85    291.97    -68.22
+  2449133.0    4.20   22.20   21.00    0.0097    -76.51     -8.93    293.39    -74.47
+  2449134.0    2.58   22.45   21.15    0.0098    -48.20     -6.66    239.84    -59.60
+  2449135.0    2.79   22.59   21.64    0.0094    -58.97     -4.98    286.18    -65.19
+  2449136.0    2.35   22.72   21.79    0.0094    -45.56     -4.59    249.29    -67.90
+  2449137.0    2.59   22.97   21.87    0.0104    -50.24     -5.71    301.10    -73.43
+  2449138.0    1.47   23.35   22.46    0.0097       NaN       NaN    305.82       NaN
+  2449139.0    2.86   23.68   22.29    0.0099    -57.10     -7.08    309.82    -77.82
+  2449140.0    4.12   23.06   22.36    0.0097    -59.90     -4.97    312.21    -83.84
+  2449141.0    1.94   23.28   22.57    0.0103      -NaN      -NaN    315.71      -NaN
+  2449142.0    1.65   23.96   22.78    0.0101    -43.51     -4.42    310.26    -79.38
+  2449143.0    3.34   23.81   22.80    0.0098    -61.33     -5.98    312.37    -76.71
+  2449144.0    3.22   23.58   22.46    0.0099    -40.30     -6.55    130.73    -49.19
+  2449145.0    5.03   23.51   22.50    0.0105    -53.31     -8.93    191.32    -32.56
+  2449146.0    5.22   23.19   22.78    0.0098   -103.87     -3.48    232.74    -47.06
+  2449147.0    4.95   23.18   22.60    0.0103    -94.94     -4.87    190.06    -44.04
+  2449148.0    4.45   23.18   22.58    0.0097    -73.79     -4.40    294.47    -55.85
+  2449149.0    4.92   23.24   22.91    0.0098    -55.54     -2.54    260.11    -59.54
+  2449150.0    6.34   23.29   22.52    0.0097    -52.04     -7.66    285.39    -61.76
+  2449151.0    6.67   23.11   22.38    0.0104   -104.03     -7.96    286.03    -72.30
+  2449152.0    7.55   22.97   22.25    0.0104   -123.27     -8.81    269.91    -68.43
+  2449153.0    8.06   22.70   22.13    0.0107   -140.67     -7.28    216.18    -53.84
+  2449154.0    7.54   22.73   22.30    0.0100   -137.97     -4.92    226.36    -49.20
+  2449155.0    7.08   22.69   22.40    0.0101   -120.40     -3.17    279.58    -43.72
Index: /trunk/src/paper01/fig14/met_data_subduct_ses_92.txt
===================================================================
--- /trunk/src/paper01/fig14/met_data_subduct_ses_92.txt	(revision 41)
+++ /trunk/src/paper01/fig14/met_data_subduct_ses_92.txt	(revision 41)
@@ -0,0 +1,318 @@
+time  ws(m/s)   sst(C)  at(C)  q2m(g/kg)   lhf(w/m2)   shf(w/m2)   swr(w/m2)   lwr(s/m2)
+  2448662.0   10.37   22.21   21.11    0.0113   -191.14    -18.66    310.71    -93.19
+  2448663.0    9.69   22.18   21.06    0.0114   -165.03    -17.71    233.49    -80.80
+  2448664.0    9.41   22.19   21.22    0.0114   -145.31    -14.76    222.44    -73.24
+  2448665.0    8.70   22.08   21.16    0.0113   -145.82    -13.43    217.43    -68.56
+  2448666.0    6.52   22.22   21.23    0.0115   -111.95    -11.04    224.22    -61.11
+  2448667.0    6.65   22.29   21.39    0.0114    -89.93     -9.76    221.46    -66.13
+  2448668.0    7.31   22.23   21.33    0.0117    -87.90    -10.66    219.99    -65.36
+  2448669.0    8.74   22.17   21.34    0.0115    -97.29    -11.57    204.70    -59.76
+  2448670.0    9.64   22.19   21.14    0.0116   -129.00    -16.56    199.52    -50.12
+  2448671.0    8.49   22.13   20.73    0.0116   -145.98    -19.89    166.01    -53.33
+  2448672.0    9.11   22.11   20.92    0.0114   -158.87    -17.90    141.72    -50.09
+  2448673.0    9.20   22.08   20.90    0.0116   -164.89    -17.86    104.37    -44.18
+  2448674.0    9.59   22.03   20.75    0.0116   -159.67    -20.13     85.54    -37.66
+  2448675.0    9.60   21.97   20.51    0.0117   -182.17    -23.26    165.86    -50.74
+  2448676.0   11.15   21.99   20.60    0.0115   -232.94    -25.84    178.95    -53.36
+  2448677.0   11.67   21.91   20.14    0.0115   -262.43    -35.03    210.82    -62.30
+  2448678.0   11.06   21.75   20.13    0.0116   -211.29    -30.20    217.58    -68.06
+  2448679.0   10.47   21.61   20.26    0.0117   -169.08    -23.46    202.46    -61.26
+  2448680.0   10.40   21.45   20.15    0.0118   -154.27    -22.50    187.93    -54.75
+  2448681.0   11.08   21.43   20.18    0.0118   -189.39    -23.07    156.37    -49.91
+  2448682.0    9.85   21.36   20.15    0.0119   -205.67    -19.84    172.13    -49.40
+  2448683.0    9.54   21.25   20.02    0.0118   -198.52    -19.40    240.88    -70.44
+  2448684.0    9.04   21.30   19.97    0.0119   -174.73    -20.15    238.75    -77.06
+  2448685.0    8.50   21.43   20.44    0.0119   -127.68    -13.94    229.04    -57.08
+  2448686.0    9.61   21.47   20.13    0.0120   -191.84    -21.33    210.28    -61.06
+  2448687.0   10.04   21.52   20.34    0.0120   -159.58    -19.73    234.56    -67.34
+  2448688.0   10.17   21.49   20.29    0.0119   -149.22    -20.47    237.68    -69.70
+  2448689.0    8.68   21.49   20.27    0.0119   -109.47    -17.93    242.79    -69.11
+  2448690.0    5.76   21.56   21.43    0.0119      -NaN      -NaN    218.85      -NaN
+  2448691.0    5.52   21.63   21.92    0.0120      -NaN      -NaN    203.37      -NaN
+  2448692.0    5.57   21.66   21.85    0.0120      -NaN      -NaN    177.43      -NaN
+  2448693.0    5.18   21.75   21.90    0.0120       NaN       NaN    211.61      -NaN
+  2448694.0    6.40   21.75   22.15    0.0121      -NaN      -NaN    202.87      -NaN
+  2448695.0    7.55   21.76   21.73    0.0122   -122.02      0.04    119.07    -45.63
+  2448696.0    8.47   21.71   21.50    0.0122   -123.67     -2.84    235.09    -62.88
+  2448697.0    8.58   21.82   21.35    0.0122   -106.03     -6.41    229.38    -58.08
+  2448698.0    9.41   21.85   21.16    0.0123   -104.23    -10.41    182.44    -54.31
+  2448699.0    8.50   21.89   20.75    0.0122    -93.99    -15.87    245.86    -58.50
+  2448700.0    8.65   21.84   20.62    0.0123   -107.30    -17.54    231.47    -53.87
+  2448701.0    8.32   21.85   20.45    0.0122   -111.59    -19.22    236.50    -59.63
+  2448702.0    8.41   21.78   20.21    0.0123   -137.29    -22.06    242.42    -60.12
+  2448703.0    7.97   21.81   20.63    0.0123    -94.49    -15.61    238.08    -56.48
+  2448704.0    6.88   21.92   21.97    0.0123      -NaN      -NaN    230.66      -NaN
+  2448705.0    7.04   22.02   22.03    0.0123      -NaN      -NaN    251.89      -NaN
+  2448706.0    7.72   21.99   21.24    0.0123   -116.70     -9.55    247.10    -60.08
+  2448707.0    8.01   21.98   20.57    0.0123   -140.21    -18.70    206.86    -49.29
+  2448708.0    9.34   21.92   20.31    0.0122   -162.29    -24.81    240.07    -61.49
+  2448709.0    9.44   21.90   20.42    0.0123   -151.45    -23.18    240.31    -59.86
+  2448710.0    8.94   21.86   20.16    0.0123   -151.21    -25.32    252.19    -63.63
+  2448711.0    7.52   21.81   20.13    0.0122   -124.81    -21.15    241.56    -59.37
+  2448712.0    8.09   21.77   20.11    0.0122   -163.49    -22.43    247.65    -56.06
+  2448713.0    8.72   21.73   20.25    0.0123   -177.48    -21.58    211.81    -52.75
+  2448714.0    8.60   21.63   20.17    0.0121   -179.20    -20.85    209.01    -56.79
+  2448715.0    8.27   21.62   20.38    0.0123   -167.98    -16.92    283.10    -75.36
+  2448716.0    8.41   21.62   20.24    0.0123   -180.85    -19.22    248.92    -61.29
+  2448717.0    9.61   21.61   20.47    0.0121   -166.49    -18.06    277.74    -73.56
+  2448718.0   10.39   21.55   20.53    0.0123   -194.81    -17.47    229.51    -54.20
+  2448719.0   10.76   21.46   19.80    0.0122   -219.54    -29.71    262.15    -69.82
+  2448720.0   10.10   21.37   19.90    0.0121   -162.36    -25.14    237.12    -74.39
+  2448721.0    8.70   21.22   19.94    0.0122   -112.36    -18.33    229.67    -65.33
+  2448722.0    8.38   21.26   20.03    0.0121   -124.47    -17.31    245.80    -49.96
+  2448723.0    7.92   21.28   20.12    0.0120   -140.55    -15.22    258.42    -53.24
+  2448724.0    6.03   21.36   20.36    0.0121   -119.69    -10.13    265.57    -58.39
+  2448725.0    4.24   21.63   20.66    0.0120    -85.10     -7.17    284.66    -64.64
+  2448726.0    3.79   21.82   20.27    0.0121    -72.11    -10.73    271.90    -59.68
+  2448727.0    4.93   21.74   20.81    0.0120    -46.18     -7.39    222.15    -45.31
+  2448728.0    7.45   21.61   20.89    0.0119    -57.85     -8.40    149.89    -34.25
+  2448729.0    8.15   21.52   20.75    0.0121    -70.90    -10.33    252.22    -48.14
+  2448730.0    7.32   21.53   20.54    0.0120    -71.24    -11.60    217.74    -46.62
+  2448731.0    6.31   21.57   20.29    0.0119    -82.79    -13.66    242.67    -51.26
+  2448732.0    6.39   21.58   20.66    0.0118    -89.84     -9.68    240.00    -47.81
+  2448733.0    6.69   21.49   20.75    0.0118   -108.95     -8.03    237.64    -51.13
+  2448734.0    7.15   21.38   20.84    0.0117   -115.20     -6.15    272.16    -44.55
+  2448735.0    6.31   21.55   20.67    0.0119   -108.34     -9.20    240.39    -47.76
+  2448736.0    6.23   21.70   20.52    0.0119   -102.60    -12.36    252.23    -51.61
+  2448737.0    7.13   21.76   20.86    0.0120   -108.22    -10.13    262.68    -70.09
+  2448738.0    8.54   21.77   21.43    0.0120   -115.15     -4.41    273.42    -61.68
+  2448739.0    9.36   21.87   21.08    0.0121   -101.95    -12.02    270.50    -63.15
+  2448740.0    9.48   21.94   20.84    0.0118   -113.64    -17.34    283.09    -58.55
+  2448741.0    9.76   21.83   20.66    0.0119   -141.88    -18.98    260.54    -55.20
+  2448742.0    7.90   21.81   20.59    0.0120   -119.44    -16.16    162.87    -32.32
+  2448743.0    7.59   21.72   21.00    0.0120   -100.38     -8.74    185.48    -37.87
+  2448744.0    6.59   21.76   21.23    0.0120    -68.81     -5.56    167.12    -35.25
+  2448745.0    5.04   21.89   21.85    0.0120      -NaN      -NaN    201.10      -NaN
+  2448746.0    4.77   21.93   21.81    0.0120      -NaN      -NaN    136.49      -NaN
+  2448747.0    4.96   21.78   21.35    0.0121    -29.74     -3.49    226.77    -31.42
+  2448748.0    6.37   21.71   20.95    0.0122    -58.41     -7.86     95.70    -35.17
+  2448749.0    7.11   21.67   20.79    0.0120    -76.94    -10.08    283.52    -54.59
+  2448750.0    8.89   21.81   21.14    0.0120    -79.55     -9.18    254.57    -46.88
+  2448751.0    9.66   21.83   21.51    0.0121    -82.37     -4.67    240.70    -36.29
+  2448752.0    9.57   21.75   20.93    0.0122    -91.15    -12.63    255.48    -49.16
+  2448753.0    8.86   21.62   20.79    0.0122    -84.25    -11.64    278.27    -56.87
+  2448754.0    7.28   21.49   20.94    0.0120    -51.07     -6.32    282.06    -52.11
+  2448755.0    7.52   21.58   21.05    0.0121    -50.76     -6.16    277.22    -46.52
+  2448756.0    9.53   21.67   21.27    0.0120    -73.47     -5.92    259.73    -36.21
+  2448757.0    9.19   21.77   20.90    0.0120   -102.22    -13.05    205.92    -34.18
+  2448758.0    8.68   21.91   21.05    0.0119   -110.35    -12.16    227.62    -39.49
+  2448759.0    7.05   22.00   21.09    0.0117    -87.34    -10.58    241.22    -46.67
+  2448760.0    8.25   22.02   21.14    0.0119    -86.34    -11.84    237.26    -36.36
+  2448761.0    8.30   22.01   21.41    0.0120    -60.79     -7.98    219.51    -25.47
+  2448762.0    7.23   21.96   21.38    0.0119    -64.28     -6.75    212.67    -26.07
+  2448763.0    6.20   21.71   21.25    0.0118    -60.91     -4.28    213.06    -23.52
+  2448764.0    7.17   21.50   21.22    0.0119    -70.60     -2.92    229.19    -27.70
+  2448765.0    7.95   21.45   21.12    0.0117    -87.37     -4.02    248.35    -39.73
+  2448766.0    8.39   21.48   21.04    0.0118    -95.50     -5.77    224.11    -37.77
+  2448767.0    8.52   21.51   20.99    0.0117    -90.20     -6.90    204.72    -47.00
+  2448768.0    8.43   21.51   21.10    0.0116    -71.78     -5.32    264.90    -49.59
+  2448769.0    7.86   21.55   21.13    0.0117    -70.75     -5.18    213.41    -38.06
+  2448770.0    7.38   21.78   21.25    0.0117    -72.70     -6.12    259.54    -40.60
+  2448771.0    6.62   21.98   21.47    0.0117    -52.28     -5.22    251.96    -38.42
+  2448772.0    7.02   22.09   21.75    0.0118    -42.14     -3.63    197.38    -29.90
+  2448773.0    8.02   22.21   21.99    0.0119    -47.35     -2.58    187.45    -25.53
+  2448774.0    7.06   22.23   22.06    0.0120      -NaN      -NaN    230.60      -NaN
+  2448775.0    7.80   22.27   22.13    0.0120    -53.81     -1.58    202.04    -30.06
+  2448776.0    9.91   22.32   21.93    0.0118    -90.85     -5.96    219.72    -32.27
+  2448777.0    9.81   22.19   21.70    0.0119   -110.98     -7.65    246.01    -42.56
+  2448778.0    9.98   22.08   21.60    0.0119    -91.69     -7.61    228.87    -36.95
+  2448779.0    8.34   21.96   21.94    0.0120      -NaN      -NaN    245.54      -NaN
+  2448780.0    9.97   21.97   21.77    0.0120    -66.87     -2.75    222.29    -32.96
+  2448781.0    9.75   21.97   21.63    0.0120    -79.51     -5.07    221.78    -31.58
+  2448782.0    8.38   21.91   21.62    0.0119    -74.34     -3.66    204.65    -25.36
+  2448783.0    9.10   21.90   21.53    0.0120    -83.10     -5.09    240.53    -34.27
+  2448784.0    7.99   21.94   21.66    0.0120    -56.06     -3.45    245.63    -31.72
+  2448785.0    7.93   22.09   21.82    0.0122    -56.69     -3.11    185.79    -29.44
+  2448786.0    9.93   22.05   21.62    0.0121    -84.40     -6.78    243.49    -36.43
+  2448787.0    9.71   22.10   21.35    0.0123   -110.41    -11.63    249.54    -41.23
+  2448788.0    7.54   22.13   21.48    0.0123    -93.65     -8.02    188.96    -33.40
+  2448789.0    6.48   22.17   21.49    0.0123    -88.02     -7.08    232.53    -37.21
+  2448790.0    7.04   22.24   21.38    0.0124    -96.20     -9.93    238.33    -47.03
+  2448791.0    7.47   22.27   21.65    0.0123    -62.96     -7.43    213.88    -28.92
+  2448792.0    7.51   22.33   21.95    0.0124    -40.65     -4.27    211.18    -32.86
+  2448793.0    9.27   22.41   22.14    0.0124    -52.46     -3.77    233.04    -41.12
+  2448794.0    9.18   22.40   21.98    0.0126    -67.81     -5.96    226.16    -35.95
+  2448795.0    8.32   22.39   21.86    0.0126    -84.14     -7.06    212.80    -34.48
+  2448796.0    8.12   22.40   21.76    0.0127    -92.94     -8.35    233.10    -38.25
+  2448797.0    8.08   22.44   21.89    0.0127    -90.13     -6.98    193.67    -25.04
+  2448798.0    8.32   22.47   21.94    0.0127    -82.26     -6.99    212.81    -25.88
+  2448799.0    8.68   22.48   22.01    0.0126    -65.00     -6.43    228.06    -35.04
+  2448800.0    8.20   22.51   22.06    0.0127    -57.45     -5.86    229.84    -34.68
+  2448801.0    8.69   22.56   22.00    0.0127    -67.10     -7.65    235.09    -41.36
+  2448802.0    7.96   22.57   22.08    0.0126    -56.70     -6.13    188.22    -34.65
+  2448803.0    6.31   22.62   22.23    0.0126    -37.97     -3.76    243.81    -34.22
+  2448804.0    6.13   22.73   22.32    0.0126    -33.00     -3.74    260.70    -43.18
+  2448805.0    8.76   22.78   22.32    0.0126    -57.20     -6.39    253.13    -45.41
+  2448806.0    8.19   22.88   22.33    0.0126    -68.38     -7.14    223.73    -33.38
+  2448807.0    6.89   22.97   22.37    0.0125    -63.56     -6.67    224.08    -37.71
+  2448808.0    5.09   23.15   22.49    0.0126    -60.29     -5.50    240.89    -35.07
+  2448809.0    5.86   23.13   22.61    0.0127    -72.17     -4.88    249.94    -30.28
+  2448810.0    6.45   23.10   22.83    0.0127    -67.59     -2.53    158.72    -17.31
+  2448811.0    7.93   22.91   22.82    0.0127      -NaN      -NaN    148.19      -NaN
+  2448812.0    8.03   22.81   22.57    0.0126    -63.89     -3.10    191.25    -17.49
+  2448813.0    7.38   22.80   22.43    0.0126    -77.28     -4.29    209.81    -27.32
+  2448814.0    7.72   22.74   22.37    0.0127    -72.96     -4.34    228.30    -27.39
+  2448815.0    7.33   22.82   22.46    0.0126    -54.64     -3.97    195.49    -22.60
+  2448816.0    6.69   22.86   22.44    0.0126    -70.20     -4.46    189.65    -18.93
+  2448817.0    6.69   22.89   22.34    0.0125    -80.83     -5.91    152.07    -14.60
+  2448818.0    6.92   22.93   22.64    0.0125    -85.37     -2.98    223.44    -18.56
+  2448819.0    4.97   23.04   22.68    0.0125    -60.81     -2.85    232.11    -25.38
+  2448820.0    2.68   23.37   23.36    0.0126    -35.28      0.04    177.64    -20.00
+  2448821.0    2.90   23.54   23.39    0.0126       NaN       NaN    200.44       NaN
+  2448822.0    5.46   23.38   23.39    0.0126      -NaN      -NaN    250.47      -NaN
+  2448823.0    4.75   23.42   22.77    0.0126    -66.55     -5.13    146.33    -12.59
+  2448824.0    5.32   23.56   23.12    0.0126    -79.77     -3.50    138.54    -12.60
+  2448825.0    6.29   23.60   23.40    0.0126    -75.52     -1.81    196.17    -15.06
+  2448826.0    3.49   23.69   23.27    0.0126    -39.28     -2.46    112.23    -17.67
+  2448827.0    2.99   24.05   23.44    0.0127       NaN       NaN    219.98       NaN
+  2448828.0    7.52   23.92   23.56    0.0127    -54.62     -3.68    237.91    -28.27
+  2448829.0    7.50   23.80   23.12    0.0127    -73.60     -8.02    111.62    -13.72
+  2448830.0    5.74   23.82   22.82    0.0127    -73.48     -9.50    208.87    -19.48
+  2448831.0    5.76   23.77   22.86    0.0128    -62.59     -8.50    206.81    -19.91
+  2448832.0    4.86   23.83   23.11    0.0127    -46.45     -5.67    218.07    -22.46
+  2448833.0    4.66   23.72   23.30    0.0128    -54.46     -3.25    217.09    -23.84
+  2448834.0    3.83   23.87   23.66    0.0128    -41.65     -1.16    217.21    -17.08
+  2448835.0    7.08   23.75   23.50    0.0127    -62.76     -2.91    249.13    -29.97
+  2448836.0    7.54   23.52   23.17    0.0127    -97.49     -4.23    161.72    -24.90
+  2448837.0    5.35   23.64   23.11    0.0127    -71.99     -4.45    256.68    -40.46
+  2448838.0    4.48   23.74   23.24    0.0126    -66.43     -3.66    240.22    -29.12
+  2448839.0    3.24   23.97   23.59    0.0126    -38.06     -2.06    202.55    -21.32
+  2448840.0    5.97   23.98   23.70    0.0127    -53.66     -2.37    247.37    -26.83
+  2448841.0    8.51   23.98   23.77    0.0128    -80.96     -2.47    236.12    -26.86
+  2448842.0    8.54   23.87   23.70    0.0127    -62.80     -2.08    185.37    -13.90
+  2448843.0    5.13   24.09   23.90    0.0126       NaN       NaN    198.69       NaN
+  2448844.0    4.81   24.25   23.97    0.0126       NaN       NaN    240.92       NaN
+  2448845.0    8.12   24.26   23.74    0.0127    -85.32     -6.49    228.52    -28.74
+  2448846.0    7.37   24.53   23.52    0.0127   -124.41    -12.21    185.95    -17.53
+  2448847.0    4.37   24.60   23.59    0.0126    -94.15     -7.82    221.03    -31.79
+  2448848.0    2.74   24.95   24.22    0.0125    -63.58     -3.70    225.31    -24.75
+  2448849.0    3.97   24.90   24.23    0.0126    -47.16     -4.13    235.46    -31.58
+  2448850.0    7.57   24.56   24.54    0.0126      -NaN      -NaN    252.11      -NaN
+  2448851.0    5.32   24.41   24.00    0.0125    -62.36     -3.34    207.52    -19.94
+  2448852.0    6.45   24.38   23.71    0.0126   -106.77     -6.81    221.17    -24.02
+  2448853.0    6.98   24.35   23.78    0.0126   -101.38     -6.29    244.77    -30.97
+  2448854.0    5.48   24.50   24.10    0.0125    -51.89     -3.67    231.07    -23.74
+  2448855.0    5.42   24.66   24.17    0.0125    -47.18     -4.15    258.36    -33.57
+  2448856.0    6.40   24.67   24.35    0.0125    -56.28     -3.10    244.53    -28.88
+  2448857.0    8.40   24.60   24.34    0.0124    -61.88     -3.08    237.90    -30.45
+  2448858.0    7.72   24.56   24.08    0.0125    -74.50     -5.74    212.56    -27.50
+  2448859.0    8.19   24.47   23.94    0.0124    -91.64     -6.83    218.90    -35.65
+  2448860.0    8.95   24.33   24.18    0.0126      -NaN      -NaN    178.57      -NaN
+  2448861.0    4.71   24.64   24.87    0.0124      -NaN      -NaN    186.65      -NaN
+  2448862.0    2.51   25.60   25.36    0.0124      -NaN      -NaN    245.87      -NaN
+  2448863.0    4.26   25.75   25.35    0.0125    -43.20     -2.60    232.58    -24.71
+  2448864.0    4.34   25.26   24.95    0.0124    -56.75     -2.22    194.65    -24.97
+  2448865.0    5.54   25.27   24.69    0.0124    -83.77     -5.05    179.91    -20.84
+  2448866.0    6.63   25.05   24.31    0.0124   -118.05     -7.80    128.58    -16.91
+  2448867.0    5.70   24.87   24.28    0.0123    -76.49     -5.51    198.51    -21.70
+  2448868.0    5.04   24.99   24.67    0.0123    -34.31     -2.15    223.41    -29.88
+  2448869.0    2.62   25.35   24.81    0.0123       NaN       NaN    233.63       NaN
+  2448870.0    6.37   25.32   24.85    0.0124    -49.34     -4.35    197.15    -25.30
+  2448871.0    6.58   25.20   24.79    0.0125    -55.14     -4.34    173.74    -11.88
+  2448872.0    4.90   25.36   25.53    0.0124       NaN       NaN    209.81      -NaN
+  2448873.0    6.05   25.45   25.05    0.0125    -53.35     -4.01    214.21    -22.69
+  2448874.0    8.24   25.08   24.56    0.0125    -84.22     -6.80    226.48    -22.19
+  2448875.0    6.06   25.08   24.58    0.0125    -57.52     -4.98    188.80    -15.12
+  2448876.0    5.54   25.08   24.29    0.0126    -48.38     -7.11    156.05     -9.65
+  2448886.0    5.73   25.01   24.49    0.0124      -NaN      -NaN    222.14       NaN
+  2448887.0    4.53   25.24   24.73    0.0125      -NaN      -NaN    225.34       NaN
+  2448888.0    7.40   25.19   25.17    0.0124      -NaN      -NaN    238.26       NaN
+  2448889.0    9.09   25.12   24.89    0.0125      -NaN      -NaN    233.59       NaN
+  2448890.0    9.43   25.08   24.29    0.0125      -NaN      -NaN    231.71       NaN
+  2448891.0    9.12   25.03   24.16    0.0124      -NaN      -NaN    220.37       NaN
+  2448892.0    8.71   25.02   24.59    0.0125      -NaN      -NaN    214.23       NaN
+  2448893.0    7.97   25.03   24.96    0.0126      -NaN      -NaN    228.01       NaN
+  2448894.0    9.72   25.00   24.73    0.0127      -NaN      -NaN    233.65       NaN
+  2448895.0    9.48   25.01   24.45    0.0128      -NaN      -NaN    235.40       NaN
+  2448896.0    9.53   25.00   24.39    0.0128      -NaN      -NaN    200.79       NaN
+  2448897.0    8.31   25.00   24.38    0.0128      -NaN      -NaN    177.66       NaN
+  2448898.0    6.03   25.10   24.72    0.0128      -NaN      -NaN    146.14       NaN
+  2448899.0    4.47   25.01   24.51    0.0129      -NaN      -NaN     66.69       NaN
+  2448900.0    4.25   24.97   24.60    0.0128      -NaN      -NaN     79.60       NaN
+  2448901.0   *****   *****   *****    0.0129      -NaN      -NaN   *******       NaN
+  2448902.0   *****   *****   *****    0.0129       NaN       NaN   *******       NaN
+  2448903.0    6.89   24.90   24.14    0.0130   -106.52     -8.50    240.28    -72.24
+  2448904.0    6.75   24.86   24.06    0.0130   -106.65     -8.56    244.19    -72.45
+  2448905.0    7.64   24.84   24.04    0.0130   -138.55     -9.90    251.87    -72.65
+  2448906.0    6.70   24.85   24.14    0.0130   -138.34     -7.75    235.53    -72.32
+  2448907.0    5.74   24.78   24.22    0.0129   -107.65     -5.14    234.22    -72.33
+  2448908.0    4.98   24.85   24.38    0.0127    -85.48     -3.69    249.86    -75.06
+  2448909.0    5.14   24.84   24.49    0.0129    -74.74     -2.72    224.26    -68.46
+  2448910.0    5.34   24.85   24.38    0.0129    -78.22     -3.84    233.08    -70.01
+  2448911.0    4.93   24.90   24.40    0.0129    -77.78     -3.73    230.48    -62.04
+  2448912.0    4.52   25.01   24.73    0.0129    -49.48     -1.92    222.22    -56.58
+  2448913.0    5.02   25.10   24.88    0.0128    -52.49     -1.57    226.08    -57.50
+  2448914.0    5.97   25.12   24.99    0.0128    -56.94     -0.90    219.43    -59.09
+  2448915.0    7.48   25.15   25.03    0.0128      -NaN      -NaN    222.00      -NaN
+  2448916.0    8.38   25.20   25.46    0.0128       NaN       NaN    171.24      -NaN
+  2448917.0   10.65   25.23   25.35    0.0129      -NaN      -NaN    213.79      -NaN
+  2448918.0   11.76   25.31   23.97    0.0128   -262.12    -25.83    171.57    -60.64
+  2448919.0    9.85   25.33   23.67    0.0129   -282.75    -27.10    212.55    -71.08
+  2448920.0    8.70   25.26   23.63    0.0129   -235.24    -23.69    210.37    -79.58
+  2448921.0    8.66   25.23   24.57    0.0128   -195.54     -8.97    202.82    -63.96
+  2448922.0    8.09   25.19   24.57    0.0128   -137.67     -7.86    146.13    -46.30
+  2448923.0    9.08   25.15   24.46    0.0126   -146.55     -9.90    185.03    -51.96
+  2448924.0    8.87   25.15   23.75    0.0127   -165.10    -20.47    197.20    -63.03
+  2448925.0    8.06   25.14   23.69    0.0125   -179.92    -19.28    184.63    -53.19
+  2448926.0    6.15   25.09   23.41    0.0126   -155.84    -17.54    192.32    -58.84
+  2448927.0    4.68   25.13   23.67    0.0125   -103.74    -11.94    195.27    -56.53
+  2448928.0    6.78   25.06   23.97    0.0126   -103.20    -11.97    115.04    -47.20
+  2448929.0    8.04   25.00   24.49    0.0125   -132.26     -6.33    161.06    -62.23
+  2448930.0    6.14   25.02   24.40    0.0125   -102.49     -6.13    206.61    -81.34
+  2448931.0    6.32   24.97   24.22    0.0125   -104.80     -7.68    220.25    -90.32
+  2448932.0    6.33   24.93   24.59    0.0125   -121.15     -2.39    204.13    -90.30
+  2448933.0    8.09   24.86   24.50    0.0123   -172.55     -4.50    203.34    -89.50
+  2448934.0    9.27   24.78   24.00    0.0126   -204.98    -11.34    218.87    -91.68
+  2448935.0    8.84   24.71   22.82    0.0125   -205.05    -27.75    202.38    -85.02
+  2448936.0    7.80   24.62   22.89    0.0126   -178.44    -22.23    210.60    -89.92
+  2448937.0    9.24   24.54   23.34    0.0125   -185.64    -18.00    203.21    -80.04
+  2448938.0    7.96   24.51   23.62    0.0125   -123.72    -11.40    175.31    -50.92
+  2448939.0    6.56   24.53   23.81    0.0124    -79.76     -7.81    178.06    -57.80
+  2448940.0    5.56   24.54   24.39    0.0122    -64.45     -1.20    168.81    -51.74
+  2448941.0    6.66   24.49   24.56    0.0123    -98.37      0.83    154.36    -66.28
+  2448942.0   10.00   24.39   23.41    0.0122   -181.48    -16.25    160.05    -65.34
+  2448943.0    9.89   24.30   22.40    0.0124   -204.39    -31.29    190.02    -74.98
+  2448944.0    7.92   24.24   22.46    0.0125   -157.35    -24.07    205.30    -85.43
+  2448945.0    7.44   24.20   23.53    0.0124   -129.94     -8.16    166.36    -77.25
+  2448946.0    8.24   24.12   23.55    0.0125   -222.40     -7.57    194.32    -82.93
+  2448947.0    7.21   24.02   22.83    0.0124   -185.61    -14.25    155.44    -85.41
+  2448948.0    4.29   23.97   22.62    0.0124   -116.85    -10.40     93.65    -67.49
+  2448949.0    4.31   24.02   23.06    0.0122    -92.17     -6.65    168.94    -67.52
+  2448950.0    6.38   23.97   23.93    0.0121   -109.90     -0.35    164.34    -68.54
+  2448951.0    7.70   23.93   23.65    0.0120   -150.51     -3.18    170.90    -77.15
+  2448952.0    7.23   23.89   23.56    0.0120   -132.31     -3.48    177.64    -75.54
+  2448953.0    6.05   23.87   23.41    0.0119   -105.70     -4.28    166.13    -65.76
+  2448954.0    5.00   23.94   24.20    0.0118      -NaN      -NaN     62.22      -NaN
+  2448955.0    7.07   23.92   23.85    0.0118   -160.04     -0.29     51.33    -42.17
+  2448956.0    6.87   23.86   23.23    0.0116   -129.99     -7.12    105.27    -51.95
+  2448957.0    8.18   23.77   22.86    0.0116   -146.71    -12.03    104.11    -59.76
+  2448958.0    9.03   23.71   22.73    0.0115   -178.03    -14.37    165.97    -73.13
+  2448959.0    9.18   23.57   22.21    0.0113   -189.74    -20.69    195.18    -91.26
+  2448960.0    8.52   23.51   22.01    0.0114   -173.14    -21.13    190.25    -91.78
+  2448961.0    7.90   23.33   22.32    0.0112   -132.38    -13.26    130.58    -75.40
+  2448962.0    8.18   23.14   22.37    0.0117   -141.36    -10.05    166.40    -81.23
+  2448963.0    8.69   22.99   21.83    0.0116   -133.62    -16.46    189.51    -82.81
+  2448964.0    8.39   22.89   21.24    0.0118   -128.78    -23.04    191.46    -86.68
+  2448965.0    8.11   22.76   20.88    0.0117   -139.18    -25.56    183.67    -79.02
+  2448966.0    6.77   22.49   20.52    0.0117   -132.05    -22.87    185.90    -80.38
+  2448967.0    5.52   22.15   20.63    0.0117   -115.00    -14.19    160.06    -68.76
+  2448968.0    6.15   21.70   20.61    0.0118   -124.76    -11.30    189.03    -76.81
+  2448969.0    6.00   21.52   20.61    0.0118   -118.33     -8.97    189.24    -80.34
+  2448970.0    6.90   21.65   20.85    0.0118   -123.18     -9.04    186.93    -78.01
+  2448971.0    7.54   21.33   20.56    0.0119    -98.52     -9.33    174.91    -70.47
+  2448972.0    8.94   21.52   20.82    0.0119   -102.25    -10.17    178.45    -76.73
+  2448973.0    8.54   21.41   21.00    0.0119    -69.14     -5.59    188.00    -76.04
+  2448974.0    8.54   21.26   21.01    0.0120    -63.67     -3.22    186.91    -71.20
+  2448975.0    8.27   21.30   20.84    0.0121    -74.95     -6.08    177.37    -68.20
+  2448976.0    8.99   21.24   20.89    0.0121   -101.12     -4.95    146.03    -48.24
+  2448977.0    9.20   21.35   20.59    0.0120   -156.83    -11.30    160.76    -63.39
+  2448978.0    8.19   21.29   20.27    0.0120   -162.19    -13.75    166.03    -67.32
+  2448979.0    7.45   21.16   20.26    0.0119   -146.63    -11.03    162.58    -69.66
+  2448980.0    6.30   21.06   20.48    0.0120   -109.08     -5.94    173.61    -65.23
+  2448981.0    7.14   21.05   20.40    0.0120   -124.78     -7.48    139.92    -58.08
+  2448982.0    6.51   21.10   20.44    0.0121    -91.61     -6.96     97.44    -40.78
+  2448983.0    7.22   21.11   20.74    0.0119    -86.53     -4.18     73.41    -40.90
+  2448984.0    8.22   21.06   20.61    0.0121    -98.51     -5.85    111.98    -48.08
+  2448985.0    8.02   21.05   20.38    0.0121   -113.95     -8.62    164.48    -65.66
+  2448986.0    9.01   21.03   20.39    0.0121   -156.52     -9.17    188.09    -73.64
+  2448987.0    8.36   21.14   20.23    0.0123   -166.38    -12.50    178.12    -68.09
Index: /trunk/src/paper01/fig14/met_data_subduct_ses_93.txt
===================================================================
--- /trunk/src/paper01/fig14/met_data_subduct_ses_93.txt	(revision 41)
+++ /trunk/src/paper01/fig14/met_data_subduct_ses_93.txt	(revision 41)
@@ -0,0 +1,171 @@
+time  ws(m/s)   sst(C)  at(C)  q2m(g/kg)   lhf(w/m2)   shf(w/m2)   swr(w/m2)   lwr(s/m2)
+  2448989.0    8.56   21.16   20.33    0.0106   -137.29    -11.42    105.53    -51.84
+  2448990.0    8.92   21.16   20.38    0.0106   -136.21    -11.21     40.02    -42.28
+  2448991.0    9.98   21.07   20.34    0.0110   -142.46    -11.90     37.67    -31.18
+  2448992.0    6.56   21.18   20.10    0.0108    -96.78    -12.06     89.63    -31.33
+  2448993.0    5.71   21.07   20.32    0.0110    -67.45     -7.16    138.43    -40.26
+  2448994.0    6.63   21.28   20.77    0.0107    -78.59     -5.64    170.99    -53.80
+  2448995.0    8.43   21.36   20.94    0.0108   -153.41     -5.61    111.70    -52.95
+  2448996.0    9.04   21.37   20.62    0.0109   -177.31    -11.09     72.70    -38.98
+  2448997.0    5.16   21.27   20.71    0.0110    -65.16     -4.71     67.16    -39.02
+  2448998.0    7.70   21.30   20.55    0.0109   -131.61     -9.44    145.34    -63.89
+  2448999.0    7.91   21.30   20.66    0.0107   -144.71     -8.21     94.61    -47.57
+  2449000.0    8.34   21.25   20.45    0.0109   -162.80    -10.81    101.70    -49.58
+  2449001.0    7.32   21.19   20.51    0.0109   -125.28     -8.12     80.81    -55.78
+  2449002.0    7.06   21.10   20.69    0.0109   -102.25     -4.60    126.10    -60.51
+  2449003.0    6.20   21.21   20.91    0.0109    -69.77     -2.80    150.26    -69.75
+  2449004.0    6.50   21.28   21.18    0.0109    -76.49     -0.84    161.10    -74.38
+  2449005.0    6.85   21.29   20.85    0.0109    -88.36     -4.74    184.13    -89.91
+  2449006.0    6.54   21.31   20.40    0.0108    -89.12     -9.66    169.09    -91.36
+  2449007.0    6.78   21.28   20.01    0.0107    -94.38    -14.43    180.13    -89.14
+  2449008.0    7.07   21.32   20.24    0.0111    -99.02    -12.67    183.67    -84.29
+  2449009.0    8.66   21.33   20.55    0.0109   -123.31    -11.31    123.42    -69.92
+  2449010.0    9.02   21.36   20.64    0.0108   -134.96    -10.47    158.50    -70.50
+  2449011.0    7.94   21.48   20.63    0.0110   -121.19    -11.10    177.95    -77.76
+  2449012.0    5.76   21.60   20.61    0.0110    -87.03     -9.89    168.16    -76.55
+  2449013.0    5.16   21.62   20.28    0.0112    -71.34    -11.77    174.20    -79.41
+  2449014.0    5.52   21.71   20.77    0.0113    -70.93     -8.64    176.01    -76.76
+  2449015.0    6.72   21.72   21.88    0.0112       NaN       NaN     83.35      -NaN
+  2449016.0    8.49   21.66   21.37    0.0111   -154.60     -3.74     87.68    -50.88
+  2449017.0    8.65   21.56   20.54    0.0112   -165.01    -14.24    139.67    -63.50
+  2449018.0    9.09   21.45   19.88    0.0114   -168.19    -23.75    128.70    -64.33
+  2449019.0    7.94   21.37   19.74    0.0113   -163.16    -21.86    110.53    -48.12
+  2449020.0    7.90   21.31   19.74    0.0114   -160.86    -20.96    137.75    -49.52
+  2449021.0    9.13   21.26   19.73    0.0113   -180.56    -23.34    170.48    -68.83
+  2449022.0    8.49   21.20   19.58    0.0115   -191.40    -23.08    164.40    -53.57
+  2449023.0    8.99   21.15   19.52    0.0117   -189.19    -24.45    181.65    -73.07
+  2449024.0    8.94   21.02   19.48    0.0116   -173.66    -22.77    191.04    -75.02
+  2449025.0    9.54   20.97   19.34    0.0118   -194.80    -26.01    194.37    -78.36
+  2449026.0    9.43   20.92   19.17    0.0116   -208.10    -27.81    193.05    -68.46
+  2449027.0    8.72   20.83   19.40    0.0116   -154.23    -20.76    198.31    -73.91
+  2449028.0    8.19   20.81   20.03    0.0115   -107.50    -10.37    162.56    -56.42
+  2449029.0    7.23   20.81   20.73    0.0116       NaN       NaN     99.74      -NaN
+  2449030.0    8.31   20.68   20.67    0.0116    -76.89      0.19     92.66    -52.15
+  2449031.0    9.01   20.64   20.79    0.0115       NaN       NaN    196.72      -NaN
+  2449032.0    8.45   20.72   20.27    0.0115    -65.31     -6.01    188.98    -67.48
+  2449033.0    8.20   20.64   19.57    0.0116    -85.26    -14.60    182.24    -69.65
+  2449034.0    5.95   20.74   19.74    0.0116    -66.34    -10.66    183.23    -69.39
+  2449035.0    3.87   20.78   20.03    0.0118    -40.08     -5.07    146.35    -57.93
+  2449036.0    5.20   20.83   20.14    0.0117    -65.67     -6.07    178.29    -66.08
+  2449037.0    4.26   20.87   20.25    0.0118    -79.48     -4.54    175.62    -68.86
+  2449038.0    4.04   20.91   20.08    0.0119    -77.08     -5.89    184.99    -62.57
+  2449039.0    4.66   20.87   20.16    0.0118    -66.49     -5.55     97.12    -43.38
+  2449040.0    6.30   20.87   20.18    0.0117   -101.77     -6.99    200.82    -69.67
+  2449041.0    6.64   20.89   19.97    0.0117   -118.44    -10.01    205.47    -70.83
+  2449042.0    6.01   20.92   19.84    0.0119   -115.72    -10.93    195.66    -71.35
+  2449043.0    5.79   20.92   19.58    0.0119   -116.40    -13.21    202.05    -70.28
+  2449044.0    6.19   20.80   19.95    0.0119    -96.09     -8.56    174.68    -63.92
+  2449045.0    6.85   20.77   20.08    0.0119    -77.13     -7.58    213.08    -67.45
+  2449046.0    8.22   20.72   19.76    0.0120    -94.11    -13.05    216.32    -64.05
+  2449047.0    7.81   20.63   19.42    0.0119   -136.79    -15.76    192.95    -58.89
+  2449048.0    6.92   20.60   19.28    0.0118   -129.22    -15.25    219.03    -66.38
+  2449049.0    6.21   20.68   19.08    0.0118   -135.98    -17.11    224.09    -77.23
+  2449050.0    4.84   20.77   19.54    0.0118    -99.41    -10.61    220.26    -78.15
+  2449051.0    3.25   20.99   19.93    0.0118    -66.79     -6.25    224.06    -71.34
+  2449052.0    3.83   20.93   20.03    0.0120    -73.34     -6.17    192.90    -64.51
+  2449053.0    7.25   20.84   20.00    0.0119   -105.05     -9.88    210.08    -61.34
+  2449054.0    8.99   20.74   20.03    0.0119   -113.44    -10.17    193.83    -51.50
+  2449055.0    8.82   20.68   19.83    0.0120   -132.61    -12.16    174.36    -48.81
+  2449056.0    7.97   20.66   19.57    0.0121   -150.24    -14.40    227.45    -67.63
+  2449057.0    7.45   20.64   19.62    0.0119   -137.77    -12.52    199.83    -46.77
+  2449058.0    8.63   20.73   19.73    0.0120   -133.92    -14.11    191.17    -44.93
+  2449059.0    9.06   20.73   19.75    0.0119   -106.02    -14.39    227.40    -59.37
+  2449060.0   10.27   20.76   19.81    0.0117   -124.64    -15.92    239.32    -65.95
+  2449061.0    9.66   20.75   19.94    0.0119    -98.58    -12.74    235.03    -65.52
+  2449062.0    7.49   20.75   19.79    0.0120   -101.96    -12.53    213.40    -62.36
+  2449063.0    3.59   21.18   20.38    0.0120    -59.96     -4.71    213.52    -56.56
+  2449064.0    5.20   21.00   20.67    0.0119    -61.45     -2.59    216.61    -51.75
+  2449065.0    3.48   21.18   20.59    0.0119    -47.42     -3.43    221.41    -64.93
+  2449066.0    5.06   20.94   20.18    0.0118    -65.90     -6.26    221.01    -61.07
+  2449067.0    8.46   20.98   20.60    0.0116    -66.28     -4.60    153.80    -32.45
+  2449068.0   10.16   20.79   20.81    0.0118       NaN       NaN    142.17      -NaN
+  2449069.0    8.31   20.74   20.69    0.0115       NaN       NaN    158.87      -NaN
+  2449070.0    6.52   20.87   20.64    0.0115    -23.66     -2.27    188.48    -38.58
+  2449071.0    8.69   20.91   20.76    0.0115    -53.30     -1.82    217.95    -51.09
+  2449072.0    8.82   20.99   20.62    0.0114    -48.27     -5.00    208.79    -45.05
+  2449073.0    9.61   21.04   20.29    0.0114    -69.54    -11.62    219.83    -46.30
+  2449074.0    9.48   20.98   19.87    0.0115    -99.45    -17.39    152.02    -36.30
+  2449075.0    8.77   20.95   19.81    0.0114   -107.82    -16.50    186.26    -37.85
+  2449076.0    8.75   20.88   19.80    0.0116   -128.37    -15.53    179.31    -42.71
+  2449077.0    8.83   20.76   19.80    0.0117   -150.09    -13.89    202.28    -34.88
+  2449078.0    8.71   20.66   19.68    0.0114   -134.17    -13.98    154.61    -35.15
+  2449079.0    8.61   20.50   19.64    0.0116   -102.01    -12.16    101.91    -28.72
+  2449080.0    7.68   20.38   19.89    0.0115    -69.79     -5.81    106.58    -20.59
+  2449081.0    7.93   20.40   19.92    0.0117    -99.84     -6.15    203.49    -36.04
+  2449082.0    6.70   20.44   20.08    0.0120    -82.85     -3.68    159.40    -29.49
+  2449083.0    6.33   20.49   19.97    0.0116    -62.48     -5.27    149.66    -30.76
+  2449084.0    6.11   20.58   20.25    0.0117    -44.64     -3.07    152.30    -26.03
+  2449085.0    6.03   20.65   20.37    0.0118    -58.60     -2.34    183.74    -37.02
+  2449086.0    6.26   20.78   20.07    0.0117    -77.22     -7.25    204.44    -43.98
+  2449087.0    6.12   20.90   20.30    0.0117    -37.48     -6.05    180.82    -32.55
+  2449088.0    6.64   21.02   21.04    0.0121       NaN       NaN    222.98      -NaN
+  2449089.0    7.63   21.10   20.96    0.0119       NaN       NaN    225.02      -NaN
+  2449090.0    7.81   21.12   19.90    0.0119    -79.82    -15.66    243.40    -50.19
+  2449091.0    6.90   21.16   19.79    0.0119   -105.58    -15.85    192.94    -25.90
+  2449092.0    6.76   21.19   20.22    0.0121    -94.74    -10.84    186.64    -31.75
+  2449093.0    7.76   21.20   20.17    0.0119    -80.13    -13.07    217.86    -41.31
+  2449094.0    8.87   21.17   20.19    0.0119    -88.39    -14.24    230.22    -48.38
+  2449095.0    9.15   21.10   19.78    0.0119   -120.84    -20.01    190.99    -41.19
+  2449096.0    7.27   21.11   19.55    0.0120   -113.93    -19.16    233.71    -53.85
+  2449097.0    6.17   21.07   19.76    0.0119    -95.06    -13.64    227.22    -45.61
+  2449098.0    6.15   21.10   20.30    0.0120   -100.74     -8.12    204.83    -39.42
+  2449099.0    5.96   21.17   20.50    0.0119    -74.63     -6.46    220.63    -38.75
+  2449100.0    5.22   21.24   20.54    0.0120    -69.53     -5.92    208.65    -40.58
+  2449101.0    7.64   21.22   20.56    0.0118   -108.87     -7.93    227.47    -65.20
+  2449102.0    8.47   21.20   20.39    0.0118   -126.59    -11.16    191.25    -53.36
+  2449103.0    8.80   21.13   20.05    0.0119   -117.98    -15.51    116.53    -44.34
+  2449104.0    7.56   21.08   20.11    0.0118    -98.23    -12.20     62.73    -37.74
+  2449105.0    8.21   21.13   20.25    0.0119   -108.13    -11.68    227.29    -56.64
+  2449106.0    6.90   21.22   20.17    0.0118   -101.05    -11.95    205.81    -54.80
+  2449107.0    7.10   21.25   20.16    0.0117   -101.93    -12.78    214.63    -55.18
+  2449108.0    6.72   21.29   20.21    0.0119    -87.48    -11.93    192.95    -53.07
+  2449109.0    6.61   21.33   20.66    0.0117    -56.54     -7.43    140.70    -32.20
+  2449110.0    8.15   21.33   20.93    0.0119    -48.74     -5.05    109.28    -25.68
+  2449111.0    8.64   21.30   20.50    0.0116    -91.08    -11.28    158.70    -34.35
+  2449112.0    9.26   21.25   20.39    0.0116   -133.84    -12.89    225.03    -54.58
+  2449113.0    9.31   21.22   20.13    0.0116   -141.27    -16.78    215.94    -54.07
+  2449114.0    7.94   21.29   20.17    0.0116    -93.78    -14.60    235.57    -57.82
+  2449115.0    8.18   21.38   20.34    0.0116    -87.74    -13.89    222.38    -48.93
+  2449116.0    7.22   21.43   20.39    0.0117    -98.34    -12.32    201.09    -47.07
+  2449117.0    7.17   21.42   20.53    0.0119    -89.67    -10.45    237.61    -56.57
+  2449118.0    7.34   21.43   20.61    0.0116    -93.58     -9.69    247.11    -58.51
+  2449119.0    7.98   21.49   20.72    0.0117    -90.30     -9.86    243.52    -55.81
+  2449120.0    7.50   21.54   20.89    0.0116    -59.56     -7.73    234.37    -47.43
+  2449121.0    8.16   21.63   20.94    0.0118    -65.91     -9.02    240.73    -49.99
+  2449122.0    7.85   21.72   21.13    0.0118    -65.69     -7.30    243.82    -53.20
+  2449123.0    7.14   21.81   21.13    0.0117    -55.22     -7.69    251.73    -60.22
+  2449124.0    7.42   21.90   21.47    0.0115    -53.41     -4.86    244.93    -59.03
+  2449125.0    8.84   21.95   21.88    0.0118    -76.65     -0.63    239.47    -53.48
+  2449126.0    9.06   21.98   21.61    0.0116    -60.58     -5.33    143.22    -39.55
+  2449127.0    9.69   22.02   21.54    0.0116    -80.33     -7.25    172.95    -39.84
+  2449128.0    9.40   22.02   21.23    0.0119   -104.63    -12.06    221.23    -45.29
+  2449129.0    9.33   22.01   21.17    0.0117   -114.63    -12.74    233.70    -46.15
+  2449130.0    9.05   22.03   21.21    0.0118   -108.97    -11.87    210.28    -33.15
+  2449131.0    8.34   22.04   21.30    0.0117   -100.90     -9.83    188.98    -31.76
+  2449132.0    7.49   22.04   21.18    0.0118   -107.18    -10.53    196.54    -31.84
+  2449133.0    6.54   22.11   21.30    0.0118    -81.00     -8.59    234.23    -45.38
+  2449134.0    6.78   22.14   21.58    0.0118    -66.67     -6.00    256.00    -49.92
+  2449135.0    7.49   22.16   21.53    0.0118    -71.83     -7.40    244.82    -47.62
+  2449136.0    8.39   22.21   21.58    0.0118    -61.63     -8.30    254.31    -50.25
+  2449137.0    8.42   22.31   21.71    0.0117    -68.34     -7.80    241.20    -47.51
+  2449138.0    8.22   22.35   21.50    0.0117    -81.71    -11.18    243.79    -49.85
+  2449139.0    8.48   22.38   21.53    0.0117    -85.33    -11.54    265.56    -59.97
+  2449140.0    8.67   22.35   21.51    0.0117   -100.20    -11.90    193.01    -45.16
+  2449141.0    7.55   22.38   21.37    0.0119    -81.61    -12.51    255.26    -55.40
+  2449142.0    8.00   22.36   21.52    0.0118    -72.31    -10.78    235.20    -45.13
+  2449143.0    7.69   22.37   21.62    0.0116    -69.20     -9.24    251.73    -53.67
+  2449144.0    8.20   22.41   21.75    0.0114    -75.59     -8.49    257.27    -52.38
+  2449145.0    8.08   22.41   21.85    0.0115    -82.77     -7.34    184.99    -33.29
+  2449146.0    7.09   22.44   21.68    0.0113    -92.54     -8.94    209.28    -34.09
+  2449147.0    6.96   22.46   21.76    0.0112    -95.09     -7.90    226.18    -39.20
+  2449148.0    6.65   22.47   21.83    0.0114    -80.35     -6.90    185.44    -28.93
+  2449149.0    7.64   22.49   21.89    0.0113    -65.27     -7.27    194.00    -35.97
+  2449150.0    9.69   22.48   22.17    0.0111    -61.63     -4.60    255.76    -49.01
+  2449151.0   10.46   22.45   21.85    0.0112    -90.91    -10.08    202.63    -34.33
+  2449152.0    8.68   22.44   21.83    0.0113   -106.56     -8.61    190.06    -29.03
+  2449153.0    7.40   22.46   21.85    0.0114   -103.88     -7.32    231.33    -45.12
+  2449154.0    7.68   22.47   21.93    0.0115    -89.15     -6.63    187.68    -32.01
+  2449155.0    8.12   22.50   22.09    0.0112    -54.73     -5.19    209.70    -34.97
+  2449156.0    6.26   22.61   22.28    0.0114    -27.40     -3.17    213.46    -29.95
+  2449157.0    6.83   22.65   22.19    0.0114    -33.69     -4.37    208.77    -32.84
+  2449158.0    8.04   22.62   22.30    0.0114    -27.42     -3.86     -4.36    -41.38
Index: /trunk/src/paper01/fig14/met_data_subduct_sws_91_v1.txt
===================================================================
--- /trunk/src/paper01/fig14/met_data_subduct_sws_91_v1.txt	(revision 41)
+++ /trunk/src/paper01/fig14/met_data_subduct_sws_91_v1.txt	(revision 41)
@@ -0,0 +1,130 @@
+time  ws(m/s)   sst(C)  at(C)  q2m(g/kg)   lhf(w/m2)   shf(w/m2)   swr(w/m2)   lwr(s/m2)
+  2448434.0    7.61   23.65   23.40    0.0145   -108.46     -2.68    236.20    -50.08
+  2448435.0    7.79   23.55   23.26    0.0147   -153.42     -3.36    209.75    -37.96
+  2448436.0    5.21   23.68   23.75    0.0147   -125.02      0.73    275.59    -50.78
+  2448437.0    3.65   23.89   23.85    0.0151    -85.34     -0.30    279.66    -52.38
+  2448438.0    5.82   23.79   23.72    0.0150    -97.10     -0.36    189.14    -40.96
+  2448439.0    7.81   23.73   23.65    0.0150   -109.57     -0.56    239.44    -47.89
+  2448440.0    8.70   23.66   23.67    0.0145   -119.53      0.52    177.81    -33.40
+  2448441.0    7.42   23.61   23.68    0.0145   -129.19      1.24    188.03    -30.73
+  2448442.0    5.88   23.69   23.81    0.0147   -113.28      1.32    271.85    -52.08
+  2448443.0    6.00   23.72   23.65    0.0148   -103.94     -0.37    243.25    -51.05
+  2448444.0    6.93   23.71   23.61    0.0150   -114.55     -0.76    255.56    -57.28
+  2448445.0    7.11   23.73   23.59    0.0150   -103.00     -1.43    208.18    -43.39
+  2448446.0    7.52   23.77   23.58    0.0148    -76.69     -1.95    125.66    -17.94
+  2448447.0    8.73   23.80   23.52    0.0145   -123.73     -3.63    200.81    -33.29
+  2448448.0    8.04   23.86   23.88    0.0149   -110.88      0.65    171.47    -29.76
+  2448449.0    7.79   23.94   23.97    0.0149   -110.40      0.81    170.40    -22.18
+  2448450.0    7.73   23.99   23.87    0.0147   -105.06     -1.16    239.65    -43.12
+  2448451.0    7.54   24.00   23.90    0.0148   -109.38     -0.83    198.38    -40.97
+  2448452.0    7.05   24.06   23.97    0.0147    -68.78     -0.70    173.11    -36.15
+  2448453.0    6.41   24.06   23.89    0.0146    -87.32     -1.61    236.77    -41.57
+  2448454.0    6.20   24.07   23.91    0.0149   -100.05     -1.47    173.08    -29.04
+  2448455.0    7.15   24.11   24.17    0.0149   -115.67      0.99    179.16    -23.14
+  2448456.0    7.28   24.16   24.22    0.0148    -99.53      1.01    195.91    -24.49
+  2448457.0    7.30   24.27   24.14    0.0140      -NaN      -NaN    149.61      -NaN
+  2448458.0    6.76   24.40   24.40    0.0145      -NaN      -NaN    243.88      -NaN
+  2448459.0    7.82   24.40   24.27    0.0146    -81.45     -1.26    223.03    -40.17
+  2448460.0    8.00   24.31   24.40    0.0147   -111.29      1.49    189.15    -21.78
+  2448461.0    7.68   24.37   24.28    0.0145   -112.55     -0.79    266.58    -43.47
+  2448462.0    5.59   24.46   23.92    0.0147    -78.98     -4.64    219.47    -33.53
+  2448463.0    5.41   24.59   24.38    0.0145    -45.25     -1.78    254.12    -49.10
+  2448464.0    6.57   24.55   24.29    0.0143    -75.92     -2.46    192.27    -35.57
+  2448465.0    6.44   24.54   24.21    0.0143    -92.45     -3.19    260.21    -57.38
+  2448466.0    5.62   24.57   24.08    0.0144   -103.83     -4.40    284.20    -75.39
+  2448467.0    4.51   24.64   24.04    0.0144    -89.39     -4.40    289.10    -76.44
+  2448468.0    5.05   24.73   24.21    0.0145    -85.74     -4.19    281.81    -66.39
+  2448469.0    6.75   24.76   24.62    0.0143    -63.28     -1.16    235.62    -47.23
+  2448470.0    6.61   24.82   24.74    0.0142    -71.98     -0.59    241.46    -47.70
+  2448471.0    5.69   24.89   24.57    0.0146    -82.91     -2.81    215.68    -44.76
+  2448472.0    5.88   24.83   24.43    0.0146    -76.58     -3.61    218.89    -52.69
+  2448473.0    6.72   24.89   24.83    0.0146    -56.42     -0.52    251.61    -43.12
+  2448474.0    8.81   24.84   24.81    0.0145    -78.23     -0.08    209.66    -45.70
+  2448475.0    8.31   24.81   24.98    0.0147   -119.15      2.70    192.88    -29.32
+  2448476.0    6.67   24.86   24.91    0.0145   -114.74      0.79    232.24    -37.65
+  2448477.0    6.19   24.88   24.69    0.0145    -94.31     -1.55    243.21    -48.70
+  2448478.0    6.44   24.87   24.89    0.0146    -86.96      0.57    200.56    -28.46
+  2448479.0    7.08   24.84   24.87    0.0148      -NaN      -NaN    190.67      -NaN
+  2448480.0    6.15   24.96   24.99    0.0147      -NaN      -NaN    233.95      -NaN
+  2448481.0    5.03   25.18   24.98    0.0144      -NaN      -NaN    200.14      -NaN
+  2448482.0    5.62   25.20   24.95    0.0144    -63.84     -2.05    244.68    -37.06
+  2448483.0    5.82   25.24   24.97    0.0147    -77.98     -2.30    266.60    -53.92
+  2448484.0    6.08   25.32   24.92    0.0147    -88.89     -3.57    257.07    -50.88
+  2448485.0    5.99   25.36   25.01    0.0148    -86.49     -3.24    252.73    -50.98
+  2448486.0    5.88   25.35   25.10    0.0147    -62.06     -2.25    196.01    -45.52
+  2448487.0    6.05   25.35   25.17    0.0147    -71.45     -1.41    252.04    -55.64
+  2448488.0    6.53   25.36   25.13    0.0148    -84.43     -2.10    232.30    -52.51
+  2448489.0    5.59   25.42   24.92    0.0145    -90.48     -4.42    266.40    -65.60
+  2448490.0    6.21   25.47   25.06    0.0146    -96.22     -4.01    268.90    -69.50
+  2448491.0    7.37   25.41   25.21    0.0149   -101.08     -1.93    248.22    -65.25
+  2448492.0    7.38   25.41   25.47    0.0146      -NaN      -NaN    236.96      -NaN
+  2448493.0    6.34   25.47   25.47    0.0148      -NaN      -NaN    216.84      -NaN
+  2448494.0    6.45   25.59   25.43    0.0146    -60.84     -1.35    245.30    -45.68
+  2448495.0    6.01   25.66   25.40    0.0143    -70.01     -2.34    251.02    -46.06
+  2448496.0    6.26   25.78   25.71    0.0144      -NaN      -NaN    251.03      -NaN
+  2448497.0    6.19   25.87   25.73    0.0143    -50.65     -1.17    239.85    -39.10
+  2448498.0    7.39   25.88   25.77    0.0143    -92.69     -0.97    236.32    -39.24
+  2448499.0    7.04   25.87   25.75    0.0145   -101.49     -1.03    234.17    -38.26
+  2448500.0    7.10   25.88   25.83    0.0145   -125.25     -0.30    267.00    -51.75
+  2448501.0    6.46   25.90   25.56    0.0146   -108.86     -3.40    266.63    -61.49
+  2448502.0    6.64   25.87   25.50    0.0147   -111.69     -3.93    242.23    -56.81
+  2448503.0    6.97   25.95   25.74    0.0145    -70.58     -1.96    251.51    -37.65
+  2448504.0    6.50   26.01   25.88    0.0146      -NaN      -NaN    244.20      -NaN
+  2448505.0    7.45   26.03   25.86    0.0143    -60.84     -1.71    233.44    -42.28
+  2448506.0    5.57   26.19   26.15    0.0146      -NaN      -NaN    267.72      -NaN
+  2448507.0    5.91   26.27   25.99    0.0148    -49.49     -2.35    247.78    -51.52
+  2448508.0    7.45   26.22   26.21    0.0145      -NaN      -NaN    239.93      -NaN
+  2448509.0    6.59   26.29   25.94    0.0147    -69.61     -3.30    258.34    -58.69
+  2448510.0    7.32   26.38   26.02    0.0147    -74.58     -4.03    261.53    -67.01
+  2448511.0    7.07   26.42   26.12    0.0145    -89.63     -3.21    264.14    -60.48
+  2448512.0    7.36   26.36   26.06    0.0148    -88.77     -3.19    231.33    -48.39
+  2448513.0    7.52   26.39   26.14    0.0144    -77.75     -2.70    170.08    -39.59
+  2448514.0    8.68   26.37   26.11    0.0146   -107.62     -3.08    237.72    -50.13
+  2448515.0    7.77   26.32   26.15    0.0148   -115.97     -1.81    239.81    -56.73
+  2448516.0    6.80   26.32   25.96    0.0146   -100.86     -3.90    251.03    -59.30
+  2448517.0    6.69   26.30   25.96    0.0146    -86.38     -3.41    246.58    -57.08
+  2448518.0    7.20   26.31   26.06    0.0145    -75.97     -2.46    228.31    -49.53
+  2448519.0    9.56   26.23   26.24    0.0147    -80.51      0.73    230.84    -49.53
+  2448520.0    8.59   26.16   26.17    0.0145      -NaN      -NaN    188.59      -NaN
+  2448521.0    7.34   26.21   25.95    0.0144   -103.12     -2.73    241.60    -56.72
+  2448522.0    5.48   26.26   25.79    0.0147    -89.17     -4.13    260.60    -64.73
+  2448523.0    5.56   26.32   25.85    0.0146    -86.88     -4.13    249.59    -65.60
+  2448524.0    6.68   26.32   25.95    0.0141   -101.34     -3.59    244.92    -54.78
+  2448525.0    8.26   26.31   26.01    0.0144   -120.21     -3.67    222.29    -54.87
+  2448526.0    7.90   26.28   26.03    0.0144   -116.07     -2.90    238.47    -54.56
+  2448527.0    7.58   26.27   26.00    0.0144   -114.15     -2.95    236.32    -58.35
+  2448528.0    7.93   26.22   26.01    0.0143   -124.16     -2.34    239.93    -58.87
+  2448529.0    7.91   26.22   25.96    0.0142   -118.08     -3.09    246.59    -59.39
+  2448530.0    9.01   26.18   25.56    0.0143       NaN       NaN    135.59       NaN
+  2448531.0    6.49   26.20   26.16    0.0143      -NaN      -NaN    214.51      -NaN
+  2448532.0    6.17   26.21   26.04    0.0143    -75.20     -1.46    239.34    -56.90
+  2448533.0    4.60   26.34   25.86    0.0145    -79.39     -3.56    246.92    -61.61
+  2448534.0    4.71   26.37   25.84    0.0145    -88.05     -3.96    253.35    -66.13
+  2448535.0    5.18   26.38   25.79    0.0145    -94.58     -4.78    230.26    -66.53
+  2448536.0    6.49   26.41   25.92    0.0141   -117.53     -5.07    246.17    -66.99
+  2448537.0    6.81   26.41   25.87    0.0142   -129.83     -5.92    246.15    -68.48
+  2448538.0    5.80   26.47   25.83    0.0143   -115.57     -6.02    250.08    -66.68
+  2448539.0    4.46   26.60   25.92    0.0143    -85.24     -5.07    247.05    -65.27
+  2448540.0    3.84   26.69   25.88    0.0142    -74.42     -5.43    244.79    -59.97
+  2448541.0    4.06   26.72   26.05    0.0141    -71.59     -4.84    223.95    -62.92
+  2448542.0    3.38   26.74   25.88    0.0138    -69.26     -5.11    209.32    -64.08
+  2448543.0    1.53   27.31   25.94    0.0139    -53.43     -5.02    246.72    -73.16
+  2448544.0    2.19   27.09   26.10    0.0143      -NaN      -NaN    221.99      -NaN
+  2448545.0    4.33   26.79   25.83    0.0137    -60.23     -7.30     97.73    -44.52
+  2448546.0    6.71   26.70   26.60    0.0139    -45.29     -0.71    134.11    -46.69
+  2448547.0    5.62   26.71   26.23    0.0141    -76.45     -4.15    206.70    -59.58
+  2448548.0    3.68   26.86   25.84    0.0141    -72.30     -6.65    234.90    -67.32
+  2448549.0    2.52   27.04   26.06    0.0136    -63.75     -4.71    226.13    -66.67
+  2448550.0    3.92   26.97   26.25    0.0137    -87.94     -4.79    236.88    -75.05
+  2448551.0    4.64   26.89   26.00    0.0139   -107.67     -6.91    246.02    -77.09
+  2448552.0    5.69   26.81   26.03    0.0138   -111.02     -7.17    219.94    -64.69
+  2448553.0    5.87   26.82   26.27    0.0137    -83.67     -5.13    209.70    -58.95
+  2448554.0    4.53   26.91   26.19    0.0137    -76.88     -5.42    211.46    -62.76
+  2448555.0    2.83   27.05   25.93    0.0140    -65.92     -5.82    219.21    -68.25
+  2448556.0    2.93   26.88   25.74    0.0138    -80.44     -6.20    178.18    -77.55
+  2448557.0    2.98   26.85   26.14    0.0138    -71.94     -3.87    185.85    -76.69
+  2448558.0    2.73   26.89   26.04    0.0141      -NaN      -NaN    192.31      -NaN
+  2448559.0    3.05   26.82   26.03    0.0140       NaN       NaN    164.66       NaN
+  2448560.0    5.40   26.82   26.45    0.0139    -73.70     -2.79    202.04    -46.72
+  2448561.0    6.02   26.79   26.25    0.0137    -84.85     -4.96    130.16    -51.56
+  2448562.0    3.57   26.75   26.23    0.0137    -51.37     -3.23    109.49    -48.80
Index: /trunk/src/paper01/fig14/met_data_subduct_sws_92_v1.txt
===================================================================
--- /trunk/src/paper01/fig14/met_data_subduct_sws_92_v1.txt	(revision 41)
+++ /trunk/src/paper01/fig14/met_data_subduct_sws_92_v1.txt	(revision 41)
@@ -0,0 +1,201 @@
+time  ws(m/s)   sst(C)  at(C)  q2m(g/kg)   lhf(w/m2)   shf(w/m2)   swr(w/m2)   lwr(s/m2)
+  2448659.0    5.48   23.91   23.07    0.0123   -152.02     -7.91    212.10    -81.52
+  2448660.0    7.50   23.84   23.04    0.0121   -206.79     -9.69    226.06    -77.60
+  2448661.0    9.44   23.79   23.14    0.0120   -231.12     -9.64    212.07    -70.07
+  2448662.0    9.90   23.71   23.18    0.0118   -256.16     -8.40    222.29    -71.96
+  2448663.0    9.88   23.69   22.96    0.0121   -249.67    -11.49    214.33    -74.34
+  2448664.0    9.24   23.66   22.81    0.0121   -233.28    -12.71    211.15    -76.78
+  2448665.0    9.79   23.62   22.94    0.0124   -260.83    -10.64    220.61    -80.65
+  2448666.0    8.56   23.58   22.88    0.0125   -241.60     -9.78    133.80    -47.78
+  2448667.0    8.68   23.55   22.88    0.0121   -217.74     -9.34    204.58    -58.40
+  2448668.0    8.84   23.53   22.95    0.0122   -199.51     -8.44    222.60    -70.00
+  2448669.0    8.68   23.45   23.01    0.0119   -159.01     -6.07    193.26    -58.41
+  2448670.0    8.17   23.40   22.88    0.0118   -164.38     -6.98    219.25    -65.49
+  2448671.0    7.61   23.37   22.75    0.0121   -154.19     -7.74    178.84    -61.85
+  2448672.0    7.21   23.35   22.59    0.0118   -161.69     -8.75    224.25    -72.17
+  2448673.0    7.93   23.45   22.68    0.0117   -195.16     -9.94    212.57    -75.10
+  2448674.0    7.43   23.46   22.49    0.0117   -196.14    -11.76    235.02    -82.32
+  2448675.0    8.15   23.43   22.18    0.0118   -218.59    -16.90    233.23    -84.37
+  2448676.0   10.17   23.38   22.52    0.0119   -243.02    -14.11    224.52    -72.48
+  2448677.0    9.61   23.36   22.36    0.0121   -270.17    -15.78    159.56    -61.82
+  2448678.0    9.87   23.29   22.53    0.0117   -253.03    -11.93    179.28    -47.58
+  2448679.0    8.88   23.25   22.38    0.0119   -191.69    -12.44    123.65    -45.74
+  2448680.0   10.15   23.23   22.49    0.0116   -230.34    -12.23    122.52    -41.58
+  2448681.0   10.16   23.22   22.59    0.0116   -261.03    -10.30    215.31    -52.32
+  2448682.0   10.56   23.19   22.46    0.0117   -259.96    -12.50    150.57    -38.74
+  2448683.0    9.45   23.16   22.09    0.0116   -223.07    -16.44    203.15    -52.69
+  2448684.0    9.10   23.13   22.02    0.0119   -194.96    -16.47    189.49    -54.16
+  2448685.0    8.93   23.10   22.47    0.0117   -177.89     -9.13    142.22    -45.88
+  2448686.0    8.80   23.09   22.36    0.0116   -148.58    -10.48    145.42    -39.69
+  2448687.0    8.34   23.11   22.74    0.0118   -168.93     -4.78    245.61    -58.81
+  2448688.0    7.92   23.11   22.68    0.0117   -161.03     -5.42    220.98    -53.49
+  2448689.0    6.82   23.13   22.54    0.0114   -146.59     -6.53    244.75    -61.06
+  2448690.0    5.74   23.13   22.40    0.0115   -131.32     -6.98    162.69    -60.06
+  2448691.0    6.95   23.12   22.34    0.0113   -165.17     -8.86    225.24    -72.75
+  2448692.0    6.13   23.16   22.34    0.0115   -142.21     -8.51    256.36    -73.31
+  2448693.0    5.77   23.18   22.18    0.0118   -151.55     -9.77    253.87    -77.36
+  2448694.0    5.20   23.23   22.18    0.0114   -139.58     -9.47    231.18    -72.91
+  2448695.0    4.43   23.33   22.64    0.0116    -86.69     -5.28    182.97    -50.37
+  2448696.0    6.02   23.16   23.02    0.0112    -89.62     -1.57     89.35    -36.60
+  2448697.0    7.02   23.17   22.81    0.0113   -117.92     -4.24    232.05    -52.60
+  2448698.0    7.89   23.14   22.69    0.0111   -145.12     -5.48    242.31    -66.31
+  2448699.0    8.79   23.08   22.52    0.0112   -174.95     -7.75    246.07    -66.72
+  2448700.0    8.00   23.12   22.40    0.0113   -178.07     -9.25    249.32    -64.70
+  2448701.0    7.14   23.15   22.44    0.0113   -182.15     -8.23    222.65    -46.46
+  2448702.0    7.52   23.16   22.42    0.0113   -164.66     -8.83    228.34    -53.08
+  2448703.0    7.18   23.17   22.33    0.0112   -150.82     -9.92    150.08    -56.57
+  2448704.0    5.79   23.25   22.38    0.0110   -132.85     -8.10    196.23    -61.54
+  2448705.0    7.42   23.25   22.66    0.0114   -144.36     -6.78    245.67    -63.14
+  2448706.0    8.42   23.20   22.44    0.0110   -176.74    -10.42    248.23    -69.99
+  2448707.0    7.91   23.12   22.50    0.0109      -NaN      -NaN    253.37      -NaN
+  2448708.0    6.48   23.11   22.36    0.0110   -161.56     -8.06    272.97    -80.13
+  2448709.0    7.53   23.12   22.40    0.0110   -159.34     -8.78    227.91    -60.72
+  2448710.0    6.39   23.17   22.24    0.0110   -141.78     -9.83    261.70    -66.33
+  2448711.0    5.14   23.22   21.87    0.0108   -128.11    -11.63    269.13    -68.67
+  2448712.0    6.44   23.18   22.23    0.0107   -151.07    -10.09    274.74    -78.52
+  2448713.0    8.02   23.17   22.29    0.0110   -180.45    -11.56    275.57    -75.07
+  2448714.0    8.28   23.17   22.23    0.0111   -197.40    -12.83    268.05    -78.22
+  2448715.0    8.04   23.16   22.26    0.0106   -210.35    -11.85    273.93    -84.50
+  2448716.0    7.47   23.14   22.24    0.0109   -185.13    -11.18    261.54    -58.54
+  2448717.0    8.27   23.12   22.24    0.0109   -174.68    -12.02    178.10    -55.07
+  2448718.0    9.24   23.12   22.63    0.0109   -177.68     -6.94    255.14    -52.56
+  2448719.0   10.00   23.09   22.63    0.0113   -209.60     -7.17    207.53    -38.55
+  2448720.0    8.30   23.08   22.66    0.0113   -201.85     -5.70    249.18    -55.95
+  2448721.0    6.52   23.11   22.48    0.0112   -161.20     -6.69    246.77    -56.58
+  2448722.0    7.38   23.09   22.36    0.0111   -202.08     -8.67    255.17    -56.33
+  2448723.0    7.73   23.10   22.35    0.0111   -180.85     -9.55    234.95    -67.13
+  2448724.0    6.95   23.11   22.41    0.0116   -163.87     -7.73    289.64    -70.42
+  2448725.0    6.41   23.09   22.32    0.0113   -140.22     -8.13    242.33    -49.35
+  2448726.0    4.97   23.20   22.49    0.0112   -110.10     -5.94    279.74    -69.91
+  2448727.0    3.76   23.27   22.59    0.0111    -77.08     -3.96    264.38    -59.42
+  2448728.0    4.44   23.49   22.77    0.0110    -80.70     -5.68    269.37    -55.99
+  2448729.0    5.47   23.47   22.93    0.0116    -80.45     -4.69    252.20    -49.04
+  2448730.0    5.82   23.45   22.86    0.0115    -91.41     -5.65    263.04    -60.20
+  2448731.0    6.09   23.45   22.72    0.0113   -110.63     -7.24    279.03    -66.30
+  2448732.0    6.41   23.45   22.60    0.0117   -136.96     -9.03    263.94    -65.92
+  2448733.0    6.79   23.48   22.69    0.0117   -149.01     -8.81    242.64    -59.14
+  2448734.0    8.12   23.45   22.75    0.0110   -192.16     -9.15    289.55    -71.30
+  2448735.0    7.31   23.37   22.51    0.0114   -186.14    -10.39    245.58    -48.66
+  2448736.0    6.09   23.32   22.54    0.0116   -143.23     -7.66    224.92    -55.38
+  2448737.0    5.77   23.38   22.69    0.0117   -125.21     -6.48    233.88    -56.18
+  2448738.0    6.21   23.39   23.00    0.0118   -112.41     -3.91    230.09    -41.43
+  2448739.0    6.26   23.52   23.18    0.0115    -96.37     -3.22    257.76    -48.81
+  2448740.0    6.74   23.51   22.65    0.0116   -110.66    -10.32    187.71    -38.82
+  2448741.0    7.57   23.54   22.78    0.0113   -116.46     -9.73    196.19    -33.25
+  2448742.0    7.73   23.51   22.97    0.0113   -127.64     -6.51    214.92    -42.89
+  2448743.0    7.50   23.52   22.93    0.0117   -131.26     -7.06    236.39    -51.42
+  2448744.0    5.96   23.55   22.78    0.0116   -116.43     -7.59    272.40    -62.11
+  2448745.0    5.07   23.63   22.61    0.0115   -114.62     -8.87    284.23    -72.32
+  2448746.0    3.48   23.77   22.79    0.0120    -84.64     -6.03    285.32    -69.40
+  2448747.0    3.67   23.95   22.89    0.0115    -94.21     -6.84    287.38    -71.59
+  2448748.0    2.49   24.22   23.12    0.0118    -72.77     -5.52    281.79    -73.20
+  2448749.0    3.79   24.24   23.24    0.0119    -87.87     -6.54    276.15    -64.31
+  2448750.0    5.90   23.96   23.49    0.0121    -84.13     -4.40    144.09    -37.87
+  2448751.0    6.78   23.81   23.61    0.0120    -87.22     -1.94    154.37    -34.99
+  2448752.0    5.32   23.91   23.20    0.0118    -77.42     -6.71     96.35    -33.50
+  2448753.0    2.97   23.89   23.06    0.0119    -44.78     -4.73    106.26    -34.33
+  2448754.0    2.22   23.82   22.95    0.0113    -35.17     -3.64     47.02    -36.96
+  2448755.0    4.62   23.98   23.48    0.0118    -61.33     -3.56    252.05    -52.69
+  2448756.0    7.51   24.05   23.71    0.0121   -101.89     -3.97    262.11    -53.38
+  2448757.0    8.27   24.02   23.51    0.0121   -145.86     -6.62    265.25    -58.00
+  2448758.0    8.09   23.89   23.33    0.0120   -158.86     -7.31    255.82    -54.83
+  2448759.0    6.70   23.93   23.16    0.0125   -139.90     -8.42    248.60    -51.87
+  2448760.0    6.92   23.92   23.09    0.0122   -139.95     -9.23    180.52    -55.73
+  2448761.0    8.38   23.92   23.23    0.0119   -161.10     -8.92    274.76    -48.88
+  2448762.0    7.81   23.89   23.21    0.0119   -159.29     -8.34    245.02    -53.15
+  2448763.0    6.84   23.89   23.24    0.0120   -127.96     -7.17    240.76    -37.84
+  2448764.0    6.64   23.95   23.17    0.0119   -129.82     -8.55    242.18    -38.23
+  2448765.0    6.92   24.02   23.37    0.0122   -123.71     -7.16    277.53    -43.82
+  2448766.0    6.77   24.07   23.37    0.0124   -104.12     -7.40    260.44    -34.96
+  2448767.0    6.25   24.08   23.37    0.0126   -120.01     -7.16    227.20    -39.14
+  2448768.0    6.58   24.14   23.43    0.0123   -124.97     -7.54    259.87    -50.53
+  2448769.0    6.87   24.22   23.42    0.0124   -126.70     -9.17    238.16    -44.25
+  2448770.0    7.62   24.12   23.40    0.0123   -163.66     -8.79    272.88    -66.06
+  2448771.0    6.50   24.13   23.49    0.0123   -136.57     -6.91    268.60    -59.80
+  2448772.0    6.62   24.13   23.60    0.0125   -126.99     -5.67    284.90    -59.33
+  2448773.0    5.96   24.12   23.18    0.0123    -81.71     -8.56    136.14    -27.04
+  2448774.0    7.50   24.12   23.68    0.0127   -113.83     -5.18    275.22    -52.41
+  2448775.0    7.91   24.11   23.70    0.0124   -113.20     -5.04    216.42    -31.08
+  2448776.0    7.94   24.10   23.81    0.0126   -115.85     -3.52    239.51    -44.32
+  2448907.0    5.64   26.43   25.79    0.0127    -96.44     -5.76      0.22    -65.53
+  2448908.0    4.37   26.48   25.69    0.0121    -90.16     -5.77    240.10    -71.74
+  2448909.0    2.93   26.60   25.59    0.0121    -77.23     -5.44    251.99    -83.78
+  2448910.0    3.06   26.54   25.46    0.0124    -84.74     -6.04    197.40    -83.36
+  2448911.0    3.59   26.54   25.49    0.0121    -95.15     -6.61    229.06    -84.55
+  2448912.0    3.70   26.58   25.65    0.0120    -90.97     -6.08    244.57    -83.09
+  2448913.0    3.04   26.64   25.65    0.0119    -76.74     -5.64    221.30    -80.42
+  2448914.0    3.98   26.63   25.82    0.0122    -80.83     -5.56    241.21    -73.28
+  2448915.0    4.86   26.56   26.02    0.0124    -86.31     -4.23    213.65    -63.01
+  2448916.0    5.10   26.56   26.07    0.0124    -88.40     -3.91    231.25    -70.83
+  2448917.0    5.69   26.52   26.09    0.0124    -90.80     -3.67    204.15    -66.53
+  2448918.0    8.54   26.49   26.35    0.0127   -118.31     -0.99    192.49    -59.24
+  2448919.0    9.41   26.46   26.41    0.0128   -129.15     -0.60    195.67    -57.16
+  2448920.0    8.24   26.44   26.05    0.0123   -153.07     -4.84    206.76    -60.96
+  2448921.0    7.59   26.40   25.30    0.0123   -175.16    -13.73    210.92    -67.20
+  2448922.0    6.82   26.32   25.27    0.0119   -165.03    -11.77    217.37    -72.67
+  2448923.0    7.49   26.26   25.17    0.0123   -173.62    -13.53    101.17    -49.94
+  2448924.0    6.82   26.26   25.33    0.0120    -98.11    -10.86    210.03    -50.35
+  2448925.0    7.18   26.24   25.73    0.0124   -111.25     -5.63    217.82    -66.75
+  2448926.0    7.32   26.23   25.80    0.0122   -126.42     -4.91    220.37    -69.91
+  2448927.0    6.68   26.20   25.37    0.0124   -143.86     -8.91    222.63    -74.59
+  2448928.0    4.58   26.24   25.15    0.0122   -127.82     -8.52    210.00    -70.13
+  2448929.0    3.79   26.26   24.97    0.0120   -110.06     -8.92    194.35    -74.05
+  2448930.0    4.00   26.27   25.30    0.0117   -104.11     -6.86    227.35    -85.43
+  2448931.0    2.57   26.42   25.59    0.0121    -56.43     -4.04    220.12    -76.01
+  2448932.0    4.22   26.41   25.81    0.0117    -79.77     -4.06    215.09    -72.53
+  2448933.0    6.45   26.27   25.36    0.0119   -110.61     -9.73    142.14    -56.53
+  2448934.0    7.32   26.18   26.00    0.0120    -79.39     -1.69     77.36    -42.83
+  2448935.0   10.37   26.13   25.72    0.0115   -212.79     -6.58    207.76    -71.57
+  2448936.0    8.45   26.04   25.47    0.0120   -209.04     -7.72    191.90    -75.77
+  2448937.0    7.97   25.97   25.25    0.0120   -194.89     -9.22    220.89    -82.18
+  2448938.0    7.81   25.94   25.17    0.0118   -187.42     -9.40    216.69    -78.60
+  2448939.0    7.26   25.85   24.94    0.0116   -220.70    -10.65    219.85    -97.24
+  2448940.0    6.31   25.82   24.83    0.0118   -168.32    -10.22    190.01    -83.83
+  2448941.0    5.04   25.81   24.68    0.0118   -125.87     -9.64    194.29    -81.82
+  2448942.0    4.30   25.85   24.97    0.0115    -96.73     -6.06    205.54    -83.56
+  2448943.0    8.45   25.81   25.41    0.0114   -126.01     -5.12    195.25    -68.81
+  2448944.0    8.80   25.75   25.23    0.0114   -158.92     -7.17    137.91    -60.06
+  2448945.0    5.29   25.77   24.94    0.0112   -120.82     -7.34    200.37    -77.24
+  2448946.0    4.67   25.77   24.96    0.0113   -100.26     -6.35    188.99    -73.64
+  2448947.0    6.71   25.70   24.90    0.0111   -130.69     -8.56    185.22    -72.94
+  2448948.0    5.59   25.70   25.16    0.0107   -107.69     -4.97    178.95    -72.81
+  2448949.0    4.84   25.69   24.97    0.0104   -122.21     -5.76    194.09    -82.89
+  2448950.0    6.19   25.68   24.62    0.0103   -166.09    -10.80    189.51    -77.42
+  2448951.0    7.16   25.66   24.66    0.0105   -184.70    -11.83    187.10    -71.64
+  2448952.0    6.31   25.64   24.84    0.0112   -115.65     -7.90    167.03    -64.29
+  2448953.0    8.03   25.54   24.67    0.0109   -151.32    -11.19    182.17    -71.92
+  2448954.0    7.12   25.35   24.61    0.0105   -175.43     -8.46    189.61    -72.11
+  2448955.0    7.62   25.32   24.50    0.0103   -192.05     -9.83    176.26    -73.99
+  2448956.0    7.07   25.18   23.40    0.0105   -167.60    -22.90     79.32    -60.48
+  2448957.0    8.29   25.11   23.63    0.0104   -157.91    -19.31     26.42    -54.17
+  2448958.0    8.83   25.07   24.68    0.0107   -148.12     -5.32    105.34    -67.09
+  2448959.0    9.54   25.02   24.62    0.0107   -176.59     -5.97    174.99    -64.88
+  2448960.0    7.91   25.01   24.40    0.0111   -173.44     -7.71    192.39    -78.61
+  2448961.0    8.93   24.89   24.25    0.0104   -191.92     -9.09    166.59    -74.43
+  2448962.0    7.78   24.87   24.21    0.0103   -171.40     -8.24    191.04    -79.57
+  2448963.0    7.49   24.84   24.26    0.0106   -158.82     -6.99    192.95    -80.13
+  2448964.0    6.68   24.78   24.28    0.0110   -135.89     -5.29    188.42    -78.55
+  2448965.0    7.84   24.74   24.05    0.0106   -171.94     -8.53    187.54    -77.27
+  2448966.0    7.39   24.82   24.10    0.0104   -159.14     -8.46    184.33    -79.09
+  2448967.0    4.50   24.89   23.85    0.0105   -116.12     -8.07    203.60    -87.26
+  2448968.0    3.24   24.95   23.79    0.0102    -98.44     -7.17    195.79    -87.41
+  2448969.0    5.51   24.83   23.57    0.0102   -138.99    -11.88    177.53    -82.15
+  2448970.0    5.67   24.79   23.53    0.0100   -145.80    -12.02    211.86    -80.63
+  2448971.0    4.69   24.76   23.45    0.0104   -127.24    -10.97    185.61    -84.62
+  2448972.0    6.31   24.61   23.73    0.0099   -155.01     -9.22    172.96    -85.36
+  2448973.0    6.84   24.54   23.60    0.0103   -167.50    -10.68    121.27    -52.83
+  2448974.0    6.69   24.55   23.99    0.0102   -134.15     -6.01    190.50    -65.84
+  2448975.0    8.38   24.49   23.86    0.0109   -166.18     -8.39    166.81    -76.02
+  2448976.0    7.88   24.41   23.86    0.0108   -166.34     -6.93    177.27    -82.85
+  2448977.0    8.53   24.36   23.25    0.0105   -130.58    -15.76    146.47    -56.50
+  2448978.0    8.03   24.38   23.76    0.0109   -149.39     -7.79    197.22    -84.29
+  2448979.0    7.12   24.38   23.48    0.0107   -147.90    -10.49    192.24    -77.14
+  2448980.0    6.27   24.35   23.07    0.0109   -146.39    -13.51    157.86    -76.95
+  2448981.0    4.73   24.40   23.15    0.0103   -114.64    -11.00    173.05    -79.71
+  2448982.0    4.74   24.39   23.27    0.0110   -101.25     -9.60    169.74    -71.54
+  2448983.0    7.01   24.35   22.91    0.0107   -118.99    -17.73    158.85    -60.00
+  2448984.0    8.00   24.29   23.35    0.0106   -137.55    -12.37    198.19    -73.98
+  2448985.0    8.06   24.26   22.75    0.0109   -152.07    -20.12    176.34    -72.23
+  2448986.0    8.36   24.21   23.20    0.0108   -184.79    -13.95    212.39    -84.75
+  2448987.0    8.49   24.11   23.22    0.0115   -199.30    -12.36    161.17    -79.54
+  2448988.0    7.76   23.98   23.10    0.0113   -165.73    -11.27    183.01    -75.56
Index: /trunk/src/paper01/fig14/met_data_subduct_sws_93_v1.txt
===================================================================
--- /trunk/src/paper01/fig14/met_data_subduct_sws_93_v1.txt	(revision 41)
+++ /trunk/src/paper01/fig14/met_data_subduct_sws_93_v1.txt	(revision 41)
@@ -0,0 +1,142 @@
+time  ws(m/s)   sst(C)  at(C)  q2m(g/kg)   lhf(w/m2)   shf(w/m2)   swr(w/m2)   lwr(s/m2)
+  2448989.0    7.68   23.93   23.15    0.0122   -186.61     -9.74    212.55    -96.17
+  2448990.0    9.24   23.97   22.97    0.0125   -197.24    -15.07    183.31    -75.76
+  2448991.0    9.43   23.89   22.60    0.0126   -258.34    -20.15    180.51    -88.05
+  2448992.0    7.90   23.73   22.81    0.0122   -176.11    -11.63    196.53    -84.76
+  2448993.0    6.50   23.71   22.74    0.0124   -139.35    -10.17    180.46    -84.78
+  2448994.0    5.77   23.73   22.50    0.0125   -138.72    -11.81    163.08    -79.64
+  2448995.0    4.76   23.76   22.11    0.0128   -121.88    -14.53    168.79    -84.66
+  2448996.0    5.90   23.77   22.11    0.0128   -145.37    -16.39    208.10    -94.20
+  2448997.0    7.82   23.71   22.78    0.0128   -152.54    -11.30    174.85    -81.39
+  2448998.0    9.62   23.65   22.94    0.0127   -167.48    -11.17    123.43    -55.89
+  2448999.0    9.29   23.55   22.74    0.0121   -142.77    -12.44     65.81    -49.65
+  2449000.0    8.15   23.53   22.81    0.0119   -119.96     -9.10     99.22    -51.90
+  2449001.0    7.70   23.41   22.70    0.0120   -127.36     -8.71    196.40    -74.90
+  2449002.0    6.84   23.47   22.68    0.0123   -139.94     -8.75    209.75    -88.42
+  2449003.0    6.85   23.52   22.55    0.0122   -152.00    -10.92    166.29    -79.35
+  2449004.0    7.05   23.51   22.65    0.0118   -156.62    -10.00    167.14    -76.12
+  2449005.0    7.82   23.56   22.70    0.0124   -165.18    -10.75    191.57    -86.46
+  2449006.0    8.34   23.63   22.58    0.0120   -181.43    -14.27    205.07    -88.02
+  2449007.0    8.49   23.62   22.64    0.0120   -168.12    -13.54    182.55    -72.83
+  2449008.0    8.39   23.51   22.31    0.0123   -192.88    -16.73    132.03    -67.49
+  2449009.0    8.92   23.32   22.53    0.0119   -209.09    -11.46    172.63    -81.06
+  2449010.0    7.35   23.27   22.76    0.0118   -167.87     -5.98    164.03    -72.01
+  2449011.0    5.38   23.26   22.63    0.0117   -125.01     -5.54    190.52    -76.17
+  2449012.0    3.15   23.38   22.44    0.0116    -85.57     -5.48    161.70    -78.52
+  2449013.0    5.13   23.46   22.28    0.0123   -123.48    -10.38    212.74    -85.86
+  2449014.0    5.04   23.44   22.42    0.0119   -111.43     -8.98    204.58    -70.34
+  2449015.0    7.31   23.24   22.54    0.0117   -128.47     -7.88    111.12    -55.08
+  2449016.0   10.80   23.26   22.94    0.0119   -180.34     -5.25    121.89    -53.51
+  2449017.0   10.09   23.41   22.71    0.0122   -187.52    -11.18    193.96    -77.28
+  2449018.0    9.28   23.44   22.55    0.0123   -165.65    -13.52    139.47    -48.18
+  2449019.0    6.93   23.42   22.40    0.0119   -139.95    -11.76    207.92    -68.81
+  2449020.0    7.41   23.30   22.12    0.0120   -144.27    -14.47    221.23    -77.54
+  2449021.0    8.70   23.21   21.75    0.0120   -168.40    -21.09    198.95    -70.26
+  2449022.0    9.29   23.19   22.16    0.0122   -199.27    -15.74    166.37    -61.06
+  2449023.0    8.56   23.10   22.18    0.0124   -185.68    -12.94    165.15    -48.37
+  2449024.0    9.23   23.11   22.38    0.0119   -199.46    -10.81    192.40    -59.06
+  2449025.0    8.92   23.14   22.13    0.0121   -187.82    -14.84    156.07    -52.93
+  2449026.0    8.47   23.09   22.31    0.0121   -176.22    -10.97    217.22    -61.94
+  2449027.0    7.61   22.96   22.19    0.0121   -156.18     -9.51    147.29    -69.54
+  2449028.0    6.82   23.02   22.21    0.0122   -129.50     -8.96    212.74    -71.08
+  2449029.0    7.94   23.10   22.27    0.0120   -137.41    -10.73    220.20    -76.04
+  2449030.0    7.89   23.10   22.28    0.0123   -132.73    -10.47    164.14    -53.50
+  2449031.0    8.36   23.10   22.20    0.0123   -140.21    -12.23    222.44    -74.20
+  2449032.0    8.12   23.06   22.23    0.0122   -118.89    -10.88    212.04    -71.38
+  2449033.0    8.58   23.06   22.17    0.0121   -139.02    -12.48    212.35    -69.86
+  2449034.0    4.93   23.18   22.05    0.0124    -97.56     -9.53    231.80    -75.56
+  2449035.0    3.83   23.23   21.80    0.0119    -95.06    -10.15    251.18    -88.79
+  2449036.0    5.25   23.11   21.50    0.0118   -158.96    -14.89    239.31    -86.67
+  2449037.0    3.34   23.09   21.41    0.0121   -128.27    -10.99    222.33    -86.24
+  2449038.0    1.58   23.30   21.57    0.0121    -72.35     -7.15    261.27    -92.14
+  2449039.0    2.67   23.27   21.48    0.0120    -93.80     -9.73    256.28   -100.17
+  2449040.0    5.54   22.90   21.88    0.0124   -130.13     -9.34    257.05    -92.51
+  2449041.0    6.18   22.75   21.83    0.0124   -142.52     -9.17    175.02    -81.29
+  2449042.0    5.40   22.64   21.30    0.0122   -122.38    -12.41    116.09    -61.50
+  2449043.0    5.81   22.63   21.90    0.0120   -107.59     -6.77    190.19    -64.68
+  2449044.0    7.04   22.69   22.41    0.0123    -89.09     -2.84    242.56    -67.78
+  2449045.0    5.18   22.76   22.76    0.0117      -NaN      -NaN    207.25      -NaN
+  2449046.0    4.52   22.96   22.56    0.0120    -51.24     -2.85    253.37    -65.76
+  2449047.0    7.38   22.83   22.37    0.0117   -115.60     -5.19    240.07    -66.94
+  2449048.0    7.16   22.73   22.14    0.0116   -132.07     -6.59    263.28    -76.21
+  2449049.0    5.48   22.86   21.77    0.0118   -115.02    -10.30    244.66    -72.57
+  2449050.0    4.45   22.86   21.83    0.0119    -99.54     -8.09    237.46    -85.66
+  2449051.0    4.29   23.01   21.93    0.0119   -106.46     -8.23    244.27    -75.46
+  2449052.0    4.83   22.98   22.52    0.0115    -77.55     -3.80    261.73    -71.56
+  2449053.0    5.08   23.02   22.48    0.0117    -52.45     -3.94    193.04    -44.94
+  2449054.0    6.38   23.04   22.21    0.0122    -79.23     -8.61    253.72    -56.71
+  2449055.0    8.11   23.00   22.53    0.0120   -134.01     -5.91    275.94    -75.96
+  2449056.0    7.87   22.97   22.24    0.0123   -166.70     -9.22    285.24    -83.70
+  2449057.0    7.86   22.97   22.34    0.0123   -176.28     -7.88    248.28    -62.23
+  2449058.0    7.58   23.03   22.41    0.0122   -156.67     -7.57    192.99    -49.98
+  2449059.0    7.81   22.97   22.57    0.0125   -149.14     -4.90    192.65    -39.75
+  2449060.0    9.32   22.99   22.50    0.0123   -189.80     -7.24    236.90    -54.17
+  2449061.0    9.84   22.94   22.63    0.0122   -190.04     -4.67    265.80    -67.34
+  2449062.0    9.61   22.97   22.23    0.0127   -200.14    -11.55    239.13    -59.64
+  2449063.0    7.21   23.01   21.35    0.0127   -164.89    -19.81    245.83    -59.27
+  2449064.0    5.82   23.02   21.81    0.0126   -144.18    -12.06    286.13    -87.45
+  2449065.0    5.65   23.00   22.05    0.0125   -141.56     -9.06    237.42    -84.09
+  2449066.0    4.71   22.94   21.48    0.0124   -119.17    -12.34    107.87    -45.87
+  2449067.0    5.14   22.90   21.71    0.0129   -130.73    -10.66    139.87    -57.42
+  2449068.0    4.88   23.00   21.96    0.0128    -90.13     -8.75    275.87    -81.77
+  2449069.0    6.89   22.97   22.21    0.0127   -112.08     -8.42    251.23    -66.87
+  2449070.0    8.21   22.90   22.25    0.0127   -129.39     -8.49    266.87    -69.58
+  2449071.0    8.56   22.83   22.48    0.0130   -118.27     -4.53    228.07    -49.16
+  2449072.0    8.89   22.76   22.46    0.0127   -116.91     -3.98    233.60    -53.69
+  2449073.0    8.76   22.81   22.46    0.0127   -131.52     -4.81    270.26    -60.71
+  2449074.0    7.79   22.84   22.39    0.0126   -114.88     -5.46    259.64    -55.81
+  2449075.0    7.26   22.88   22.43    0.0125   -109.75     -5.12    269.68    -64.35
+  2449076.0    6.69   22.94   22.35    0.0126   -111.79     -6.38    228.00    -61.59
+  2449077.0    6.91   23.00   22.35    0.0124   -119.01     -7.21    271.14    -61.97
+  2449078.0    7.82   23.00   22.24    0.0128   -155.96     -9.40    283.87    -72.77
+  2449079.0    8.59   23.08   22.14    0.0131   -173.62    -13.07    275.63    -71.12
+  2449080.0    9.28   23.10   22.20    0.0133   -202.78    -13.62    225.16    -52.78
+  2449081.0    8.89   23.13   22.34    0.0139   -191.03    -11.40    213.76    -39.78
+  2449082.0    6.72   23.14   22.24    0.0129   -141.66     -9.87    254.93    -63.98
+  2449083.0    5.88   23.20   22.17    0.0127   -124.04    -10.17    287.14    -78.53
+  2449084.0    6.12   23.24   22.24    0.0130   -117.36    -10.02    273.10    -68.88
+  2449085.0    6.85   23.25   22.41    0.0126   -130.11     -9.31    248.62    -44.13
+  2449086.0    7.17   23.23   22.37    0.0126   -145.22    -10.03    282.98    -59.28
+  2449087.0    7.25   23.30   22.72    0.0129   -146.92     -6.76    218.23    -50.26
+  2449088.0    4.72   23.39   22.64    0.0128   -107.09     -5.79    251.58    -50.82
+  2449089.0    4.25   23.48   22.83    0.0126    -65.74     -4.56    231.55    -45.63
+  2449090.0    5.11   23.49   22.76    0.0130    -71.23     -6.18    252.79    -56.61
+  2449091.0    5.86   23.39   22.82    0.0124    -85.19     -5.44    234.75    -53.55
+  2449092.0    6.04   23.39   22.72    0.0124    -92.01     -6.54    293.96    -68.29
+  2449093.0    7.36   23.35   22.64    0.0124   -124.63     -8.40    272.35    -64.95
+  2449094.0    7.45   23.28   22.66    0.0124   -127.08     -7.51    284.92    -73.21
+  2449095.0    6.68   23.29   22.62    0.0125   -118.84     -7.32    291.63    -57.43
+  2449096.0    4.51   23.60   22.61    0.0126    -94.59     -7.76    258.55    -62.72
+  2449097.0    4.38   23.65   22.62    0.0128    -98.73     -7.86    261.01    -64.66
+  2449098.0    5.61   23.58   22.72    0.0127    -99.84     -7.89    233.27    -52.21
+  2449099.0    5.70   23.61   22.68    0.0124    -99.21     -8.87    292.09    -67.41
+  2449100.0    6.36   23.62   22.67    0.0123   -128.94     -9.91    304.40    -76.11
+  2449101.0    7.73   23.54   22.68    0.0127   -167.48    -10.78    300.54    -77.12
+  2449102.0    8.28   23.48   22.58    0.0127   -179.00    -12.07    262.92    -72.22
+  2449103.0    7.39   23.35   22.59    0.0125   -146.22     -9.14    288.63    -62.73
+  2449104.0    6.73   23.38   22.57    0.0128   -122.45     -8.82    288.60    -68.19
+  2449105.0    5.44   23.42   22.36    0.0128   -105.70     -9.53    210.75    -60.84
+  2449106.0    5.87   23.44   22.41    0.0127   -127.77    -10.14    283.47    -66.54
+  2449107.0    4.90   23.57   22.36    0.0128   -128.95    -10.34    295.83    -80.95
+  2449108.0    2.48   23.69   22.22    0.0127    -74.98     -7.55    248.13    -72.06
+  2449109.0    4.63   23.67   22.75    0.0129   -106.28     -7.26    302.49    -78.78
+  2449110.0    6.32   23.69   22.84    0.0133   -119.31     -8.49    308.71    -79.71
+  2449111.0    9.12   23.46   22.77    0.0130   -172.45    -10.04    291.02    -76.08
+  2449112.0    9.11   23.33   22.56    0.0128   -182.82    -11.42    174.67    -44.51
+  2449113.0    7.68   23.35   22.45    0.0126   -130.89    -11.57    225.80    -45.45
+  2449114.0    5.93   23.33   22.56    0.0127   -108.73     -7.42    243.43    -56.16
+  2449115.0    6.98   23.21   22.33    0.0130   -143.61     -9.97    298.67    -76.43
+  2449116.0    6.38   23.35   22.40    0.0130   -134.54    -10.09    279.51    -74.55
+  2449117.0    6.54   23.32   22.45    0.0130   -147.18     -9.44    310.64    -81.78
+  2449118.0    6.24   23.31   22.41    0.0130   -125.68     -9.26    269.76    -60.70
+  2449119.0    5.56   23.38   22.67    0.0131    -97.95     -6.53    271.27    -50.92
+  2449120.0    4.17   23.66   23.15    0.0131    -60.51     -3.70    263.32    -52.85
+  2449121.0    5.17   23.57   23.19    0.0132    -59.24     -3.11    244.71    -49.97
+  2449122.0    6.31   23.54   23.30    0.0132    -58.80     -2.21    215.71    -41.91
+  2449123.0    4.54   23.62   23.43    0.0128    -41.25     -1.26    260.17    -46.02
+  2449124.0    4.85   23.73   23.54    0.0127    -38.68     -1.29    237.62    -50.17
+  2449125.0    6.03   23.80   23.57    0.0127    -51.11     -2.00    223.78    -49.17
+  2449126.0    7.14   23.74   23.46    0.0128    -79.60     -3.01    252.25    -49.68
+  2449127.0    7.38   23.78   23.37    0.0127   -102.33     -4.48    288.25    -59.24
+  2449128.0    7.97   23.71   23.45    0.0125   -107.53     -2.98    264.28    -55.08
+  2449129.0    8.41   23.66   23.35    0.0135   -122.41     -3.82    274.57    -54.79
Index: /trunk/src/paper01/fig14/met_data_whots_2004_2005.txt
===================================================================
--- /trunk/src/paper01/fig14/met_data_whots_2004_2005.txt	(revision 41)
+++ /trunk/src/paper01/fig14/met_data_whots_2004_2005.txt	(revision 41)
@@ -0,0 +1,348 @@
+time  ws(m/s)   sst(C)  at(C)  q2m(g/kg)   lhf(w/m2)   shf(w/m2)   swr(w/m2)   lwr(s/m2)
+  2453231.0    7.81   26.81   26.01    0.0173   -137.40     -9.89    188.55    -40.08
+  2453232.0    7.26   26.82   26.25    0.0171   -111.66     -6.11    206.89    -37.16
+  2453233.0    7.27   26.85   26.39    0.0176   -134.71     -5.09    273.50    -45.42
+  2453234.0    6.85   26.87   26.21    0.0181   -146.61     -7.16    256.20    -42.24
+  2453235.0    4.90   26.96   26.42    0.0183    -93.81     -4.26    269.21    -45.74
+  2453236.0    4.15   27.21   26.80    0.0179    -72.06     -2.75    285.60    -47.06
+  2453237.0    4.75   27.22   26.83    0.0176    -87.48     -2.77    280.59    -48.71
+  2453238.0    5.43   27.22   26.85    0.0176   -116.46     -3.11    249.89    -51.22
+  2453239.0    7.53   27.13   26.19    0.0174   -151.56    -11.57    223.74    -36.49
+  2453240.0    7.53   27.13   26.69    0.0174   -166.71     -4.92    285.41    -56.61
+  2453241.0    7.93   27.16   26.65    0.0176   -164.68     -6.24    267.14    -44.71
+  2453242.0    8.25   27.06   26.65    0.0176   -173.05     -5.10    287.51    -52.64
+  2453243.0    7.69   26.99   26.59    0.0174   -142.44     -4.48    262.50    -33.24
+  2453244.0    7.24   27.08   26.66    0.0171   -128.83     -4.62    282.33    -38.73
+  2453245.0    7.36   27.10   26.65    0.0176   -133.77     -4.78    274.56    -37.89
+  2453246.0    7.06   27.14   26.60    0.0178   -125.12     -5.70    277.35    -46.63
+  2453247.0    7.07   27.17   26.71    0.0174   -137.38     -4.88    285.67    -47.47
+  2453248.0    5.54   27.27   26.43    0.0176   -117.46     -7.62    271.50    -49.28
+  2453249.0    4.77   27.44   26.65    0.0179   -110.62     -6.21    283.64    -56.26
+  2453250.0    4.58   27.56   26.77    0.0178   -103.48     -5.92    262.23    -48.51
+  2453251.0    5.49   27.57   26.67    0.0177   -135.46     -8.07    258.50    -45.51
+  2453252.0    4.55   27.51   26.76    0.0180   -119.36     -5.72    256.27    -50.37
+  2453253.0    4.60   27.45   26.78    0.0179   -120.73     -5.12    273.84    -57.12
+  2453254.0    6.44   27.51   26.84    0.0176   -146.30     -6.68    264.25    -50.53
+  2453255.0    7.07   27.46   26.83    0.0171   -131.59     -6.74    229.18    -37.12
+  2453256.0    4.30   27.63   26.35    0.0169    -98.21     -7.69    233.98    -38.08
+  2453257.0    5.99   27.43   26.92    0.0167   -125.01     -4.68    270.38    -50.52
+  2453258.0    7.15   27.38   26.92    0.0166   -131.30     -4.92    246.34    -44.38
+  2453259.0    6.60   27.41   26.84    0.0164   -146.91     -5.92    247.29    -45.21
+  2453260.0    7.24   27.49   26.88    0.0165   -182.18     -6.88    267.46    -47.81
+  2453261.0    8.03   27.43   26.58    0.0161   -183.86    -10.60    246.39    -42.69
+  2453262.0    7.82   27.42   26.83    0.0157   -173.50     -7.21    262.89    -47.85
+  2453263.0    7.34   27.46   26.76    0.0157   -172.40     -8.13    252.46    -54.35
+  2453264.0    6.54   27.56   26.67    0.0157   -134.71     -9.28    246.35    -44.51
+  2453265.0    7.44   27.58   26.91    0.0158   -159.82     -7.70    244.93    -49.62
+  2453266.0    7.88   27.65   26.96    0.0155   -176.76     -8.48    253.85    -45.28
+  2453267.0    8.71   27.66   26.77    0.0159   -197.63    -12.26    235.55    -43.39
+  2453268.0    9.33   27.63   26.46    0.0160   -211.32    -17.95    237.71    -36.61
+  2453269.0    7.24   27.57   26.69    0.0158   -194.15     -9.95    244.52    -61.76
+  2453270.0    7.16   27.54   26.68    0.0159   -162.91     -9.89    254.91    -47.63
+  2453271.0    7.47   27.51   26.62    0.0162   -160.69    -10.69    246.37    -33.69
+  2453272.0    8.55   27.44   26.69    0.0161   -178.11    -10.15    247.12    -34.93
+  2453273.0    8.10   27.37   26.63    0.0162   -194.71     -9.45    246.35    -47.38
+  2453274.0    7.44   27.28   26.54    0.0161   -181.03     -8.69    198.12    -37.58
+  2453275.0    6.22   27.29   26.39    0.0162   -166.29     -9.07    241.73    -50.96
+  2453276.0    5.87   27.37   26.43    0.0163   -169.25     -8.86    248.28    -60.68
+  2453277.0    4.87   27.38   26.27    0.0165   -152.85     -9.00    251.54    -65.67
+  2453278.0    5.22   27.41   26.45    0.0165   -144.68     -8.27    218.92    -39.01
+  2453279.0    7.09   27.33   26.55    0.0165   -181.35     -8.69    230.89    -49.09
+  2453280.0    8.18   27.28   26.61    0.0165   -203.67     -8.66    247.56    -54.79
+  2453281.0    8.14   27.23   26.40    0.0169   -219.59    -10.69    224.47    -46.44
+  2453282.0    5.22   27.24   26.05    0.0170   -151.94    -10.00    242.21    -60.19
+  2453283.0    5.19   27.35   25.59    0.0170   -169.03    -16.37    239.59    -47.40
+  2453284.0    6.32   27.17   25.74    0.0169   -211.41    -14.89    231.05    -61.59
+  2453285.0    7.49   26.92   26.05    0.0170   -216.40    -10.40    242.51    -60.18
+  2453286.0    6.76   26.89   25.60    0.0170   -155.54    -14.51    218.32    -40.95
+  2453287.0    6.13   26.94   26.13    0.0172   -138.56     -7.52    232.35    -48.18
+  2453288.0    7.14   26.95   26.40    0.0173   -121.21     -6.20    225.34    -35.31
+  2453289.0    6.28   27.03   26.44    0.0171   -130.84     -5.71    232.29    -52.84
+  2453290.0    6.21   27.07   26.73    0.0170    -91.20     -3.16    230.19    -43.43
+  2453291.0    4.25   27.19   26.34    0.0170       NaN       NaN    225.85       NaN
+  2453292.0    2.90   27.34   26.71    0.0174    -60.41     -3.12    232.02    -44.70
+  2453293.0    1.89   27.44   26.41    0.0173    -56.92     -3.70    227.72    -65.65
+  2453294.0    8.07   27.08   26.61    0.0173   -154.64     -5.85    208.21    -38.37
+  2453295.0    7.58   27.04   26.46    0.0177   -175.85     -6.76    212.32    -54.95
+  2453296.0    7.22   27.02   26.28    0.0175   -176.07     -8.47    227.47    -51.48
+  2453297.0    7.84   27.00   26.29    0.0177   -181.02     -8.62    204.78    -47.31
+  2453298.0    7.96   26.81   26.03    0.0175   -187.50     -9.65    202.20    -51.18
+  2453299.0    7.72   26.71   25.95    0.0174   -172.65     -9.12    172.21    -47.42
+  2453300.0    7.60   26.69   26.19    0.0173   -149.96     -5.84    209.94    -43.91
+  2453301.0    5.89   26.71   26.18    0.0177   -115.21     -4.81    217.86    -39.15
+  2453302.0    7.20   26.71   25.82    0.0174   -162.52    -10.09    203.09    -48.88
+  2453303.0    7.12   26.68   25.55    0.0173   -154.58    -13.04    159.60    -39.63
+  2453304.0    7.56   26.40   24.85    0.0176   -147.05    -19.33     31.02    -23.53
+  2453305.0    8.30   26.27   24.66    0.0176   -154.90    -19.19     89.19    -26.22
+  2453306.0    8.26   26.18   26.14    0.0176   -142.43     -0.12    180.96    -39.65
+  2453307.0    7.67   26.23   25.61    0.0174   -135.95     -7.42    189.50    -40.68
+  2453308.0    8.57   26.15   25.59    0.0175   -169.63     -7.17    204.21    -45.42
+  2453309.0    9.06   26.11   25.28    0.0174   -149.16    -11.81     54.76    -20.58
+  2453310.0    7.12   26.04   25.31    0.0177   -120.48     -8.79    116.70    -26.72
+  2453311.0    5.19   26.12   25.94    0.0176      -NaN      -NaN    194.48      -NaN
+  2453312.0    6.44   26.18   25.84    0.0174    -94.93     -3.02    201.27    -38.15
+  2453313.0    7.83   26.16   26.01    0.0174   -131.62     -1.60    183.45    -42.46
+  2453314.0    6.74   26.14   26.03    0.0172   -113.70     -0.89    158.50    -43.85
+  2453315.0    4.17   26.19   25.39    0.0173    -59.26     -5.51     72.68    -34.22
+  2453316.0    3.57   26.18   24.67    0.0168       NaN       NaN    150.22       NaN
+  2453317.0    2.27   26.46   25.14    0.0156    -54.48     -6.22    179.63    -33.15
+  2453318.0    4.50   26.24   25.39    0.0160    -86.65     -6.68    204.46    -45.11
+  2453319.0    3.39   26.26   26.14    0.0164    -52.51     -0.59    176.15    -41.60
+  2453320.0    2.98   26.34   26.26    0.0156       NaN       NaN    191.93      -NaN
+  2453321.0    4.93   26.36   26.19    0.0159    -96.81     -1.44    195.23    -41.67
+  2453322.0    7.33   26.36   26.04    0.0158   -164.28     -3.83    172.67    -49.55
+  2453323.0    3.99   26.31   25.98    0.0160    -76.01     -2.47    138.98    -38.73
+  2453324.0    9.64   26.35   24.42    0.0161   -259.37    -31.63    151.26    -34.31
+  2453325.0   10.97   26.09   24.40    0.0164   -395.77    -30.92    180.11    -68.68
+  2453326.0    9.37   25.78   24.69    0.0169   -259.59    -16.52    138.51    -39.87
+  2453327.0    9.23   25.68   24.57    0.0173   -179.12    -16.54    140.05    -34.01
+  2453328.0    8.27   25.92   24.64    0.0168   -226.83    -17.01    185.12    -64.79
+  2453329.0    4.91   26.02   24.30    0.0165   -169.43    -14.72    194.56    -73.55
+  2453330.0    3.01   25.97   24.24    0.0166   -114.69    -10.22    189.84    -77.46
+  2453331.0    2.51   25.96   24.01    0.0170    -92.15     -9.91    174.04    -67.15
+  2453332.0    4.49   25.83   23.64    0.0171   -136.33    -18.17     95.45    -39.91
+  2453333.0    4.42   25.71   24.67    0.0169   -106.77     -8.17    139.98    -45.32
+  2453334.0    4.86   25.67   25.69    0.0169      -NaN      -NaN    179.30      -NaN
+  2453335.0    5.39   25.81   25.46    0.0167    -71.45     -2.63    172.67    -31.84
+  2453336.0    6.07   25.74   25.70    0.0166   -110.93     -0.09    171.43    -33.35
+  2453337.0    5.78   26.17   25.39    0.0160   -140.25     -7.46    170.37    -38.65
+  2453338.0    7.49   26.47   25.07    0.0160   -172.91    -16.75    154.46    -36.83
+  2453339.0    9.57   26.33   25.33    0.0162   -236.78    -15.15    156.55    -44.23
+  2453340.0    9.87   26.34   25.04    0.0166   -229.08    -20.31    136.37    -40.08
+  2453341.0   10.69   26.25   25.23    0.0171   -251.40    -17.62    142.87    -46.29
+  2453342.0   10.24   26.09   24.83    0.0173   -267.09    -20.87    145.87    -56.70
+  2453343.0   10.45   26.15   24.83    0.0174   -296.75    -22.53    170.41    -64.33
+  2453344.0   10.85   26.11   24.64    0.0175   -298.14    -25.60    166.27    -63.58
+  2453345.0   10.52   25.92   24.76    0.0168   -308.87    -19.75    171.54    -66.59
+  2453346.0    9.16   25.75   24.35    0.0169   -253.30    -20.83    171.20    -60.73
+  2453347.0    8.63   25.66   24.29    0.0170   -248.00    -19.36    148.30    -56.44
+  2453348.0    6.74   25.57   24.32    0.0169   -154.74    -13.72    152.07    -43.27
+  2453349.0    7.15   25.60   23.92    0.0166   -187.33    -21.61    137.24    -47.59
+  2453350.0    9.72   25.47   22.01    0.0169   -421.50    -56.95    141.08    -75.64
+  2453351.0    6.91   25.30   22.39    0.0172   -304.26    -36.06    122.69    -61.37
+  2453352.0    3.48   25.28   22.62    0.0170   -177.70    -18.62    161.68    -79.99
+  2453353.0    2.55   25.35   22.93    0.0171   -128.27    -12.69    169.26    -69.73
+  2453354.0    3.42   25.40   24.03    0.0171   -118.74     -8.36    159.00    -73.27
+  2453355.0    3.27   25.48   24.33    0.0169   -102.74     -6.80    162.94    -59.80
+  2453356.0    4.06   25.49   24.49    0.0170   -109.66     -6.84    134.43    -70.99
+  2453357.0    2.74   25.46   23.87    0.0172    -68.62     -8.95     73.59    -20.67
+  2453358.0    5.55   25.34   24.10    0.0176   -116.71    -11.89    142.52    -40.07
+  2453359.0    8.05   25.29   24.43    0.0172   -203.41    -11.32    131.23    -39.97
+  2453360.0    6.78   25.27   24.68    0.0169   -121.13     -6.23    112.62    -37.06
+  2453361.0    7.68   25.24   24.73    0.0172   -120.53     -6.10    101.76    -32.06
+  2453362.0    7.37   25.10   22.98    0.0173   -117.23    -24.65     77.09    -19.94
+  2453363.0    7.15   25.14   24.15    0.0174   -153.35    -10.71    130.73    -22.43
+  2453364.0    9.13   25.12   24.29    0.0173   -196.23    -11.92    153.17    -30.68
+  2453365.0    9.00   25.05   24.37    0.0175   -200.83     -9.63    164.69    -52.33
+  2453366.0    9.55   25.01   24.44    0.0174   -185.20     -8.44    155.18    -44.53
+  2453367.0    8.42   24.95   23.49    0.0174   -146.25    -18.66    114.47    -31.38
+  2453368.0    5.50   24.75   23.09    0.0172   -118.03    -14.62    149.95    -50.45
+  2453369.0    3.83   24.78   23.06    0.0173   -146.99    -12.19    169.17    -78.71
+  2453370.0    8.41   24.72   23.87    0.0171   -150.46    -10.85    142.75    -52.62
+  2453371.0    6.94   24.69   24.62    0.0171    -58.48     -0.44     78.73    -21.12
+  2453372.0    9.03   24.55   23.79    0.0171      -NaN      -NaN     24.63      -NaN
+  2453373.0    7.63   24.53   22.83    0.0175   -172.78    -21.72    134.70    -56.77
+  2453374.0    6.46   24.49   21.79    0.0170   -209.97    -29.90    148.87    -59.24
+  2453375.0    8.96   24.45   22.51    0.0171   -247.02    -28.65    156.21    -63.55
+  2453376.0    5.17   24.43   21.96    0.0172   -157.67    -22.46    165.00    -65.81
+  2453377.0    3.33   24.39   21.70    0.0176   -126.71    -17.97    165.65    -66.26
+  2453378.0    3.16   24.38   22.09    0.0176   -138.86    -14.65    164.91    -69.86
+  2453379.0    4.70   24.48   22.19    0.0174   -175.13    -19.50    180.03    -83.40
+  2453380.0    8.59   24.43   23.27    0.0176   -173.35    -16.35    129.16    -46.59
+  2453381.0    5.23   24.44   22.77    0.0178   -187.14    -14.68    174.75    -76.23
+  2453382.0    7.56   24.47   22.60    0.0175   -238.41    -23.75    171.90    -67.23
+  2453383.0    6.79   24.36   22.25    0.0178   -225.71    -24.57    166.30    -68.02
+  2453384.0    9.19   24.27   23.58    0.0178   -195.27     -9.61    122.94    -46.98
+  2453385.0    5.52   24.13   23.45    0.0175    -85.11     -5.27    154.65    -45.92
+  2453386.0    9.63   24.15   24.55    0.0171      -NaN      -NaN    160.76      -NaN
+  2453387.0   10.76   24.10   24.51    0.0174      -NaN      -NaN    121.88      -NaN
+  2453388.0    9.05   24.08   23.90    0.0169      -NaN      -NaN    122.60      -NaN
+  2453389.0    5.96   24.10   23.42    0.0171      -NaN      -NaN    125.72      -NaN
+  2453390.0    4.47   24.12   23.53    0.0170    -85.98     -4.06    144.62    -46.95
+  2453391.0    5.51   24.15   23.84    0.0172    -87.83     -2.39    174.70    -53.46
+  2453392.0    7.85   24.16   23.35    0.0170      -NaN      -NaN    157.73      -NaN
+  2453393.0    6.49   23.96   21.52    0.0172   -230.69    -26.03    190.46    -78.06
+  2453394.0    6.09   23.97   23.00    0.0172   -119.36     -9.80    189.68    -60.71
+  2453395.0    5.13   24.15   23.60    0.0175       NaN       NaN    136.41      -NaN
+  2453396.0    4.25   24.28   23.15    0.0170    -68.40     -8.13    161.95    -44.49
+  2453397.0    6.49   24.23   22.41    0.0167   -109.29    -22.50    142.53    -30.72
+  2453398.0    8.84   24.02   23.00    0.0168   -138.41    -14.11    157.02    -38.19
+  2453399.0    6.63   24.04   23.75    0.0172    -91.66     -3.05    180.58    -41.78
+  2453400.0    4.96   24.19   23.66    0.0170    -70.12     -5.38    162.75    -43.02
+  2453401.0    4.62   24.06   23.11    0.0169    -77.31     -8.04    192.15    -50.00
+  2453402.0    5.21   24.12   23.84    0.0171    -65.69     -2.16     93.88    -34.06
+  2453403.0    5.83   24.06   22.50    0.0171   -120.25    -16.03     56.60    -35.36
+  2453404.0    8.79   23.99   21.76    0.0170   -166.15    -32.30     71.62    -32.10
+  2453405.0    4.68   23.90   21.43    0.0171   -107.94    -20.24    105.50    -35.04
+  2453406.0    9.05   23.81   22.12    0.0172   -160.95    -25.15    117.97    -30.86
+  2453407.0    6.30   23.88   23.46    0.0179    -70.16     -3.90    157.27    -41.17
+  2453408.0    5.69   23.96   23.90    0.0171       NaN       NaN    186.67      -NaN
+  2453409.0    5.65   24.13   23.99    0.0173      -NaN      -NaN    203.75      -NaN
+  2453410.0    6.21   24.19   23.65    0.0173    -90.84     -5.36    199.73    -53.35
+  2453411.0    6.68   24.14   23.58    0.0172   -110.01     -6.03    208.33    -56.99
+  2453412.0    4.72   24.01   23.25    0.0172    -80.62     -6.01    196.45    -54.43
+  2453413.0    5.18   23.76   22.21    0.0170    -88.76    -15.07    169.61    -33.42
+  2453414.0    9.35   23.39   21.15    0.0172   -220.98    -33.97     87.56    -28.13
+  2453415.0    8.14   23.25   21.20    0.0173   -239.53    -28.34    158.31    -55.83
+  2453416.0    7.25   23.28   21.92    0.0170   -205.81    -16.22    221.02    -69.43
+  2453417.0    7.65   23.52   22.41    0.0173   -220.26    -13.85    188.09    -55.78
+  2453418.0    9.00   23.36   22.26    0.0171   -238.51    -16.13    175.62    -49.57
+  2453419.0    7.78   23.40   22.30    0.0174   -212.67    -13.95    185.65    -37.98
+  2453420.0    6.29   23.48   22.64    0.0173   -181.52     -8.56    176.01    -30.45
+  2453421.0    5.50   23.54   22.61    0.0172   -177.66     -8.58    213.99    -50.33
+  2453422.0    4.88   23.55   22.47    0.0170   -151.78     -9.29    234.51    -85.47
+  2453423.0    2.84   23.77   22.63    0.0171    -87.19     -6.63    226.88    -64.06
+  2453424.0    1.72   24.11   22.66    0.0172    -68.60     -5.81    213.01    -65.44
+  2453425.0    7.86   23.92   21.61    0.0171   -184.18    -30.76    194.80    -40.74
+  2453426.0    7.61   23.87   21.77    0.0178   -193.24    -26.81    190.60    -55.70
+  2453427.0    8.64   23.86   21.86    0.0181   -217.87    -28.56    229.84    -71.38
+  2453428.0    9.86   23.93   21.96    0.0183   -258.88    -32.03    220.43    -66.95
+  2453429.0    8.58   23.90   22.13    0.0180   -233.87    -25.08    241.32    -72.39
+  2453430.0    6.89   23.92   22.43    0.0180   -198.25    -17.11    219.79    -62.21
+  2453431.0    5.49   24.04   22.71    0.0174   -184.63    -12.78    218.84    -66.00
+  2453432.0    5.90   24.06   23.04    0.0167   -175.54     -9.91    234.42    -70.79
+  2453433.0    6.07   24.12   22.99    0.0169   -186.15    -11.56    240.74    -75.71
+  2453434.0    5.32   24.24   23.47    0.0169   -125.91     -6.18    200.60    -53.08
+  2453435.0    8.13   24.14   23.24    0.0173   -153.14    -10.56    105.87    -53.27
+  2453436.0    4.35   23.95   21.76    0.0174   -100.72    -17.16    199.21    -48.64
+  2453437.0    5.45   23.45   23.00    0.0171    -78.20     -3.89    219.15    -56.47
+  2453438.0    5.62   23.50   23.49    0.0171      -NaN      -NaN    218.93      -NaN
+  2453439.0    7.15   23.33   23.20    0.0171      -NaN      -NaN    151.12      -NaN
+  2453440.0    8.97   23.58   21.00    0.0174   -288.53    -39.03    213.16    -66.05
+  2453441.0   10.12   23.92   21.23    0.0174   -368.64    -45.80    240.46    -80.90
+  2453442.0    8.49   23.90   21.55    0.0176   -225.61    -33.40    142.63    -41.73
+  2453443.0    9.48   23.88   21.28    0.0174   -272.83    -41.86    162.17    -68.02
+  2453444.0    9.56   23.96   19.18    0.0174   -386.89    -79.68    235.94    -77.29
+  2453445.0   11.87   23.73   19.96    0.0173   -405.36    -76.52    239.37    -72.82
+  2453446.0    8.93   23.68   20.35    0.0173   -315.23    -50.57    234.35    -78.10
+  2453447.0    5.60   23.67   20.87    0.0175   -188.15    -28.08    242.21    -81.13
+  2453448.0    2.08   23.68   21.19    0.0174    -97.48    -11.89    217.40    -74.22
+  2453449.0    3.87   23.68   21.24    0.0177   -104.07    -17.73    139.08    -40.98
+  2453450.0    4.00   23.57   21.27    0.0176   -136.01    -17.50    212.29    -73.09
+  2453451.0    4.14   23.71   21.76    0.0175   -156.27    -14.81    259.10    -88.11
+  2453452.0    4.60   23.66   22.57    0.0171   -106.45     -8.44    266.56    -72.27
+  2453453.0    5.01   23.74   23.08    0.0174    -78.19     -5.34    254.86    -57.91
+  2453454.0    2.44   24.16   23.41    0.0173    -36.09     -3.34    265.47    -62.02
+  2453455.0    5.10   24.26   23.31    0.0173    -88.57     -9.96    192.61    -45.06
+  2453456.0    8.94   23.68   20.71    0.0179   -260.45    -45.01    116.12    -29.17
+  2453457.0    9.64   23.57   21.24    0.0178   -322.43    -37.62    233.10    -61.02
+  2453458.0    9.31   23.51   21.79    0.0178   -245.31    -26.38    243.19    -41.32
+  2453459.0    8.99   23.50   22.56    0.0178   -149.05    -13.56    210.30    -38.28
+  2453460.0    7.68   23.41   23.02    0.0180   -112.68     -4.43    252.29    -42.21
+  2453461.0    8.39   23.42   22.81    0.0179   -136.23     -8.04    225.73    -47.40
+  2453462.0   10.21   23.51   22.70    0.0180   -203.51    -13.25    238.10    -53.01
+  2453463.0   10.04   23.54   22.47    0.0184   -180.86    -17.46    264.51    -52.26
+  2453464.0   10.03   23.47   22.73    0.0182   -193.98    -11.77    264.04    -59.12
+  2453465.0    7.53   23.40   22.43    0.0183   -160.42    -11.74    254.42    -53.02
+  2453466.0    8.20   23.46   22.41    0.0179   -178.35    -13.89    249.68    -43.73
+  2453467.0    9.65   23.39   22.02    0.0177   -210.74    -21.51    258.42    -46.96
+  2453468.0    9.43   23.34   22.41    0.0176   -201.35    -14.04    253.61    -48.10
+  2453469.0    9.66   23.34   22.76    0.0180   -132.81     -8.53    197.38    -23.33
+  2453470.0    8.91   23.33   22.80    0.0182   -105.31     -8.06    241.90    -37.04
+  2453471.0    8.21   23.36   23.03    0.0182   -109.21     -4.33    251.25    -48.54
+  2453472.0    8.70   23.21   22.77    0.0181      -NaN      -NaN    235.54      -NaN
+  2453473.0    8.03   23.29   23.17    0.0177      -NaN      -NaN    236.11      -NaN
+  2453474.0    7.19   23.30   22.88    0.0178   -100.01     -4.55    233.97    -43.33
+  2453475.0    6.93   23.25   22.94    0.0176      -NaN      -NaN    191.12      -NaN
+  2453476.0    7.39   23.40   23.33    0.0174    -87.17     -0.50    259.16    -47.75
+  2453477.0    7.28   23.50   23.39    0.0174      -NaN      -NaN    281.24      -NaN
+  2453478.0    7.89   23.58   23.73    0.0175   -104.19      2.22    283.95    -47.54
+  2453479.0    6.28   23.67   23.73    0.0178    -94.73      0.81    284.10    -57.63
+  2453480.0    6.15   23.78   23.76    0.0176   -111.17     -0.05    281.59    -60.88
+  2453481.0    7.65   23.97   23.51    0.0175   -145.59     -5.43    281.01    -52.62
+  2453482.0    8.44   23.96   23.72    0.0178   -179.01     -3.28    282.17    -63.09
+  2453483.0    6.22   23.91   23.42    0.0174   -127.37     -4.45    272.30    -56.31
+  2453484.0    6.54   24.03   23.52    0.0176   -163.32     -5.25    260.62    -60.04
+  2453485.0    7.08   24.23   23.33    0.0174   -173.82    -10.26    258.39    -48.53
+  2453486.0    6.85   24.45   23.40    0.0177   -184.20    -11.59    284.34    -55.26
+  2453487.0    6.94   24.56   23.65    0.0176   -185.71    -10.29    276.22    -56.53
+  2453488.0    5.75   24.41   23.57    0.0178   -131.91     -7.93    192.86    -55.38
+  2453489.0    5.06   24.52   22.67    0.0177   -159.35    -16.35    229.71    -52.79
+  2453490.0    2.43   24.66   22.43    0.0181   -113.98    -11.55    288.81    -78.49
+  2453491.0    1.54   25.02   22.89    0.0178    -86.93     -8.35    263.09    -68.18
+  2453492.0    3.36   24.96   23.57    0.0175   -111.19     -8.37    238.83    -50.89
+  2453493.0    4.57   24.99   23.21    0.0178    -99.93    -14.32    223.38    -32.05
+  2453494.0    4.81   25.33   23.92    0.0180   -121.03    -11.85    252.50    -37.68
+  2453495.0    5.33   25.30   24.61    0.0178    -93.50     -6.02    267.61    -47.10
+  2453496.0    4.94   25.29   24.76    0.0178    -85.28     -4.40    278.45    -40.97
+  2453497.0    5.79   25.22   24.82    0.0179    -96.78     -3.68    251.83    -39.02
+  2453498.0    6.97   25.07   24.62    0.0182   -109.95     -4.81    257.23    -43.48
+  2453499.0    6.87   25.05   24.46    0.0179   -104.41     -6.16    263.28    -40.73
+  2453500.0    6.12   25.03   24.24    0.0178   -123.28     -7.73    274.65    -55.36
+  2453501.0    3.42   25.17   24.41    0.0181    -78.94     -4.56    299.07    -52.45
+  2453502.0    3.30   25.28   24.63    0.0185    -69.56     -3.69    284.21    -50.83
+  2453503.0    2.89   25.44   24.79    0.0184    -70.68     -3.28    298.93    -56.36
+  2453504.0    5.39   25.41   24.90    0.0186   -118.90     -4.39    297.98    -42.71
+  2453505.0    6.86   25.31   24.94    0.0184   -123.91     -3.87    271.58    -31.32
+  2453506.0    8.11   25.27   24.82    0.0183   -139.24     -5.65    260.64    -31.09
+  2453507.0    7.60   25.19   24.77    0.0183   -135.51     -4.68    220.81    -42.56
+  2453508.0    6.69   25.19   24.74    0.0183   -120.27     -4.72    259.82    -53.62
+  2453509.0    6.69   25.23   24.56    0.0181   -123.39     -6.99    282.10    -44.05
+  2453510.0    7.56   25.16   23.87    0.0181   -179.90    -15.87    239.72    -38.97
+  2453511.0    5.45   25.19   24.24    0.0178   -131.75     -8.79    289.72    -56.11
+  2453512.0    6.23   25.33   24.67    0.0178   -126.18     -6.54    292.05    -56.62
+  2453513.0    6.63   25.31   24.83    0.0179   -108.78     -4.80    286.55    -44.23
+  2453514.0    6.47   25.33   24.71    0.0179    -92.52     -6.37    266.99    -39.72
+  2453515.0    5.79   25.46   24.81    0.0177    -94.01     -5.94    296.96    -49.22
+  2453516.0    6.06   25.46   24.69    0.0178   -121.56     -7.52    296.18    -55.27
+  2453517.0    6.49   25.56   24.83    0.0179   -133.86     -7.59    291.65    -56.34
+  2453518.0    6.51   25.58   24.87    0.0179   -135.45     -7.30    298.11    -57.44
+  2453519.0    6.54   25.68   24.77    0.0179   -142.63     -9.55    286.29    -55.95
+  2453520.0    5.07   25.77   24.82    0.0179   -109.33     -8.02    298.26    -58.46
+  2453521.0    6.35   25.68   24.97    0.0178   -142.87     -6.97    259.46    -59.31
+  2453522.0    7.55   25.40   24.77    0.0180   -129.17     -7.57    251.12    -37.09
+  2453523.0    6.72   25.28   25.09    0.0177   -112.96     -1.85    301.08    -50.02
+  2453524.0    7.11   25.27   24.82    0.0176   -118.22     -4.95    284.16    -35.93
+  2453525.0    7.18   25.25   24.77    0.0179    -98.04     -5.14    275.79    -40.04
+  2453526.0    7.37   25.34   25.21    0.0179   -117.42     -1.18    295.03    -53.30
+  2453527.0    7.97   25.40   25.13    0.0180   -136.79     -3.27    296.25    -46.24
+  2453528.0    7.97   25.32   24.89    0.0174   -142.39     -5.36    284.33    -42.30
+  2453529.0    8.61   25.37   25.11    0.0176   -150.56     -3.27    280.69    -53.52
+  2453530.0    8.55   25.46   25.02    0.0175   -163.34     -5.84    276.42    -53.12
+  2453531.0    9.06   25.26   24.69    0.0177   -163.11     -7.95    254.55    -43.74
+  2453532.0    9.08   25.04   24.73    0.0173   -154.48     -4.34    281.37    -45.64
+  2453533.0    8.70   25.06   24.66    0.0166   -163.64     -5.51    305.02    -56.77
+  2453534.0    8.63   25.11   24.90    0.0169   -188.04     -2.71    305.75    -63.98
+  2453535.0    7.49   25.17   24.95    0.0169   -133.60     -2.33    297.17    -51.21
+  2453536.0    7.59   25.30   24.88    0.0166   -119.08     -4.60    268.33    -45.26
+  2453537.0    8.29   25.08   25.01    0.0166   -156.13     -0.58    291.98    -57.41
+  2453538.0    7.69   25.09   24.79    0.0169   -143.84     -3.65    308.32    -49.78
+  2453539.0    8.22   25.17   25.11    0.0167   -150.04     -0.41    291.57    -48.09
+  2453540.0    8.04   25.21   25.00    0.0171   -161.79     -2.37    302.64    -57.95
+  2453541.0    8.32   25.38   24.85    0.0170   -116.56     -6.71    226.03    -23.54
+  2453542.0    7.77   25.42   25.04    0.0171   -141.60     -4.32    295.15    -52.59
+  2453543.0    7.55   25.48   24.93    0.0172   -142.54     -6.65    300.07    -51.17
+  2453544.0    7.22   25.51   25.07    0.0174   -154.20     -4.81    296.36    -55.88
+  2453545.0    8.04   25.51   24.87    0.0170   -155.09     -7.93    210.86    -34.68
+  2453546.0    7.98   25.49   24.85    0.0172   -159.07     -8.02    183.34    -34.17
+  2453547.0    8.44   25.43   24.95    0.0172   -160.43     -6.25    240.80    -35.96
+  2453548.0    8.13   25.41   24.94    0.0172   -173.74     -5.81    302.85    -49.90
+  2453549.0    8.05   25.39   24.67    0.0174   -159.13     -9.40    262.58    -43.25
+  2453550.0    6.89   25.49   24.66    0.0176   -133.28     -9.07    262.43    -43.19
+  2453551.0    6.26   25.66   24.63    0.0179   -119.57    -10.22    260.49    -45.35
+  2453552.0    7.10   25.63   24.84    0.0177   -131.80     -8.82    271.84    -43.97
+  2453553.0    6.23   25.59   24.74    0.0178   -110.94     -8.38    288.58    -46.60
+  2453554.0    7.09   25.59   24.95    0.0174   -142.75     -7.01    273.52    -50.89
+  2453555.0    6.99   25.74   24.69    0.0170   -154.71    -11.46    251.21    -46.34
+  2453556.0    6.84   25.81   24.92    0.0171   -133.26     -9.73    293.16    -54.13
+  2453557.0    7.62   25.89   25.32    0.0171   -143.65     -6.60    295.99    -56.85
+  2453558.0    7.49   25.92   25.35    0.0173   -149.30     -6.43    295.77    -52.67
+  2453559.0    8.49   25.91   25.66    0.0176   -201.13     -3.10    282.66    -37.18
+  2453560.0    8.96   25.63   25.23    0.0172   -207.89     -5.41    277.92    -34.45
+  2453561.0    7.81   25.54   25.02    0.0173   -137.58     -6.10    232.63    -23.16
+  2453562.0    7.10   25.55   24.99    0.0179   -138.43     -6.02    224.92    -41.71
+  2453563.0    7.24   25.57   25.00    0.0178   -132.89     -6.27    255.19    -44.12
+  2453564.0    8.53   25.62   25.13    0.0175   -156.82     -6.38    259.17    -37.42
+  2453565.0    8.91   25.82   25.38    0.0173   -171.30     -5.98    282.87    -50.23
+  2453566.0    8.62   25.87   24.97    0.0175   -137.54    -12.27    241.32    -35.55
+  2453567.0    7.87   25.90   25.23    0.0175   -135.31     -8.13    271.71    -45.81
+  2453568.0    7.71   25.82   25.31    0.0175   -145.95     -5.98    270.28    -49.14
+  2453569.0    7.34   25.83   25.06    0.0176   -142.23     -8.76    294.20    -44.12
+  2453570.0    7.97   25.85   25.35    0.0175   -164.91     -6.04    285.39    -52.89
+  2453571.0    8.22   25.87   25.46    0.0177   -176.10     -5.13    296.18    -52.97
+  2453572.0    7.46   25.90   24.97    0.0174   -178.33    -11.19    258.84    -45.26
+  2453573.0    7.52   25.93   24.93    0.0175   -184.70    -12.14    297.89    -48.58
+  2453574.0    6.92   25.96   25.26    0.0176   -152.18     -7.66    265.58    -46.87
+  2453575.0    7.53   25.92   24.87    0.0175   -122.76    -12.57    268.75    -31.26
+  2453576.0    7.97   25.80   25.54    0.0177   -139.94     -2.96    292.59    -50.61
+  2453577.0    7.59   25.76   25.35    0.0180   -145.03     -4.68    130.30    -55.03
Index: /trunk/src/paper01/fig14/met_data_whots_2005_2006.txt
===================================================================
--- /trunk/src/paper01/fig14/met_data_whots_2005_2006.txt	(revision 41)
+++ /trunk/src/paper01/fig14/met_data_whots_2005_2006.txt	(revision 41)
@@ -0,0 +1,333 @@
+time  ws(m/s)   sst(C)  at(C)  q2m(g/kg)   lhf(w/m2)   shf(w/m2)   swr(w/m2)   lwr(s/m2)
+  2453580.0    8.65   25.85   25.56    0.0157   -156.10     -3.68    222.61    -41.15
+  2453581.0    8.85   25.84   25.48    0.0162   -153.94     -4.65    276.14    -46.59
+  2453582.0    7.42   25.89   25.43    0.0167   -145.20     -5.28    295.15    -58.89
+  2453583.0    7.33   25.94   25.36    0.0163   -128.96     -6.54    281.14    -55.24
+  2453584.0    8.51   25.94   25.53    0.0162   -142.57     -5.12    271.87    -53.64
+  2453585.0    8.68   25.92   25.54    0.0163   -163.15     -4.92    301.62    -56.01
+  2453586.0    8.69   25.92   25.57    0.0159   -167.30     -4.50    289.65    -50.59
+  2453587.0    8.31   25.90   25.36    0.0162   -197.92     -6.93    294.97    -61.33
+  2453588.0    8.80   25.86   25.17    0.0160   -168.75     -9.35    274.28    -50.93
+  2453589.0    7.93   25.88   25.18    0.0162   -132.92     -8.42    266.45    -51.68
+  2453590.0    7.96   25.89   25.36    0.0160   -135.27     -6.53    295.57    -55.33
+  2453591.0    6.39   26.00   25.47    0.0163   -127.58     -5.28    289.76    -67.72
+  2453592.0    6.38   26.12   25.54    0.0162   -115.85     -5.75    261.46    -44.33
+  2453593.0    7.15   26.15   25.56    0.0160   -121.72     -6.44    278.21    -42.55
+  2453594.0    6.58   26.19   25.60    0.0158   -114.00     -6.06    283.22    -40.03
+  2453595.0    3.85   26.36   25.52    0.0159   -102.06     -5.56    285.76    -48.94
+  2453596.0    4.28   26.43   25.51    0.0159   -116.66     -6.71    264.23    -55.67
+  2453597.0    6.58   26.36   25.71    0.0154   -158.36     -6.61    251.26    -38.97
+  2453598.0    6.97   26.38   25.57    0.0162   -155.14     -8.73    227.17    -38.29
+  2453599.0    7.37   26.37   25.75    0.0159   -144.48     -7.08    259.81    -44.95
+  2453600.0    6.97   26.19   25.50    0.0157   -120.51     -7.55    270.85    -49.27
+  2453601.0    7.14   26.19   25.76    0.0159   -129.55     -4.69    283.06    -54.92
+  2453602.0    6.74   26.24   25.68    0.0161   -127.25     -5.87    284.46    -54.84
+  2453603.0    6.00   26.23   25.73    0.0156   -101.06     -4.56    266.75    -49.96
+  2453604.0    3.76   26.33   25.57    0.0160    -94.30     -4.60    279.62    -67.22
+  2453605.0    1.77   26.77   25.59    0.0159    -65.45     -4.51    276.39    -61.43
+  2453606.0    3.82   26.75   25.89    0.0161   -103.03     -5.34    279.95    -60.11
+  2453607.0    5.58   26.57   26.07    0.0158   -128.64     -4.34    246.83    -50.11
+  2453608.0    6.43   26.71   26.11    0.0159   -137.57     -6.02    283.95    -60.73
+  2453609.0    3.75   26.95   25.85    0.0164    -82.40     -6.87    271.95    -51.52
+  2453610.0    3.69   27.07   26.18    0.0158    -95.82     -5.66    269.73    -57.64
+  2453611.0    3.36   27.12   26.06    0.0161    -91.81     -6.22    274.20    -49.71
+  2453612.0    4.50   27.22   26.25    0.0162   -108.56     -6.99    270.55    -49.82
+  2453613.0    6.59   27.03   26.43    0.0152   -141.08     -6.21    280.70    -50.47
+  2453614.0    6.32   26.92   26.35    0.0163   -136.00     -5.60    247.35    -46.31
+  2453615.0    6.13   26.88   26.28    0.0155   -109.15     -5.74    246.80    -46.47
+  2453616.0    6.04   26.86   26.00    0.0156   -103.94     -7.91    260.03    -40.98
+  2453617.0    6.69   26.87   26.48    0.0154   -115.33     -3.99    256.61    -47.96
+  2453618.0    8.31   26.97   26.20    0.0156   -143.07    -10.75    258.99    -38.48
+  2453619.0    8.95   27.04   26.28    0.0157   -159.10    -11.17    265.15    -44.81
+  2453620.0    9.12   26.98   26.41    0.0157   -188.78     -8.00    264.41    -57.93
+  2453621.0    8.37   26.67   25.84    0.0157   -163.83    -10.98    261.92    -48.12
+  2453622.0    8.21   26.74   25.92    0.0156   -177.69    -10.65    257.81    -53.68
+  2453623.0    6.98   26.75   25.83    0.0157   -146.00    -10.27    209.79    -48.15
+  2453624.0    7.99   26.79   26.27    0.0155   -120.44     -6.46    243.51    -36.89
+  2453625.0    8.18   26.80   26.30    0.0157   -142.43     -6.28    242.73    -45.33
+  2453626.0    8.12   26.85   26.11    0.0155   -182.47     -9.30    236.13    -57.23
+  2453627.0    8.27   26.62   26.09    0.0154   -176.18     -6.68    241.14    -54.55
+  2453628.0    9.17   26.48   25.81    0.0155   -145.71     -9.87    241.47    -38.69
+  2453629.0    9.61   26.61   26.00    0.0156   -142.62     -9.11    239.50    -40.77
+  2453630.0    9.89   26.63   26.04    0.0157   -192.50     -8.99    224.56    -41.59
+  2453631.0    8.84   26.79   26.01    0.0158   -191.89    -10.73    253.77    -57.37
+  2453632.0    7.11   26.73   25.71    0.0158   -171.32    -11.69    253.72    -63.89
+  2453633.0    4.93   26.55   25.50    0.0155   -126.80     -8.62    232.52    -53.39
+  2453634.0    5.45   26.60   25.57    0.0158   -119.62     -9.20    240.40    -46.68
+  2453635.0    6.04   26.57   25.61    0.0160   -126.17     -9.26    212.63    -42.42
+  2453636.0    6.45   26.57   25.81    0.0156   -120.24     -7.85    209.78    -39.25
+  2453637.0    6.11   26.59   25.72    0.0158    -85.27     -8.94    158.68    -28.94
+  2453638.0    5.49   26.73   26.14    0.0154    -73.96     -5.09    239.77    -39.37
+  2453639.0    1.85   27.13   26.40    0.0155       NaN       NaN    245.51       NaN
+  2453640.0    6.40   27.05   25.91    0.0150       NaN       NaN    222.01       NaN
+  2453641.0    8.22   26.68   25.94    0.0151   -199.02     -9.55    228.87    -53.08
+  2453642.0    9.06   26.52   25.63    0.0154   -223.52    -12.67    239.17    -59.72
+  2453643.0    8.71   26.47   25.82    0.0154   -197.40     -8.74    243.81    -55.52
+  2453644.0    9.81   26.41   25.75    0.0154   -170.38     -9.95    206.91    -38.20
+  2453645.0    8.91   26.41   25.35    0.0154   -148.77    -15.05    191.55    -37.56
+  2453646.0    7.06   26.45   25.77    0.0161   -123.98     -7.48    217.99    -45.34
+  2453647.0    6.74   26.42   25.61    0.0149   -123.43     -8.72    230.13    -51.29
+  2453648.0    8.34   26.40   25.48    0.0153   -177.52    -12.11    235.11    -54.08
+  2453649.0    8.29   26.37   25.57    0.0153   -163.35     -9.94    225.28    -45.18
+  2453650.0    9.66   26.34   25.32    0.0154   -189.47    -15.59    200.47    -41.83
+  2453651.0    9.27   26.26   25.37    0.0159   -189.68    -13.50    217.34    -51.57
+  2453652.0    9.11   26.23   25.38    0.0156   -200.91    -12.45    213.94    -54.81
+  2453653.0    7.97   26.23   25.12    0.0157   -153.49    -14.21    198.27    -46.55
+  2453654.0    8.79   26.21   25.41    0.0156   -174.95    -10.87    191.64    -51.39
+  2453655.0    9.22   26.16   25.66    0.0156   -165.00     -6.79    215.36    -51.32
+  2453656.0    8.75   26.15   25.60    0.0161   -175.69     -7.31    232.87    -66.54
+  2453657.0    8.44   26.12   25.49    0.0158   -181.18     -8.23    238.02    -64.48
+  2453658.0    8.78   26.10   25.11    0.0159   -184.16    -13.64    198.99    -57.53
+  2453659.0    7.43   26.08   25.31    0.0156   -166.79     -9.02    219.04    -64.51
+  2453660.0    5.81   26.10   25.42    0.0160   -129.46     -6.35    220.11    -65.13
+  2453661.0    6.56   26.11   25.82    0.0156    -85.77     -2.78    199.25    -38.64
+  2453662.0    5.82   26.09   25.34    0.0160   -120.10     -7.01    207.74    -61.06
+  2453663.0    4.93   26.00   24.42    0.0164    -98.75    -13.32    145.94    -38.69
+  2453664.0    6.41   26.08   25.59    0.0159   -117.81     -5.13    202.01    -49.33
+  2453665.0    5.33   26.20   25.27    0.0160    -95.63     -8.52    209.25    -52.40
+  2453666.0    9.51   25.95   25.11    0.0158   -166.59    -13.29    191.11    -44.23
+  2453667.0   10.85   25.83   25.16    0.0158   -266.71    -11.46    180.69    -45.35
+  2453668.0    8.46   25.76   24.90    0.0160   -225.80    -11.44    214.03    -67.91
+  2453669.0    9.00   25.72   24.13    0.0160   -188.62    -24.11    152.78    -39.96
+  2453670.0    8.10   25.66   24.85    0.0153   -154.05    -10.06    168.23    -48.34
+  2453671.0    7.89   25.63   24.89    0.0157   -175.53     -9.44    209.99    -55.67
+  2453672.0    8.00   25.59   24.74    0.0156   -179.25    -10.71    177.91    -50.98
+  2453673.0    8.05   25.61   24.98    0.0156   -182.23     -7.91    199.11    -64.65
+  2453674.0    7.76   25.68   24.57    0.0159   -165.50    -14.01    184.53    -41.02
+  2453675.0    7.16   25.79   24.92    0.0162   -118.98     -9.04    155.61    -30.45
+  2453676.0    8.32   25.97   25.30    0.0161   -129.11     -8.76    159.09    -38.73
+  2453677.0   10.08   26.04   25.37    0.0162   -202.67    -10.51    181.18    -44.93
+  2453678.0    9.87   25.99   25.29    0.0157   -216.19    -10.63    162.92    -58.48
+  2453679.0    9.26   25.91   24.93    0.0158   -193.16    -14.33    162.24    -43.16
+  2453680.0    6.80   25.86   24.88    0.0154   -133.95    -10.54    164.53    -43.11
+  2453681.0    7.08   25.65   24.86    0.0151   -132.62     -8.80    144.13    -50.25
+  2453682.0    7.66   25.69   24.66    0.0156   -157.13    -12.72    177.82    -59.66
+  2453683.0    9.47   25.54   24.85    0.0153   -188.15    -10.22    187.70    -53.60
+  2453684.0    9.33   25.39   24.87    0.0152   -165.20     -7.60    184.21    -55.92
+  2453685.0    8.42   25.27   24.33    0.0151   -182.49    -12.93    185.65    -59.13
+  2453686.0    7.83   25.26   24.38    0.0152   -150.88    -11.07    182.18    -60.06
+  2453687.0    7.84   25.26   24.41    0.0155   -134.63    -10.60    185.27    -56.58
+  2453688.0    5.90   25.27   24.39    0.0159    -97.99     -8.32    185.54    -54.89
+  2453689.0    3.60   25.37   24.83    0.0162    -64.04     -3.22    193.23    -69.75
+  2453690.0    5.63   25.35   24.92    0.0165    -79.47     -3.73    187.63    -59.27
+  2453691.0    7.25   25.33   24.80    0.0171   -125.51     -6.00    176.00    -55.28
+  2453692.0    7.69   25.28   24.65    0.0174   -159.91     -7.56    183.07    -65.13
+  2453693.0    6.99   25.27   24.23    0.0172   -131.84    -11.88    174.69    -51.67
+  2453694.0    5.88   25.31   24.23    0.0172   -116.28    -10.50    168.26    -51.79
+  2453695.0    5.92   25.30   24.51    0.0171   -115.28     -7.55    181.10    -63.27
+  2453696.0    5.53   25.34   24.84    0.0167      -NaN      -NaN    181.08      -NaN
+  2453697.0    4.86   25.34   24.83    0.0166      -NaN      -NaN    162.98      -NaN
+  2453698.0    4.66   25.35   24.96    0.0174      -NaN      -NaN    147.58      -NaN
+  2453699.0    5.80   25.40   24.44    0.0171   -106.35     -9.25    131.85    -27.36
+  2453700.0    7.76   25.29   24.55    0.0172   -107.55     -8.58    144.17    -41.58
+  2453701.0    7.63   25.25   24.90    0.0170      -NaN      -NaN    111.27      -NaN
+  2453702.0    4.12   25.22   24.07    0.0172   -133.24     -8.13    167.22    -62.97
+  2453703.0    2.62   25.29   24.02    0.0170    -90.35     -6.22    164.40    -59.66
+  2453704.0    3.64   25.29   24.66    0.0168    -77.76     -4.24    156.54    -47.99
+  2453705.0    1.51   25.40   24.46    0.0166    -42.87     -3.11    162.14    -57.86
+  2453706.0    1.97   25.61   24.61    0.0169    -50.59     -4.28    166.03    -63.27
+  2453707.0    2.21   25.62   24.78    0.0165    -46.26     -3.69    172.70    -67.24
+  2453708.0    3.75   25.55   24.82    0.0163    -63.87     -4.20    165.82    -58.68
+  2453709.0    3.90   25.40   24.55    0.0164    -65.06     -5.47    139.08    -49.75
+  2453710.0    5.58   25.29   24.11    0.0163   -155.60    -10.94    146.74    -68.55
+  2453711.0    7.86   25.19   24.22    0.0163   -242.99    -12.29    165.64    -72.66
+  2453712.0    7.65   25.12   24.05    0.0164   -203.82    -13.24    170.32    -71.99
+  2453713.0    7.57   25.09   24.02    0.0165   -191.04    -13.37    177.60    -64.12
+  2453714.0    5.99   25.09   24.45    0.0166   -115.72     -6.06    173.87    -67.94
+  2453715.0    6.86   25.05   24.29    0.0163   -147.15     -8.60    146.64    -66.53
+  2453716.0    5.75   25.04   23.94    0.0166   -117.23    -10.23    165.90    -55.84
+  2453717.0    6.23   25.05   24.14    0.0162   -134.53     -9.50    164.65    -62.74
+  2453718.0    8.51   24.95   24.01    0.0161   -218.98    -12.92    167.40    -77.70
+  2453719.0    6.82   24.91   23.87    0.0167   -198.54    -11.63    167.95    -77.20
+  2453720.0    3.48   24.93   24.25    0.0166   -105.62     -4.55    170.56    -58.47
+  2453721.0    1.93   25.08   23.49    0.0166    -87.66     -7.32    121.24    -61.35
+  2453722.0    5.97   24.87   23.54    0.0164   -141.89    -12.97    138.26    -61.92
+  2453723.0   10.37   24.88   24.67    0.0161      -NaN      -NaN    129.19      -NaN
+  2453724.0    8.16   24.85   23.95    0.0162      -NaN      -NaN    152.79      -NaN
+  2453725.0    2.59   24.65   23.35    0.0166    -94.35     -6.70    152.90    -76.62
+  2453726.0    1.65   24.76   23.37    0.0161    -58.98     -5.28    167.51    -73.77
+  2453727.0    4.10   24.92   23.89    0.0159    -80.86     -6.28    164.35    -66.49
+  2453728.0    5.63   24.68   23.60    0.0160   -148.52    -10.81    161.11    -72.40
+  2453729.0    3.86   24.57   22.20    0.0166   -142.38    -17.66    163.83    -91.48
+  2453730.0    4.45   24.57   22.57    0.0160   -127.66    -15.68    170.59    -90.77
+  2453731.0    3.61   24.55   23.58    0.0160    -90.09     -6.53    156.97    -66.41
+  2453732.0    2.33   24.70   23.82    0.0165    -62.27     -3.92    174.89    -61.80
+  2453733.0    5.62   24.59   23.94    0.0161    -96.76     -5.86    171.90    -65.18
+  2453734.0    4.54   24.59   24.06    0.0159    -82.69     -3.58    170.17    -65.38
+  2453735.0    2.39   24.67   24.16    0.0155    -42.90     -2.13    173.02    -65.93
+  2453736.0    1.43   24.86   23.85    0.0162    -35.87     -3.57    141.63    -62.26
+  2453737.0    6.94   24.80   23.61    0.0155   -133.91    -14.66    166.97    -51.03
+  2453738.0    5.87   24.56   23.23    0.0161   -134.63    -13.36    145.82    -44.21
+  2453739.0    5.27   24.33   23.71    0.0159      -NaN      -NaN    159.70      -NaN
+  2453740.0    8.80   24.28   22.34    0.0157   -244.37    -28.00    118.41    -61.62
+  2453741.0    7.72   24.19   20.81    0.0159   -280.56    -44.89    146.65    -57.74
+  2453742.0    9.49   24.06   21.81    0.0164   -227.83    -35.38    138.76    -62.37
+  2453743.0    9.45   24.10   23.13    0.0157   -234.01    -14.67    148.28    -51.80
+  2453744.0    8.88   24.12   23.20    0.0159   -218.16    -13.00    146.70    -57.14
+  2453745.0    8.87   23.97   22.98    0.0159   -173.18    -14.36    162.69    -56.92
+  2453746.0    8.86   24.08   23.58    0.0160   -187.00     -6.81    167.83    -67.34
+  2453747.0    7.92   24.04   23.59    0.0157   -157.46     -5.45    140.62    -64.24
+  2453748.0    8.77   23.85   23.37    0.0157   -179.92     -6.80    167.75    -63.61
+  2453749.0    9.84   23.81   23.27    0.0158   -170.37     -8.35    153.62    -47.91
+  2453750.0    9.04   23.95   23.55    0.0157   -155.79     -5.37    156.77    -52.94
+  2453751.0    6.98   23.91   23.60    0.0157   -111.56     -2.98    172.70    -63.61
+  2453752.0    4.07   23.90   23.22    0.0157    -72.25     -4.32    160.47    -53.33
+  2453753.0    8.73   23.67   23.37    0.0158   -128.12     -3.73    167.09    -54.03
+  2453754.0    8.24   23.75   23.59    0.0163   -116.36     -1.32    179.16    -56.00
+  2453755.0    7.67   23.74   23.70    0.0157      -NaN      -NaN    179.97      -NaN
+  2453756.0    8.00   23.84   23.17    0.0156   -125.88     -8.65    177.46    -50.63
+  2453757.0    8.63   23.88   23.16    0.0160   -139.28     -9.66    139.78    -47.57
+  2453758.0    9.53   23.74   22.67    0.0159   -157.06    -17.16    154.88    -52.98
+  2453759.0    7.30   23.73   22.35    0.0156   -115.72    -17.71    158.90    -49.94
+  2453760.0    8.86   23.46   22.57    0.0155   -103.23    -12.51    158.97    -38.06
+  2453761.0   10.22   23.40   23.14    0.0154      -NaN      -NaN    140.10      -NaN
+  2453762.0   10.16   23.63   23.66    0.0158      -NaN      -NaN    172.56      -NaN
+  2453763.0    9.15   23.65   23.52    0.0158   -110.38     -1.68    178.45    -49.98
+  2453764.0    8.22   23.64   23.40    0.0155   -135.11     -2.73    194.27    -61.59
+  2453765.0    7.56   23.60   23.17    0.0158   -125.80     -5.01    174.70    -56.34
+  2453766.0    7.50   23.61   23.23    0.0159   -117.29     -4.37    185.37    -54.74
+  2453767.0    4.23   23.68   23.51    0.0156      -NaN      -NaN    175.86      -NaN
+  2453768.0    4.92   23.77   23.39    0.0153       NaN       NaN    132.81       NaN
+  2453769.0    4.75   23.73   23.03    0.0159    -92.51     -7.66    115.56    -55.97
+  2453770.0    7.51   23.57   21.41    0.0155   -237.16    -26.59    174.94    -66.20
+  2453771.0    7.77   23.47   20.29    0.0155   -251.22    -42.44    180.69    -78.64
+  2453772.0    8.55   23.35   21.68    0.0158   -253.71    -24.01    187.40    -64.41
+  2453773.0    6.99   23.24   22.29    0.0153   -191.61    -10.79    179.24    -66.74
+  2453774.0    4.76   23.29   22.55    0.0152   -142.50     -6.07    190.16    -71.38
+  2453775.0    7.04   23.21   21.93    0.0152   -203.35    -19.70    204.75    -74.52
+  2453776.0    9.02   23.14   19.74    0.0155   -315.32    -52.36    193.45    -64.11
+  2453777.0    7.23   22.75   20.42    0.0152   -226.56    -28.95    182.17    -60.65
+  2453778.0    5.81   22.97   21.38    0.0151   -140.03    -15.72    204.50    -71.80
+  2453779.0    6.36   23.16   21.27    0.0150   -125.75    -22.46    148.64    -36.13
+  2453780.0    8.94   23.23   21.45    0.0160   -205.58    -26.66    205.54    -70.75
+  2453781.0    8.91   23.19   20.69    0.0153   -282.56    -37.50    213.65    -83.14
+  2453782.0    8.36   23.11   21.27    0.0153   -140.78    -25.57    183.84    -45.48
+  2453783.0    5.66   23.08   22.55    0.0152    -85.56     -4.74    202.50    -59.82
+  2453784.0    4.64   23.03   22.17    0.0154       NaN       NaN    202.03       NaN
+  2453785.0    4.71   23.18   23.00    0.0157       NaN       NaN    193.69      -NaN
+  2453786.0    6.77   23.14   22.89    0.0152    -62.61     -2.58     79.30    -33.08
+  2453787.0    8.95   23.13   21.90    0.0152    -85.98    -18.67     91.96    -15.73
+  2453788.0    9.68   23.06   21.73    0.0150   -120.72    -20.85     66.78    -20.19
+  2453789.0    8.04   23.00   21.31    0.0150    -97.01    -24.79    126.23    -30.35
+  2453790.0    5.24   23.13   21.95    0.0157    -79.17    -10.60    154.64    -37.82
+  2453791.0    5.32   23.19   22.02    0.0154   -101.71    -10.42    178.25    -42.94
+  2453792.0    5.53   23.13   21.75    0.0150   -135.09    -12.97    171.31    -60.66
+  2453793.0    7.29   23.04   21.72    0.0155   -141.12    -16.52    108.96    -37.40
+  2453794.0   10.39   23.10   21.43    0.0149   -256.79    -28.71    109.86    -42.37
+  2453795.0   10.35   23.00   21.75    0.0153   -245.63    -21.13    150.57    -42.23
+  2453796.0    9.74   22.97   22.62    0.0153   -147.06     -5.17    127.64    -28.61
+  2453797.0    9.55   23.40   22.91    0.0152   -130.78     -7.34    143.45    -22.83
+  2453798.0    8.99   23.63   23.07    0.0154   -102.24     -7.85    167.33    -16.73
+  2453799.0    8.13   23.60   22.68    0.0157   -135.75    -11.89    192.99    -40.95
+  2453800.0    8.40   23.81   22.16    0.0151   -188.02    -22.58    201.37    -53.41
+  2453801.0    7.62   23.69   21.76    0.0151   -152.29    -24.42    235.80    -60.50
+  2453802.0    7.47   23.32   22.52    0.0155   -127.14     -9.25    233.61    -60.70
+  2453803.0    9.68   23.23   23.04    0.0154      -NaN      -NaN    210.55      -NaN
+  2453804.0   10.91   23.40   23.16    0.0152   -111.52     -3.73    163.54    -26.32
+  2453805.0   10.34   23.31   23.07    0.0156   -135.11     -3.52    115.68    -29.54
+  2453806.0    8.99   23.67   23.00    0.0155   -160.63     -9.30    202.81    -38.44
+  2453807.0    8.86   23.92   22.89    0.0151   -169.50    -14.59    167.91    -49.68
+  2453808.0    9.42   23.73   22.87    0.0151   -163.62    -12.92     79.44    -32.99
+  2453809.0    9.18   23.59   21.89    0.0153   -132.37    -25.01     41.35    -20.42
+  2453810.0    6.68   23.60   22.99    0.0153    -49.33     -5.96     40.78    -24.24
+  2453811.0    7.41   23.61   23.37    0.0151      -NaN      -NaN    122.56      -NaN
+  2453812.0    8.56   23.88   23.19    0.0156    -72.65     -9.88    126.72    -24.86
+  2453813.0    5.33   23.99   23.36    0.0152    -44.85     -5.27    154.08    -33.96
+  2453814.0    6.93   23.91   21.93    0.0152   -100.93    -28.29     50.99    -29.46
+  2453815.0    4.58   23.28   21.95    0.0153    -74.11    -12.46    163.75    -54.54
+  2453816.0    3.01   23.54   23.32    0.0154      -NaN      -NaN    236.44      -NaN
+  2453817.0    4.34   23.69   23.15    0.0155    -37.44     -3.92    120.41    -34.76
+  2453818.0    6.04   23.69   22.80    0.0153    -62.41     -9.20    193.02    -32.13
+  2453819.0    5.67   24.01   23.29    0.0154      -NaN      -NaN    216.49      -NaN
+  2453820.0    4.57   24.09   23.92    0.0165      -NaN      -NaN    174.60      -NaN
+  2453821.0    4.36   23.86   23.19    0.0154    -30.70     -5.02     61.81    -27.48
+  2453822.0    6.94   23.50   22.20    0.0158    -71.69    -14.41     51.71    -20.32
+  2453823.0    5.92   23.41   23.23    0.0153      -NaN      -NaN    183.43      -NaN
+  2453824.0    6.11   23.45   23.13    0.0154      -NaN      -NaN    118.72      -NaN
+  2453825.0    5.70   23.49   23.26    0.0158      -NaN      -NaN     63.62      -NaN
+  2453826.0    8.22   23.34   22.38    0.0154   -110.06    -12.70     39.25    -27.78
+  2453827.0    5.10   23.26   22.83    0.0156      -NaN      -NaN    124.58      -NaN
+  2453828.0    6.28   23.34   23.20    0.0155      -NaN      -NaN    254.70      -NaN
+  2453829.0    8.59   23.38   22.94    0.0154   -106.58     -5.70    240.75    -44.22
+  2453830.0    9.09   23.36   22.66    0.0158   -142.17    -10.06    213.85    -37.80
+  2453831.0    6.35   23.38   22.41    0.0159   -152.43    -10.01    263.01    -72.11
+  2453832.0    7.36   23.44   22.35    0.0158   -164.44    -13.00    265.89    -69.48
+  2453833.0    8.83   23.39   22.36    0.0160   -200.62    -14.87    263.11    -65.74
+  2453834.0    8.61   23.34   22.20    0.0160   -223.92    -15.83    271.43    -74.72
+  2453835.0    8.15   23.37   21.85    0.0160   -225.54    -20.62    246.68    -60.33
+  2453836.0    9.52   23.39   21.79    0.0162   -194.32    -25.45    230.91    -51.40
+  2453837.0   10.00   23.26   21.96    0.0162   -189.04    -21.23    174.58    -44.96
+  2453838.0   10.66   23.14   22.04    0.0154   -186.43    -18.75     91.34    -30.82
+  2453839.0   11.16   23.09   22.09    0.0155   -213.36    -17.97    182.60    -38.18
+  2453840.0   10.98   23.07   22.14    0.0158   -212.61    -16.75    245.35    -47.17
+  2453841.0    9.87   23.11   21.99    0.0153   -162.75    -17.93    245.07    -50.82
+  2453842.0    9.80   23.17   22.30    0.0158   -158.22    -13.72    249.11    -48.56
+  2453843.0    9.54   23.11   22.33    0.0152   -155.89    -11.68    252.00    -53.27
+  2453844.0    8.77   23.11   22.10    0.0152   -152.06    -13.90    275.75    -57.80
+  2453845.0    9.22   23.21   22.01    0.0155   -147.43    -17.87    277.78    -53.48
+  2453846.0    8.83   23.34   22.11    0.0156   -195.07    -17.43    276.62    -74.44
+  2453847.0    8.04   23.50   21.87    0.0153   -165.28    -21.39    212.69    -54.13
+  2453848.0    7.21   23.69   21.80    0.0156   -141.09    -22.17    240.99    -56.42
+  2453849.0    7.87   23.11   21.89    0.0152   -145.31    -15.32    220.49    -60.52
+  2453850.0    8.42   22.52   21.77    0.0156      -NaN      -NaN    250.63      -NaN
+  2453851.0    8.49   22.52   22.50    0.0154      -NaN      -NaN    281.82      -NaN
+  2453852.0    6.78   22.70   22.47    0.0151      -NaN      -NaN    232.19      -NaN
+  2453853.0    5.20   22.82   22.75    0.0147      -NaN      -NaN    279.03      -NaN
+  2453854.0    6.21   22.95   22.62    0.0151      -NaN      -NaN    250.70      -NaN
+  2453855.0    6.23   23.03   22.65    0.0148    -65.97     -3.47    281.07    -50.85
+  2453856.0    5.01   23.24   22.16    0.0148    -87.35     -9.55    291.36    -61.12
+  2453857.0    5.78   22.98   21.45    0.0143   -155.23    -15.06    279.09    -78.43
+  2453858.0    3.30   23.16   21.34    0.0144    -83.65    -11.66    298.99    -64.54
+  2453859.0    5.03   23.26   22.14    0.0146   -109.10     -9.24    282.31    -63.53
+  2453860.0    6.32   23.02   22.60    0.0146      -NaN      -NaN    223.81      -NaN
+  2453861.0    9.31   22.97   23.26    0.0151      -NaN      -NaN    271.71      -NaN
+  2453862.0    8.47   22.97   22.86    0.0152      -NaN      -NaN    264.82      -NaN
+  2453863.0    8.19   23.00   22.92    0.0155      -NaN      -NaN    250.90      -NaN
+  2453864.0    8.55   23.03   23.04    0.0154       NaN       NaN    285.17      -NaN
+  2453865.0    7.58   23.06   22.75    0.0156   -104.48     -3.31    238.37    -49.64
+  2453866.0    7.48   23.04   22.60    0.0158   -120.74     -5.04    215.65    -55.31
+  2453867.0    8.12   23.05   22.25    0.0154   -116.99    -10.38    265.96    -46.04
+  2453868.0    7.61   23.09   22.78    0.0154   -100.80     -3.69    291.46    -53.55
+  2453869.0    6.84   23.22   22.78    0.0157    -97.30     -4.87    300.98    -59.74
+  2453870.0    7.78   23.40   22.72    0.0158   -131.66     -8.47    284.77    -52.72
+  2453871.0    8.37   23.34   21.45    0.0160   -218.18    -26.10    258.16    -64.53
+  2453872.0    4.90   23.30   21.28    0.0156   -164.29    -17.43    282.50    -72.20
+  2453873.0    6.60   23.42   21.23    0.0155   -164.94    -24.35    262.56    -44.77
+  2453874.0    7.00   23.63   21.91    0.0157   -207.79    -20.11    281.59    -75.05
+  2453875.0    8.26   23.60   22.13    0.0155   -177.09    -19.77    256.06    -42.58
+  2453876.0    9.17   23.54   22.74    0.0156   -161.76    -11.46    252.35    -45.93
+  2453877.0    9.65   23.54   22.87    0.0158   -188.89    -10.31    276.41    -51.09
+  2453878.0    7.41   23.47   22.27    0.0158   -140.83    -14.05    253.13    -40.96
+  2453879.0    6.63   23.45   22.59    0.0162   -115.37     -9.65    272.03    -34.78
+  2453880.0    5.06   23.63   23.36    0.0157    -75.31     -2.08    299.15    -63.15
+  2453881.0    5.59   23.75   23.63    0.0158      -NaN      -NaN    292.69      -NaN
+  2453882.0    5.44   23.78   23.82    0.0155      -NaN      -NaN    295.26      -NaN
+  2453883.0    5.21   24.03   24.00    0.0160      -NaN      -NaN    288.39      -NaN
+  2453884.0    6.30   24.14   23.97    0.0160      -NaN      -NaN    255.97      -NaN
+  2453885.0    6.92   24.17   24.05    0.0165    -97.18     -1.17    284.67    -55.66
+  2453886.0    6.60   24.07   23.93    0.0161   -107.59     -1.25    306.31    -63.94
+  2453887.0    5.82   24.23   23.88    0.0163    -98.19     -3.04    301.43    -65.66
+  2453888.0    5.19   24.41   23.89    0.0163    -91.90     -4.55    299.03    -64.81
+  2453889.0    3.30   24.80   24.08    0.0161    -64.13     -4.08    293.32    -56.94
+  2453890.0    4.09   24.87   24.27    0.0161    -74.91     -3.97    302.25    -63.93
+  2453891.0    3.21   25.04   24.14    0.0164       NaN       NaN    241.02       NaN
+  2453892.0    5.16   25.08   23.69    0.0166   -101.73    -12.46    247.71    -46.06
+  2453893.0    5.30   25.01   23.82    0.0163    -85.26    -10.47    245.35    -45.20
+  2453894.0    4.48   25.35   24.55    0.0165    -74.56     -6.02    298.23    -52.64
+  2453895.0    3.38   25.90   24.87    0.0165    -76.50     -6.23    304.94    -59.31
+  2453896.0    2.45   26.18   25.03    0.0166    -65.76     -5.46    301.53    -57.11
+  2453897.0    4.83   26.17   25.24    0.0166   -105.93     -7.49    300.12    -59.03
+  2453898.0    5.66   25.92   25.09    0.0159   -111.52     -7.74    296.22    -48.60
+  2453899.0    6.51   25.89   25.15    0.0163   -134.56     -7.70    309.33    -65.09
+  2453900.0    6.82   26.04   25.06    0.0163   -131.91    -10.65    293.22    -58.48
+  2453901.0    8.09   25.96   25.15    0.0165   -161.48    -10.41    285.36    -52.32
+  2453902.0    8.98   25.76   24.94    0.0166   -192.79    -11.76    264.14    -53.52
+  2453903.0    8.41   25.53   24.56    0.0162   -178.39    -12.88    227.89    -43.78
+  2453904.0    8.08   25.14   24.50    0.0163   -141.30     -8.29    281.99    -50.55
+  2453905.0    8.10   24.96   24.27    0.0168   -126.68     -8.73    253.41    -38.43
+  2453906.0    8.97   24.94   24.83    0.0164      -NaN      -NaN    280.57      -NaN
+  2453907.0    8.53   25.04   24.68    0.0168   -131.05     -4.50    272.36    -48.35
+  2453908.0    7.82   25.08   24.56    0.0168   -110.54     -6.23    255.44    -47.04
+  2453909.0    7.57   25.12   24.39    0.0167   -115.07     -8.78    301.00    -53.55
+  2453910.0    6.32   25.20   24.38    0.0167   -109.89     -8.33    292.56    -49.25
+  2453911.0    4.73   25.26   24.36    0.0166    -88.19     -7.12    151.07    -60.27
Index: /trunk/src/paper01/fig14/met_data_whots_2006_2007.txt
===================================================================
--- /trunk/src/paper01/fig14/met_data_whots_2006_2007.txt	(revision 41)
+++ /trunk/src/paper01/fig14/met_data_whots_2006_2007.txt	(revision 41)
@@ -0,0 +1,368 @@
+time  ws(m/s)   sst(C)  at(C)  q2m(g/kg)   lhf(w/m2)   shf(w/m2)   swr(w/m2)   lwr(s/m2)
+  2453914.0    7.60   25.42   25.23    0.0162   -102.21     -1.89    218.04    -50.56
+  2453915.0    8.21   25.37   24.92    0.0160   -155.71     -5.78    236.75    -34.65
+  2453916.0    8.52   25.34   24.98    0.0160   -172.23     -4.49    274.04    -57.98
+  2453917.0    8.63   25.28   25.00    0.0161   -166.75     -3.53    287.53    -67.84
+  2453918.0    8.14   25.23   24.78    0.0161   -157.34     -5.60    277.68    -60.54
+  2453919.0    7.82   25.23   24.64    0.0162   -152.22     -7.19    277.95    -61.74
+  2453920.0    7.96   25.29   24.64    0.0163   -149.82     -8.07    280.36    -68.41
+  2453921.0    7.80   25.28   24.67    0.0162   -152.75     -7.37    299.06    -75.60
+  2453922.0    8.12   25.26   24.73    0.0162   -137.05     -6.42    286.00    -63.16
+  2453923.0    7.63   25.25   24.67    0.0161   -113.97     -6.92    279.89    -56.43
+  2453924.0    7.62   25.28   24.93    0.0164   -119.68     -3.94    291.41    -71.35
+  2453925.0    8.29   25.28   24.96    0.0163   -141.81     -3.97    292.95    -71.45
+  2453926.0    8.57   25.26   25.00    0.0158   -153.84     -3.22    289.29    -70.14
+  2453927.0    9.08   25.21   24.79    0.0159   -146.31     -5.77    267.72    -60.03
+  2453928.0    9.30   25.21   24.52    0.0161   -138.46    -10.07    267.93    -50.00
+  2453929.0    8.39   25.27   24.77    0.0160   -136.72     -6.30    259.90    -57.79
+  2453930.0    8.31   25.30   24.71    0.0160   -137.53     -7.42    257.11    -53.05
+  2453931.0    8.38   25.34   24.79    0.0159   -116.40     -7.13    236.60    -45.41
+  2453932.0    7.55   25.42   24.79    0.0161   -113.72     -7.14    272.33    -53.21
+  2453933.0    6.73   25.44   24.24    0.0164    -98.38    -12.71    242.78    -44.32
+  2453934.0    5.77   25.45   24.67    0.0164    -87.50     -7.27    260.28    -57.50
+  2453935.0    5.97   25.44   24.96    0.0162    -99.54     -4.46    280.60    -67.29
+  2453936.0    4.15   25.58   24.92    0.0163    -84.32     -4.53    304.19    -79.09
+  2453937.0    5.11   25.65   25.12    0.0161    -65.37     -4.01    291.60    -54.72
+  2453938.0    4.23   25.71   25.47    0.0165    -63.76     -1.58    255.23    -60.06
+  2453939.0    4.39   25.87   25.45    0.0166    -87.33     -2.97    288.12    -68.22
+  2453940.0    5.21   25.91   25.55    0.0164    -92.19     -2.93    295.47    -62.18
+  2453941.0    5.88   25.98   25.48    0.0163   -107.55     -4.57    297.12    -68.16
+  2453942.0    6.54   26.13   25.73    0.0164   -109.56     -3.85    261.67    -43.15
+  2453943.0    5.86   26.13   25.22    0.0166    -99.36     -8.18    268.97    -55.06
+  2453944.0    6.18   26.10   24.90    0.0165   -111.39    -12.27    258.96    -53.74
+  2453945.0    7.52   26.02   25.52    0.0164   -124.86     -6.10    229.60    -55.99
+  2453946.0    9.09   26.08   25.87    0.0164   -146.81     -2.55    285.65    -51.70
+  2453947.0    6.73   26.23   25.16    0.0166   -119.58    -10.58    243.17    -55.19
+  2453948.0    4.49   26.26   25.03    0.0167    -86.95     -9.67    218.54    -53.52
+  2453949.0    6.93   26.30   24.90    0.0167   -111.70    -15.59    106.02    -36.79
+  2453950.0    7.37   26.21   25.48    0.0167   -102.84     -8.52    193.07    -48.09
+  2453951.0    7.85   26.32   26.01    0.0168   -112.51     -3.72    270.72    -59.04
+  2453952.0    8.79   26.30   25.92    0.0167   -139.64     -4.82    232.02    -51.63
+  2453953.0    9.05   26.22   25.32    0.0167   -191.40    -13.22    266.66    -55.84
+  2453954.0    9.69   26.22   25.31    0.0167   -169.15    -13.93    255.14    -45.65
+  2453955.0    8.67   26.27   25.69    0.0169   -161.32     -7.50    280.18    -53.84
+  2453956.0    7.38   26.29   25.48    0.0167   -162.30     -9.44    260.83    -63.09
+  2453957.0    7.93   26.32   25.19    0.0167   -156.48    -14.46    283.77    -57.90
+  2453958.0    7.85   26.34   25.59    0.0170   -157.55     -9.23    284.26    -65.36
+  2453959.0    7.53   26.38   25.62    0.0171   -163.31     -8.79    267.08    -66.55
+  2453960.0    7.60   26.44   25.34    0.0169   -169.53    -13.35    249.90    -60.35
+  2453961.0    6.74   26.44   25.44    0.0166   -160.65    -10.65    261.75    -66.83
+  2453962.0    6.07   26.62   25.48    0.0166   -132.16    -11.23    259.72    -63.66
+  2453963.0    6.49   26.71   25.47    0.0167   -104.66    -13.66    269.07    -56.42
+  2453964.0    6.58   26.73   25.96    0.0166   -102.77     -7.96    257.02    -53.03
+  2453965.0    6.46   26.78   25.69    0.0165   -143.42    -11.44    280.40    -68.97
+  2453966.0    7.07   26.75   25.68    0.0166   -178.50    -12.15    284.67    -77.39
+  2453967.0    7.61   26.71   25.82    0.0166   -158.46    -10.68    261.55    -57.03
+  2453968.0    7.84   26.74   25.90    0.0163   -159.30    -10.34    277.79    -67.00
+  2453969.0    7.02   26.79   25.80    0.0162   -163.11    -11.10    278.89    -62.89
+  2453970.0    5.77   26.81   25.34    0.0164   -145.28    -14.04    232.67    -61.02
+  2453971.0    5.12   26.77   25.10    0.0167   -134.21    -14.82    194.67    -59.32
+  2453972.0    4.89   26.75   25.47    0.0166   -119.84    -10.64    281.61    -71.90
+  2453973.0    2.74   26.86   25.19    0.0164    -73.16     -8.63    250.13    -65.37
+  2453974.0    1.98   27.06   25.65    0.0166    -58.07     -6.40    253.03    -57.96
+  2453975.0    2.94   27.04   26.46    0.0166       NaN       NaN    251.52       NaN
+  2453976.0    3.13   27.04   26.67    0.0166      -NaN      -NaN    232.99      -NaN
+  2453977.0    6.67   26.68   26.23    0.0169   -100.09     -4.68    229.77    -47.41
+  2453978.0    8.16   26.66   25.87    0.0166   -166.18    -10.39    240.48    -63.40
+  2453979.0    7.78   26.61   25.66    0.0165   -160.84    -11.53    268.57    -64.21
+  2453980.0    6.71   26.53   25.45    0.0165   -131.68    -11.51    237.50    -58.75
+  2453981.0    6.63   26.61   25.69    0.0164   -148.26     -9.65    270.99    -72.33
+  2453982.0    6.25   26.69   25.70    0.0166   -141.82     -9.92    264.34    -67.57
+  2453983.0    5.67   26.69   25.27    0.0167   -120.82    -13.42    263.01    -61.52
+  2453984.0    5.26   26.74   25.48    0.0168   -114.48    -10.79    230.83    -46.67
+  2453985.0    7.22   26.75   25.82    0.0168   -127.71    -10.72    214.27    -54.47
+  2453986.0    8.42   26.68   25.92    0.0167   -143.10    -10.12    249.83    -49.26
+  2453987.0    7.60   26.68   25.97    0.0163   -134.56     -8.36    240.57    -63.16
+  2453988.0    8.33   26.65   25.81    0.0162   -147.53    -10.98    237.11    -53.87
+  2453989.0    7.77   26.59   25.66    0.0162   -179.91    -11.40    250.13    -64.86
+  2453990.0    6.33   26.59   25.65    0.0166   -142.54     -9.73    239.93    -63.85
+  2453991.0    5.66   26.61   25.85    0.0167   -130.36     -6.96    253.83    -68.88
+  2453992.0    5.75   26.65   25.90    0.0167   -131.00     -6.95    248.87    -70.82
+  2453993.0    5.71   26.59   25.67    0.0165   -138.21     -8.60    262.68    -74.34
+  2453994.0    6.15   26.53   25.51    0.0166   -137.36    -10.13    231.73    -54.22
+  2453995.0    6.05   26.44   25.36    0.0163   -125.55    -10.42    171.67    -57.83
+  2453996.0    6.71   26.42   25.56    0.0163   -135.18     -8.42    216.56    -56.35
+  2453997.0    7.43   26.39   25.51    0.0165   -150.48    -10.70    208.37    -57.85
+  2453998.0    8.09   26.34   25.77    0.0165   -173.48     -7.19    241.05    -66.52
+  2453999.0    9.15   26.32   25.72    0.0166   -196.02     -8.56    238.30    -63.07
+  2454000.0    8.95   26.26   25.57    0.0167   -186.53     -9.65    251.22    -66.45
+  2454001.0    6.89   26.19   25.51    0.0166   -163.04     -7.34    259.54    -78.74
+  2454002.0    6.12   26.10   25.31    0.0164   -129.64     -7.95    248.97    -69.40
+  2454003.0    6.37   26.09   25.25    0.0163   -140.35     -8.59    218.71    -64.11
+  2454004.0    6.14   26.15   25.48    0.0161   -130.83     -6.60    199.39    -60.44
+  2454005.0    6.58   26.16   25.58    0.0162   -125.12     -6.00    232.99    -64.29
+  2454006.0    7.11   26.13   25.70    0.0163   -119.36     -4.65    251.71    -59.48
+  2454007.0    6.55   26.10   25.28    0.0162   -135.64     -8.68    240.03    -64.07
+  2454008.0    5.99   26.00   25.27    0.0164   -135.87     -6.83    238.46    -73.77
+  2454009.0    7.29   25.91   25.45    0.0164   -151.25     -5.11    232.24    -69.07
+  2454010.0    7.50   25.92   25.59    0.0161   -121.52     -3.66    204.20    -51.75
+  2454011.0    5.51   25.94   25.56    0.0162    -61.10     -3.16    150.19    -45.97
+  2454012.0    8.03   25.92   25.77    0.0161   -111.89     -1.61    189.47    -40.80
+  2454013.0    6.99   25.94   25.45    0.0161   -142.56     -5.21    238.26    -66.03
+  2454014.0    4.56   26.00   25.36    0.0163   -100.57     -4.63    229.06    -70.30
+  2454015.0    1.51   26.22   25.55    0.0162       NaN       NaN    217.34       NaN
+  2454016.0    1.99   26.65   25.84    0.0162    -40.64     -3.06    221.07    -66.86
+  2454017.0    5.06   26.39   26.02    0.0164    -62.27     -2.83    212.05    -53.67
+  2454018.0    4.95   26.39   25.95    0.0165    -64.31     -3.51    207.84    -53.62
+  2454019.0    4.09   26.44   26.21    0.0163    -54.16     -1.41    205.64    -48.32
+  2454020.0    1.43   26.72   26.10    0.0162    -27.76     -1.91    204.79    -53.47
+  2454021.0    3.77   26.79   26.08    0.0163    -70.56     -4.34    219.71    -65.36
+  2454022.0    4.62   26.47   25.84    0.0163    -87.05     -4.72    224.66    -69.30
+  2454023.0    6.47   26.32   25.73    0.0163   -106.35     -5.91    130.40    -55.04
+  2454024.0    7.82   26.15   24.58    0.0162   -119.82    -20.15    126.85    -28.58
+  2454025.0    3.53   26.11   25.05    0.0163    -86.15     -6.24    100.15    -31.72
+  2454026.0    3.68   26.10   24.47    0.0163    -87.06     -9.61    212.19    -69.88
+  2454027.0    2.71   26.32   25.58    0.0165    -67.50     -3.51    219.26    -76.97
+  2454028.0    1.69   26.45   25.51    0.0166    -55.39     -3.24    203.51    -76.57
+  2454029.0    5.23   26.41   25.17    0.0167   -107.92    -11.53    133.60    -41.85
+  2454030.0    5.00   26.23   24.69    0.0166   -111.92    -13.54    183.34    -54.40
+  2454031.0    7.44   26.28   25.48    0.0167   -145.83     -8.64    196.46    -61.82
+  2454032.0    9.54   26.15   25.58    0.0168   -187.28     -8.32    159.71    -52.03
+  2454033.0    9.58   26.06   25.66    0.0168   -201.13     -5.91    184.84    -63.57
+  2454034.0    8.24   26.07   25.09    0.0167   -170.97    -12.79    186.51    -54.28
+  2454035.0    6.83   26.19   24.70    0.0167   -153.37    -15.94    160.94    -59.74
+  2454036.0    6.10   26.23   25.35    0.0168   -153.45     -8.83    196.98    -68.75
+  2454037.0    5.19   26.24   24.88    0.0169   -133.04    -11.79    203.53    -69.36
+  2454038.0    8.39   26.20   24.43    0.0166   -195.33    -25.29    167.60    -48.88
+  2454039.0    7.11   26.16   24.13    0.0165   -235.01    -24.22    185.80    -61.57
+  2454040.0    5.57   26.07   24.42    0.0165   -172.58    -15.75    163.51    -53.07
+  2454041.0    6.33   26.07   24.86    0.0165   -149.27    -12.51     55.41    -44.29
+  2454042.0    5.96   26.01   23.90    0.0165   -106.23    -20.94    127.19    -34.50
+  2454043.0    3.39   26.08   24.89    0.0165    -73.56     -7.50    188.16    -63.59
+  2454044.0    3.82   26.26   25.41    0.0168    -67.38     -4.80    191.83    -70.66
+  2454045.0    5.29   26.08   26.23    0.0168      -NaN      -NaN    192.01      -NaN
+  2454046.0    3.80   26.12   26.11    0.0165      -NaN      -NaN    188.35      -NaN
+  2454047.0    5.86   26.17   25.80    0.0164    -82.46     -3.24    183.18    -58.39
+  2454048.0    8.18   26.00   25.66    0.0165   -134.78     -4.04    189.02    -63.30
+  2454049.0    7.80   25.95   25.44    0.0165   -150.87     -6.00    193.72    -67.74
+  2454050.0    7.28   25.89   25.31    0.0165   -147.23     -6.58    178.23    -65.93
+  2454051.0    6.81   25.87   25.42    0.0167   -120.78     -4.83    180.47    -67.52
+  2454052.0    7.17   25.90   25.31    0.0169   -109.68     -6.62    170.82    -64.40
+  2454053.0    6.94   25.92   25.58    0.0169    -86.79     -3.44    172.63    -62.84
+  2454054.0    6.40   25.93   25.66    0.0169       NaN       NaN    111.58      -NaN
+  2454055.0    2.04   25.99   25.01    0.0168    -30.24     -3.94    151.67    -54.26
+  2454056.0    5.00   26.15   25.59    0.0169    -70.51     -4.34    148.44    -55.47
+  2454057.0    6.83   25.96   25.20    0.0166    -92.88     -8.39    174.55    -47.77
+  2454058.0    4.97   25.97   25.34    0.0166    -95.88     -4.95    158.29    -53.58
+  2454059.0    5.25   25.95   25.11    0.0165   -106.29     -7.50    156.41    -62.08
+  2454060.0    5.87   25.95   24.99    0.0165   -123.08    -10.11    146.77    -54.76
+  2454061.0    4.75   25.88   24.51    0.0166   -107.28    -11.52    165.19    -61.26
+  2454062.0    7.60   25.85   24.26    0.0165   -157.90    -19.78    168.09    -62.86
+  2454063.0    7.14   25.80   24.68    0.0167   -146.42    -12.87    169.83    -67.88
+  2454064.0    5.15   25.82   24.61    0.0170   -110.46    -10.78    164.45    -69.42
+  2454065.0    3.78   25.85   24.86    0.0168    -75.31     -6.41    155.06    -63.36
+  2454066.0    5.50   25.81   25.18    0.0167    -88.69     -5.73    154.04    -65.40
+  2454067.0    6.46   25.72   24.92    0.0166   -119.11     -8.45    162.45    -69.18
+  2454068.0    5.19   25.66   24.99    0.0163   -112.06     -5.66    164.17    -71.76
+  2454069.0    5.91   25.67   23.85    0.0164   -161.10    -21.61    139.62    -54.24
+  2454070.0    5.79   25.51   23.00    0.0165   -241.87    -25.48    172.88    -91.23
+  2454071.0    4.72   25.45   23.24    0.0165   -191.91    -18.83    168.70    -87.27
+  2454072.0    8.19   25.39   24.17    0.0166   -203.32    -15.75    120.07    -57.21
+  2454073.0    8.76   25.31   24.75    0.0166   -143.15     -7.69     84.97    -44.76
+  2454074.0    7.98   25.23   24.73    0.0165   -146.02     -6.14    142.11    -65.24
+  2454075.0    5.51   25.14   24.25    0.0165   -110.10     -7.44    138.08    -63.15
+  2454076.0    3.20   25.17   23.76    0.0163    -75.68     -8.65    144.57    -51.75
+  2454077.0    8.79   25.16   23.68    0.0165   -231.57    -21.63    174.34    -81.11
+  2454078.0    8.65   25.03   23.63    0.0164   -254.24    -19.84    133.32    -75.46
+  2454079.0    9.20   24.92   23.45    0.0161   -276.20    -22.28    144.93    -63.48
+  2454080.0    6.88   24.89   24.41    0.0162   -196.86     -5.59    121.90    -36.95
+  2454081.0    6.65   24.80   24.57    0.0162   -170.35     -2.22    115.99    -55.80
+  2454082.0    6.55   24.72   24.36    0.0162   -157.03     -3.59    126.93    -45.51
+  2454083.0    6.54   24.70   24.23    0.0163   -146.74     -4.63    128.13    -39.07
+  2454084.0    8.31   24.66   23.48    0.0167   -147.15    -15.31    137.99    -50.79
+  2454085.0   10.03   24.65   23.73    0.0167   -176.02    -14.17    126.77    -51.35
+  2454086.0   10.68   24.77   23.85    0.0162   -236.66    -15.53    139.55    -58.75
+  2454087.0    7.95   24.70   23.99    0.0163   -165.27     -8.51    146.90    -65.66
+  2454088.0    6.44   24.63   23.26    0.0164   -109.60    -15.22    149.93    -55.21
+  2454089.0    5.30   24.68   23.60    0.0164   -127.53     -9.54    158.88    -77.97
+  2454090.0    5.66   24.73   23.44    0.0166   -141.91    -12.22    154.04    -73.57
+  2454091.0    6.08   24.69   23.69    0.0166   -142.49    -10.18    159.58    -74.07
+  2454092.0    5.17   24.66   23.79    0.0167   -129.96     -7.29    160.46    -84.22
+  2454093.0    3.91   24.63   23.75    0.0167    -92.88     -5.79    141.10    -72.23
+  2454094.0    1.49   24.74   23.57    0.0164    -46.72     -3.91    166.35    -84.15
+  2454095.0    1.70   24.82   23.40    0.0165    -52.70     -5.53    172.51    -80.62
+  2454096.0    4.87   24.62   23.65    0.0166   -111.98     -7.81    163.97    -86.44
+  2454097.0    3.18   24.66   23.77    0.0165    -55.59     -5.07    160.82    -66.30
+  2454098.0    7.92   24.58   22.85    0.0166   -208.15    -26.10    171.85    -70.04
+  2454099.0    6.28   24.55   22.59    0.0165   -163.77    -20.95    165.38    -72.26
+  2454100.0    6.72   24.50   23.29    0.0164   -117.88    -13.42    164.21    -66.19
+  2454101.0    7.44   24.48   23.94    0.0166   -132.54     -6.22    162.61    -71.61
+  2454102.0    6.86   24.49   23.94    0.0165   -137.74     -5.94    153.60    -75.81
+  2454103.0    5.57   24.50   23.67    0.0163    -88.73     -7.31    130.86    -49.82
+  2454104.0    7.22   24.57   23.91    0.0163   -123.09     -7.56    156.30    -65.53
+  2454105.0   10.56   24.52   23.71    0.0161   -223.73    -13.81    138.71    -63.35
+  2454106.0   10.25   24.46   23.29    0.0161   -192.45    -19.54    109.15    -42.37
+  2454107.0    9.67   24.49   23.81    0.0162   -159.65    -10.40    144.80    -58.24
+  2454108.0    9.16   24.50   23.71    0.0164   -147.09    -11.58    155.03    -59.96
+  2454109.0    8.77   24.47   23.86    0.0164   -131.28     -8.42     98.06    -49.77
+  2454110.0    9.29   24.43   24.08    0.0165   -126.00     -4.76    102.66    -41.61
+  2454111.0    8.11   24.42   24.03    0.0165   -107.97     -4.73    129.76    -59.65
+  2454112.0    7.95   24.40   23.75    0.0164   -105.96     -8.21    152.12    -56.42
+  2454113.0    7.96   24.32   23.59    0.0165   -139.96     -9.16    157.11    -69.66
+  2454114.0    7.72   24.22   23.14    0.0165   -158.32    -13.37    167.37    -73.79
+  2454115.0    7.78   24.10   23.26    0.0165   -179.96    -10.37    173.15    -78.39
+  2454116.0    7.96   24.06   23.02    0.0166   -167.33    -13.56    166.12    -64.97
+  2454117.0    8.98   24.12   23.27    0.0166   -176.50    -11.95    171.93    -72.33
+  2454118.0    7.33   24.10   23.34    0.0165   -181.35     -8.74    143.06    -63.24
+  2454119.0    7.91   24.05   23.36    0.0166   -194.20     -8.54    171.19    -67.94
+  2454120.0    8.70   24.05   23.08    0.0164   -196.38    -13.43    129.54    -68.73
+  2454121.0    7.31   23.96   23.19    0.0162   -141.85     -8.82    166.37    -74.25
+  2454122.0    2.51   24.04   23.06    0.0165    -61.47     -4.71    182.46    -85.14
+  2454123.0    1.00   24.18   23.08    0.0166    -39.35     -3.10    176.61    -83.98
+  2454124.0    5.06   24.07   22.65    0.0167   -109.21    -11.83    158.77    -55.94
+  2454125.0    5.95   24.02   22.24    0.0166   -116.21    -17.55    159.03    -53.25
+  2454126.0    3.15   24.03   23.40    0.0169    -73.72     -3.93    179.02    -82.57
+  2454127.0    5.91   23.95   22.70    0.0166   -136.52    -12.24    177.16    -81.65
+  2454128.0    5.17   23.88   22.44    0.0165   -146.61    -12.56    190.90    -96.93
+  2454129.0    7.63   23.93   23.18    0.0164   -149.93     -8.56    190.23    -76.52
+  2454130.0    8.58   23.93   23.06    0.0164      -NaN      -NaN    178.57      -NaN
+  2454131.0    7.90   23.89   21.59    0.0162       NaN       NaN    122.99      -NaN
+  2454132.0   12.18   23.85   24.01    0.0162      -NaN      -NaN    166.73      -NaN
+  2454133.0    8.51   23.74   21.32    0.0165      -NaN      -NaN     89.37      -NaN
+  2454134.0    6.67   23.84   20.45    0.0165   -209.85    -36.80    154.29    -70.11
+  2454135.0    9.59   23.79   21.07    0.0166   -352.64    -42.94    177.93   -103.01
+  2454136.0    3.38   23.77   20.75    0.0164   -146.69    -20.80    208.25    -97.57
+  2454137.0    4.46   23.79   22.36    0.0164   -119.46    -10.90    195.73    -86.52
+  2454138.0    6.28   23.77   23.28    0.0165   -104.91     -4.64    189.98    -80.61
+  2454139.0    7.25   23.80   22.91    0.0165   -104.75     -9.41    159.30    -50.22
+  2454140.0    4.40   23.82   21.62    0.0166   -161.06    -17.82    173.11    -70.15
+  2454141.0    4.78   23.83   21.29    0.0168   -177.75    -22.59    195.31    -81.22
+  2454142.0    4.81   23.73   21.54    0.0167   -194.36    -19.18    184.03    -97.86
+  2454143.0    6.40   23.61   21.21    0.0169   -240.88    -26.53    186.49    -99.04
+  2454144.0    6.90   23.49   21.70    0.0170   -200.83    -20.14    204.35    -93.65
+  2454145.0    7.96   23.51   22.63    0.0170   -186.75    -11.24    205.30    -75.67
+  2454146.0    7.84   23.38   22.89    0.0171   -179.62     -5.83    180.49    -75.64
+  2454147.0    6.21   23.58   23.10    0.0170   -125.08     -4.71    208.88    -74.94
+  2454148.0    5.00   23.63   22.91    0.0170   -104.52     -6.08    200.78    -80.59
+  2454149.0    9.14   23.68   23.13    0.0169   -130.51     -7.59    201.35    -63.46
+  2454150.0   10.50   23.67   23.13    0.0169   -213.34     -8.79    209.83    -75.72
+  2454151.0   10.42   23.56   22.54    0.0168   -225.80    -17.34    176.60    -64.65
+  2454152.0   10.40   23.51   22.35    0.0167   -217.05    -20.07    208.75    -70.73
+  2454153.0    9.74   23.54   22.08    0.0167   -225.93    -23.40    197.70    -62.81
+  2454154.0   10.03   23.64   22.07    0.0168   -211.12    -25.91    202.42    -71.86
+  2454155.0    8.75   23.64   22.61    0.0170   -168.22    -14.49    216.69    -76.62
+  2454156.0    9.07   23.61   22.68    0.0171   -148.80    -14.02    207.89    -62.80
+  2454157.0    8.09   23.63   22.29    0.0168   -136.74    -18.34    212.07    -59.27
+  2454158.0    8.11   23.66   22.61    0.0169   -137.05    -13.94    220.38    -64.03
+  2454159.0    8.43   23.63   22.55    0.0167   -132.81    -14.41    200.71    -55.06
+  2454160.0    8.49   23.45   22.68    0.0167   -144.53    -10.37    224.80    -71.94
+  2454161.0    8.23   23.17   22.52    0.0168   -134.52     -8.66    216.71    -69.50
+  2454162.0    5.93   23.24   22.35    0.0167   -100.58     -8.54    229.07    -73.88
+  2454163.0    5.26   23.53   22.72    0.0167    -86.55     -6.89    223.45    -72.13
+  2454164.0    5.82   23.65   22.76    0.0167    -93.06     -8.16    222.75    -59.57
+  2454165.0    1.73   23.82   23.36    0.0163      -NaN      -NaN    233.80      -NaN
+  2454166.0    3.33   24.40   23.58    0.0163    -60.81     -4.15    229.93    -69.51
+  2454167.0    3.73   23.91   23.36    0.0164    -58.86     -3.50    225.62    -72.13
+  2454168.0    4.93   24.01   23.56    0.0163    -63.87     -3.35    237.96    -70.19
+  2454169.0    5.52   23.93   23.66    0.0163    -66.35     -2.43    185.40    -57.77
+  2454170.0    5.56   23.79   22.35    0.0163    -84.85    -14.47    155.58    -36.75
+  2454171.0    4.83   23.76   22.23    0.0164   -137.62    -12.72    218.16    -77.45
+  2454172.0    6.46   23.81   23.45    0.0163      -NaN      -NaN    212.19      -NaN
+  2454173.0    6.35   23.78   23.94    0.0163      -NaN      -NaN    130.80      -NaN
+  2454174.0    5.93   23.78   23.54    0.0163       NaN       NaN    147.89      -NaN
+  2454175.0    3.03   23.51   22.18    0.0164       NaN       NaN    150.69       NaN
+  2454176.0    5.65   23.46   22.59    0.0165    -86.26     -7.85    247.44    -71.25
+  2454177.0    8.40   23.42   22.67    0.0167   -137.03     -9.91    237.17    -60.92
+  2454178.0    8.50   23.43   22.40    0.0165   -175.59    -14.07    243.26    -65.50
+  2454179.0    8.31   23.43   22.67    0.0164   -144.28     -9.98    247.21    -71.35
+  2454180.0    8.81   23.46   22.73    0.0165   -165.02    -10.17    253.23    -72.59
+  2454181.0    7.35   23.46   22.97    0.0165   -126.34     -5.44    223.91    -70.47
+  2454182.0    7.87   23.35   22.72    0.0164   -111.07     -7.85    249.62    -57.66
+  2454183.0    6.65   23.38   22.94    0.0163   -124.14     -4.32    251.58    -67.66
+  2454184.0    7.47   23.39   22.72    0.0161   -133.20     -8.46    232.31    -69.73
+  2454185.0    9.33   23.88   22.65    0.0159   -184.20    -18.88    238.04    -61.90
+  2454186.0    9.54   24.22   23.24    0.0158   -203.11    -14.99    249.93    -60.79
+  2454187.0    6.31   24.32   22.88    0.0159   -112.50    -14.91    197.85    -42.15
+  2454188.0    2.50   24.74   23.30    0.0160    -61.52     -7.18    243.39    -61.49
+  2454189.0    4.80   24.67   22.70    0.0162   -121.67    -17.56    238.98    -69.37
+  2454190.0    4.96   24.53   21.76    0.0163   -158.10    -24.99    246.03    -82.81
+  2454191.0    4.11   24.59   20.91    0.0164   -129.08    -30.45    240.06    -88.08
+  2454192.0    3.16   24.38   21.87    0.0168   -114.82    -16.10    188.93    -61.54
+  2454193.0    6.75   23.99   21.54    0.0168   -223.82    -28.37    245.29    -88.87
+  2454194.0    5.23   23.75   21.14    0.0164   -211.80    -24.40    232.14    -75.08
+  2454195.0    2.74   24.15   21.04    0.0165   -143.76    -18.94    258.53    -85.99
+  2454196.0    4.52   24.08   22.21    0.0164   -160.17    -14.03    267.36    -74.07
+  2454197.0    4.42   23.96   22.66    0.0163   -112.51     -9.11    197.98    -58.00
+  2454198.0    4.04   24.08   22.99    0.0162   -105.78     -7.72    268.83    -81.11
+  2454199.0    5.77   24.04   22.81    0.0162   -132.11    -11.91    265.73    -66.66
+  2454200.0    6.31   24.02   22.58    0.0163   -103.47    -15.12    223.11    -62.15
+  2454201.0    7.13   23.80   23.20    0.0161   -103.37     -6.48    260.08    -54.37
+  2454202.0    7.24   23.80   23.63    0.0162   -113.32     -1.80    254.55    -59.20
+  2454203.0    4.97   24.03   23.50    0.0164    -81.24     -3.97    255.84    -58.69
+  2454204.0    6.63   24.25   23.37    0.0161   -115.32     -8.95    225.80    -62.65
+  2454205.0    8.17   24.19   23.74    0.0161   -151.50     -5.50    240.21    -57.47
+  2454206.0    8.43   24.40   23.39    0.0165   -148.04    -13.45    223.09    -48.72
+  2454207.0    9.72   24.57   23.77    0.0163   -205.80    -12.44    230.13    -59.06
+  2454208.0    9.61   24.43   23.50    0.0165   -219.02    -14.20    225.21    -68.62
+  2454209.0    9.78   24.51   23.50    0.0165   -205.10    -15.88    263.59    -61.87
+  2454210.0    9.94   24.49   23.38    0.0164   -213.28    -17.71    253.00    -63.15
+  2454211.0    8.56   24.47   23.30    0.0166   -182.77    -15.62    264.04    -67.24
+  2454212.0    7.86   24.52   23.32    0.0164   -201.02    -15.21    280.26    -82.14
+  2454213.0    6.62   24.46   23.38    0.0163   -161.83    -11.84    254.50    -74.73
+  2454214.0    8.22   24.38   23.38    0.0164   -202.20    -12.44    244.92    -68.36
+  2454215.0   10.36   24.33   23.22    0.0164   -228.68    -18.60    232.51    -55.88
+  2454216.0    9.24   24.23   23.16    0.0164   -185.35    -15.59    234.94    -59.70
+  2454217.0    7.80   24.29   23.14    0.0163   -140.87    -14.09    246.81    -59.95
+  2454218.0    6.15   24.25   23.27    0.0164   -125.43     -9.85    289.78    -78.36
+  2454219.0    6.50   24.32   23.16    0.0164   -138.72    -12.50    285.61    -72.26
+  2454220.0    6.76   24.21   23.28    0.0162   -141.90    -10.27    254.67    -70.81
+  2454221.0    6.85   24.20   23.11    0.0160   -143.22    -12.38    278.04    -66.51
+  2454222.0    7.87   24.24   23.45    0.0161   -146.67     -9.98    260.51    -64.31
+  2454223.0    9.03   24.22   23.52    0.0161   -172.06     -9.90    259.91    -56.51
+  2454224.0    9.46   24.25   23.74    0.0164   -190.66     -7.54    290.34    -71.72
+  2454225.0    8.24   24.41   23.89    0.0165   -162.27     -6.55    277.40    -63.19
+  2454226.0    7.04   24.69   23.83    0.0163   -129.49     -9.31    269.67    -58.32
+  2454227.0    6.63   24.57   23.98    0.0164   -115.62     -6.17    254.52    -62.29
+  2454228.0    7.83   24.25   23.70    0.0164   -149.33     -6.85    289.21    -70.58
+  2454229.0    8.89   24.22   23.57    0.0164   -174.76     -8.99    262.89    -60.94
+  2454230.0    8.34   24.22   23.57    0.0164   -154.52     -8.51    265.52    -72.32
+  2454231.0    8.30   24.21   23.57    0.0163   -172.91     -8.42    288.07    -70.09
+  2454232.0    7.26   24.23   22.97    0.0163   -158.25    -14.85    256.57    -63.03
+  2454233.0    6.50   24.26   23.40    0.0164   -146.63     -8.95    280.66    -71.89
+  2454234.0    5.64   24.31   23.26    0.0163   -120.37     -9.94    275.46    -56.55
+  2454235.0    5.12   24.39   23.66    0.0164   -101.72     -6.07    296.33    -74.93
+  2454236.0    5.56   24.49   23.77    0.0167   -106.36     -6.54    297.17    -63.95
+  2454237.0    4.95   24.68   23.75    0.0166   -107.77     -7.62    285.34    -73.39
+  2454238.0    5.40   24.75   23.86    0.0165   -116.85     -7.85    292.29    -73.42
+  2454239.0    5.89   24.77   23.90    0.0166   -121.40     -8.39    292.15    -73.78
+  2454240.0    6.12   24.73   24.11    0.0166    -98.88     -6.06    285.38    -61.70
+  2454241.0    5.79   24.81   24.39    0.0166    -74.93     -3.77    243.41    -53.29
+  2454242.0    4.76   24.93   24.41    0.0167    -68.48     -3.95    280.88    -59.97
+  2454243.0    5.17   25.20   24.51    0.0167    -89.69     -5.72    290.52    -66.01
+  2454244.0    6.11   25.00   24.28    0.0169   -124.41     -7.18    272.68    -66.86
+  2454245.0    6.51   24.96   24.12    0.0170   -135.86     -8.80    287.62    -72.54
+  2454246.0    7.68   24.98   24.27    0.0166   -145.88     -8.52    284.44    -70.80
+  2454247.0    7.43   24.99   24.31    0.0166   -156.61     -7.91    297.52    -75.04
+  2454248.0    6.32   24.98   24.07    0.0167   -144.78     -9.33    294.36    -75.78
+  2454249.0    4.20   25.11   24.39    0.0166    -93.42     -4.97    298.22    -71.66
+  2454250.0    3.55   25.30   24.49    0.0167    -81.81     -5.13    279.08    -74.38
+  2454251.0    3.62   25.38   24.44    0.0167    -86.73     -6.28    244.92    -63.89
+  2454252.0    5.10   25.06   23.92    0.0165    -88.15     -9.13    275.77    -48.18
+  2454253.0    4.98   25.20   24.15    0.0166    -90.03     -8.95    290.12    -51.56
+  2454254.0    2.01   25.70   24.75    0.0168    -52.50     -3.73    298.86    -64.16
+  2454255.0    2.67   25.79   25.05    0.0166    -66.24     -3.34    282.34    -61.60
+  2454256.0    8.60   25.54   24.63    0.0166   -152.64    -12.66    252.79    -35.11
+  2454257.0    8.75   25.39   24.67    0.0164   -154.81     -9.76    220.69    -43.29
+  2454258.0    7.64   25.54   24.66    0.0165   -107.04    -10.60    282.14    -44.66
+  2454259.0    7.45   25.45   24.52    0.0168   -131.12    -10.89    266.17    -53.46
+  2454260.0    6.99   25.46   24.68    0.0165   -135.33     -8.57    270.12    -62.93
+  2454261.0    8.08   25.50   24.61    0.0167   -149.63    -11.58    284.73    -57.32
+  2454262.0    7.60   25.44   24.64    0.0169   -144.95     -9.46    254.46    -63.27
+  2454263.0    7.00   25.39   24.67    0.0167   -131.68     -8.17    297.00    -59.91
+  2454264.0    5.56   25.38   24.72    0.0166   -113.69     -5.63    280.86    -69.67
+  2454265.0    6.21   25.38   24.55    0.0166   -110.87     -8.39    272.49    -59.63
+  2454266.0    8.10   25.39   24.53    0.0166   -139.66    -11.11    207.55    -49.00
+  2454267.0    8.98   25.43   24.41    0.0169   -170.51    -14.40    234.47    -44.86
+  2454268.0    9.87   25.34   24.79    0.0167   -185.83     -8.62    299.70    -63.60
+  2454269.0    8.85   25.35   24.47    0.0168   -163.75    -11.94    270.44    -59.25
+  2454270.0    7.16   25.34   24.39    0.0169   -135.25    -10.75    266.38    -60.80
+  2454271.0    6.58   25.33   24.40    0.0169   -137.38     -9.82    281.19    -66.20
+  2454272.0    6.86   25.33   24.72    0.0168   -143.91     -6.56    297.09    -72.55
+  2454273.0    6.92   25.27   24.83    0.0168   -133.05     -4.76    287.84    -69.57
+  2454274.0    7.50   25.27   24.81    0.0169   -151.60     -5.42    293.22    -69.25
+  2454275.0    8.03   25.29   24.63    0.0170   -177.89     -8.36    275.98    -71.31
+  2454276.0    7.36   25.25   24.10    0.0169   -167.86    -13.73    219.18    -54.60
+  2454277.0    7.45   25.26   24.29    0.0168   -162.59    -11.62    250.93    -60.49
+  2454278.0    8.53   25.32   24.47    0.0166   -158.02    -11.43    257.90    -57.81
+  2454279.0    7.94   25.32   24.95    0.0167   -134.42     -4.31    257.34    -56.65
+  2454280.0    7.73   25.34   24.48    0.0169   -139.36    -10.39    134.82    -53.35
Index: /trunk/src/paper01/fig14/stratus_validation_net_2001_2002_all_v10.pro
===================================================================
--- /trunk/src/paper01/fig14/stratus_validation_net_2001_2002_all_v10.pro	(revision 41)
+++ /trunk/src/paper01/fig14/stratus_validation_net_2001_2002_all_v10.pro	(revision 41)
@@ -0,0 +1,197 @@
+pro stratus_validation_net_2001_2002_all_v10
+@common
+;------------------------------------------------------------
+reinitplt, /z,/invert
+key_portrait = 1
+coefpalit=.9
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+; partie a changer
+;------------------------------------------------------------
+
+;; stratus in the south pacific cold tongue 2000-01
+;20.9S, 80.8W (274.2E)
+box=[274, 275, -21., -20.]
+
+;; first leg
+
+fi="/Users/pkb/data/Mooring_data/stratus/met_data_stratus_2001_2002.txt"
+res=read_ascii(fi,data_start=1)
+ff=res.field1
+swr=reform(ff(7,*))/0.94
+lwr=reform(ff(8,*))
+lhf=reform(ff(5,*))
+shf=reform(ff(6,*))
+
+net=swr+lwr+shf+lhf
+help, net
+
+;; reading other data sets
+
+st1=20011019 & en1=20021022
+
+file="/Users/pkb/data/ERA-I/erai_swr_19910101_20091231_oafluxgrid.nc"
+initncdf, file
+swr=read_ncdf('swr',st1,en1,file=file,/nostr, box=box) & swr=grossemoyenne(swr, "xy", box=box,/nan) & swr=reform(swr)
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_lwr_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+lwr=read_ncdf('lwr',st1-1,en1,file=file,/nostr, box=box) & lwr=reform(lwr)
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_shf_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+shf=-1*read_ncdf('shf',st1,en1,file=file,/nostr, box=box) & shf=reform(shf)
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_lhf_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+lhf=-1*read_ncdf('lhf',st1,en1,file=file,/nostr, box=box) & lhf=reform(lhf)
+
+era=swr+lwr+lhf+shf
+help, era
+
+swr=0 & lwr=0 & lhf=0 & shf=0
+
+file="/Users/pkb/data/TropFlux/TropFlux_19890101_20091231.nc"
+initncdf, file
+swr=read_ncdf('swr',st1,en1,file=file,/nostr, box=box) & swr=grossemoyenne(swr, "xy",/nan, box=box) & swr=reform(swr)
+lwr=read_ncdf('lwr',st1,en1,file=file,/nostr, box=box) & lwr=grossemoyenne(lwr, "xy",/nan, box=box) & lwr=reform(lwr)
+shf=read_ncdf('shf',st1,en1,file=file,/nostr, box=box) & shf=grossemoyenne(shf, "xy",/nan, box=box) & shf=reform(shf)
+lhf=read_ncdf('lhf',st1,en1,file=file,/nostr, box=box) & lhf=grossemoyenne(lhf, "xy",/nan, box=box) & lhf=reform(lhf)
+
+file="/Users/pkb/data/TropFlux/TropFlux_swr_19890101_20091231_NRT_v50.nc"
+initncdf, file
+olr1=read_ncdf("sw", st1-1, en1, file=file,/nostr, box=box) & olr1=grossemoyenne(olr1, "xy",/nan, box=box) & olr1=reform(olr1)
+
+trop=swr+lwr+shf+lhf
+olr=olr1+lwr+shf+lhf
+help, trop, olr
+swr=0 & lwr=0 & lhf=0 & shf=0 & olr1=0
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/swr_oafluxgrid_1985_2007.nc'
+initncdf, file
+swr=read_ncdf("swr", st1, en1, file=file,/nostr, box=box) & swr=grossemoyenne(swr, "xy",/nan, box=box) & swr=reform(swr)
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/lwr_oafluxgrid_1985_2007.nc'
+initncdf, file
+lwr=read_ncdf("lwr", st1, en1, file=file,/nostr, box=box) & lwr=-1*reform(lwr)
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/lhf_oafluxgrid_1985_2009.nc'
+initncdf, file
+lhf=read_ncdf("lhf", st1, en1, file=file,/nostr, box=box) & lhf=-1*reform(lhf)
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/shf_oafluxgrid_1985_2009.nc'
+initncdf, file
+shf=read_ncdf("shf", st1, en1, file=file,/nostr, box=box) & shf=-1*reform(shf)
+
+oaf=swr+lwr+shf+lhf
+help, oaf
+swr=0 & lwr=0 & lhf=0 & shf=0
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/swr_ncep2_oaflxgrid_19890101_20091231.nc'
+initncdf, fi
+swr=read_ncdf("swr", st1, en1, file=fi,/nostr, box=box) & swr=grossemoyenne(swr, "xy",/nan, box=box) & swr=reform(swr)
+
+fi="/Volumes/Iomega_HDD/flux_reconstruction/ncep2/NCEP2_flux_19890101_20090729.nc"
+initncdf, fi
+lwr=read_ncdf("lwr", st1, en1, file=fi,/nostr, box=box) & lwr=grossemoyenne(lwr, "xy",/nan, box=box) & lwr=reform(lwr)
+lwr=-1*lwr
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/lhf_ncep2_oafluxgrid_19890101_20091231.nc'
+initncdf, fi
+lhf=read_ncdf("lhf", st1, en1, file=fi,/nostr, box=box) & lhf=-1*reform(lhf)
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/shf_ncep2_oafluxgrid_19890101_20091231.nc'
+initncdf, fi
+shf=read_ncdf("shf", st1, en1, file=fi,/nostr, box=box) & shf=-1*reform(shf)
+
+nce2=swr+lwr+shf+lhf
+help, nce2
+
+swr=0 & lwr=0 & lhf=0 & shf=0
+
+;file='/Volumes/Iomega_HDD/flux_reconstruction/ncep/fluxe_ncep1_19890101_20091231.nc'
+file="/Users/pkb/data/heat_budget/ncep/ncep1_flux_19890101_20091231.nc"
+initncdf, file
+swr=read_ncdf("swr", st1, en1, file=file,/nostr, box=box) & swr=grossemoyenne(swr, "xy",/nan, box=box) & swr=reform(swr)
+lwr=read_ncdf("lwr", st1, en1, file=file,/nostr, box=box) & lwr=grossemoyenne(lwr, "xy",/nan, box=box) & lwr=reform(lwr)
+shf=read_ncdf("shf", st1, en1, file=file,/nostr, box=box) & shf=grossemoyenne(shf, "xy",/nan, box=box) & shf=reform(shf)
+lhf=read_ncdf("lhf", st1, en1, file=file,/nostr, box=box) & lhf=grossemoyenne(lhf, "xy",/nan, box=box) & lhf=reform(lhf)
+
+nce1=swr+lwr+shf+lhf
+help, nce1
+
+ind=where(finite(net))
+net=net(ind) & era=era(ind) & trop=trop(ind) & oaf=oaf(ind) & nce2=nce2(ind) & nce1=nce1(ind)
+olr=olr(ind)
+;------------------------------------------------------------
+
+statistics, net, era, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_era=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, trop, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_trop=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, oaf, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_oaf=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, nce1, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_nce1=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, nce2, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_nce2=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, olr, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_olr=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+;------------------------------------------------------------
+
+splot, net, era, charsize=1.1, title='SWR - Stratus Vs ERAI', $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,1], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, -150,-175, cstat_era, charsize=1.
+
+splot, net, trop, charsize=1.1, title='SWR - Stratus Vs TropFlux',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,2], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, -150,-175, cstat_trop, charsize=1.
+
+splot, net, oaf, charsize=1.1, title='SWR - Stratus Vs OAFlux',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,3], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, -150,-175, cstat_oaf, charsize=1.
+
+splot, net, nce1, charsize=1.1, title='SWR - Stratus Vs NCEP1',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,4], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, -150,-175, cstat_nce1, charsize=1.
+
+splot, net, nce2, charsize=1.1, title='SWR - Stratus Vs NCEP2',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,5], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, -150,-175, cstat_nce2, charsize=1.
+
+splot, net, olr, charsize=1.1, title='SWR - Stratus Vs TropFlux_NRT',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,6], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, -150,-175, cstat_olr, charsize=1.
+
+stop
+;------------------------------------------------------------
+closeps
+fig="stratus_validation_net_2001_2002_all_v11.ps"
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+;------------------------------------------------------------
+return
+end
+
Index: /trunk/src/paper01/fig14/subdctn_cs_validation_net_1991_93_all_v10.pro
===================================================================
--- /trunk/src/paper01/fig14/subdctn_cs_validation_net_1991_93_all_v10.pro	(revision 41)
+++ /trunk/src/paper01/fig14/subdctn_cs_validation_net_1991_93_all_v10.pro	(revision 41)
@@ -0,0 +1,211 @@
+pro subdctn_cs_validation_net_1991_93_all_v10
+@common
+;------------------------------------------------------------
+reinitplt, /z,/invert
+key_portrait = 1
+coefpalit=.9
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+; partie a changer
+;------------------------------------------------------------
+
+;; subduction experiment in the atlantic in 1991-93
+box=[330.5, 331.5, 25., 26.]
+
+;; first leg
+
+fi="/Users/pkb/data/Mooring_data/subduction_expt_atl/met_data_subduct_cs_91.txt"
+res=read_ascii(fi,data_start=1)
+ff=res.field1
+swr_91=reform(ff(7,*))/0.94
+lhf_91=reform(ff(5,*))
+shf_91=reform(ff(6,*))
+lwr_91=reform(ff(8,*))
+net_91=[swr_91+lwr_91+shf_91+lhf_91]
+
+;; start data - 06/02/92 and end date 02/06/92 then from 11/10/92 to 31/12/92
+;; total no of daily records -
+;; second leg
+
+fi="/Users/pkb/data/Mooring_data/subduction_expt_atl/met_data_subduct_cs_92.txt"
+res=read_ascii(fi,data_start=1)
+ff=res.field1
+swr_92=reform(ff(7,*))/0.94
+lhf_92=reform(ff(5,*))
+shf_92=reform(ff(6,*))
+lwr_92=reform(ff(8,*))
+net_92=[swr_92+lwr_92+shf_92+lhf_92]
+
+;; second leg
+
+fi="/Users/pkb/data/Mooring_data/subduction_expt_atl/met_data_subduct_cs_93.txt"
+res=read_ascii(fi,data_start=1)
+ff=res.field1
+swr_93=reform(ff(7,*))/0.94
+lhf_93=reform(ff(5,*))
+shf_93=reform(ff(6,*))
+lwr_93=reform(ff(8,*))
+net_93=[swr_93+lwr_93+shf_93+lhf_93]
+
+net=[net_91, net_92, net_93]
+help, net
+
+;; reading other data sets
+
+st1=19910623 & en1=19930616
+
+file="/Users/pkb/data/ERA-I/erai_swr_19910101_20091231_oafluxgrid.nc"
+initncdf, file
+swr1=read_ncdf('swr',st1,en1,file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy", box=box,/nan) & swr1=reform(swr1)
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_lhf_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+lhf1=-1*read_ncdf('lhf',st1,en1,file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy", box=box,/nan) & lhf1=reform(lhf1)
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_shf_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+shf1=-1*read_ncdf('shf',st1,en1,file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy", box=box,/nan) & shf1=reform(shf1)
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_lwr_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+lwr1=read_ncdf('lwr',st1-1,en1,file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy", box=box,/nan) & lwr1=reform(lwr1)
+
+era=swr1+lwr1+lhf1+shf1
+swr1=0 & lwr1=0 & shf1=0 & lhf1=0
+help, era
+
+file="/Users/pkb/data/TropFlux/TropFlux_19890101_20091231.nc"
+initncdf, file
+lhf1=read_ncdf('lhf',st1,en1,file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy", box=box,/nan) & lhf1=reform(lhf1)
+shf1=read_ncdf('shf',st1,en1,file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy", box=box,/nan) & shf1=reform(shf1)
+lwr1=read_ncdf('lwr',st1,en1,file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy", box=box,/nan) & lwr1=reform(lwr1)
+swr1=read_ncdf('swr',st1,en1,file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy", box=box,/nan) & swr1=reform(swr1)
+trop=swr1+lwr1+lhf1+shf1
+
+file="/Users/pkb/data/TropFlux/TropFlux_swr_19890101_20091231_NRT_v50.nc"
+initncdf, file
+olr1=read_ncdf("sw", st1-1, en1, file=file,/nostr, box=box) & olr1=grossemoyenne(olr1, "xy",/nan, box=box) & olr1=reform(olr1)
+
+olr=olr1+lwr1+shf1+lhf1
+help, trop, olr
+swr1=0 & lwr1=0 & shf1=0 & lhf1=0 & olr1=0
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/swr_oafluxgrid_1985_2007.nc'
+initncdf, file
+swr1=read_ncdf("swr", st1, en1, file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy",/nan, box=box) & swr1=reform(swr1)
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/lwr_oafluxgrid_1985_2007.nc'
+initncdf, file
+lwr1=-1*read_ncdf("lwr", st1, en1, file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy",/nan, box=box) & lwr1=reform(lwr1)
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/lhf_oafluxgrid_1985_2009.nc'
+initncdf, file
+lhf1=-1*read_ncdf("lhf", st1, en1, file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy",/nan, box=box) & lhf1=reform(lhf1)
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/shf_oafluxgrid_1985_2009.nc'
+initncdf, file
+shf1=-1*read_ncdf("shf", st1, en1, file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy",/nan, box=box) & shf1=reform(shf1)
+
+oaf=swr1+lwr1+lhf1+shf1
+help, oaf
+swr1=0 & lwr1=0 & shf1=0 & lhf1=0 & olr1=0
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/swr_ncep2_oaflxgrid_19890101_20091231.nc'
+initncdf, fi
+swr1=read_ncdf("swr", st1, en1, file=fi,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy",/nan, box=box) & swr1=reform(swr1)
+fi="/Volumes/Iomega_HDD/flux_reconstruction/ncep2/NCEP2_flux_19890101_20090729.nc"
+initncdf, fi
+lwr1=-1*read_ncdf("lwr", st1, en1, file=fi,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy",/nan, box=box) & lwr1=reform(lwr1)
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/lhf_ncep2_oafluxgrid_19890101_20091231.nc'
+initncdf, fi
+lhf1=-1*read_ncdf("lhf", st1, en1, file=fi,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy",/nan, box=box) & lhf1=reform(lhf1)
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/shf_ncep2_oafluxgrid_19890101_20091231.nc'
+initncdf, fi
+shf1=-1*read_ncdf("shf", st1, en1, file=fi,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy",/nan, box=box) & shf1=reform(shf1)
+
+nce2=swr1+lwr1+lhf1+shf1
+help, nce2
+swr1=0 & lwr1=0 & shf1=0 & lhf1=0 & olr1=0
+
+file="/Users/pkb/data/heat_budget/ncep/ncep1_flux_19890101_20091231.nc"
+initncdf, file
+
+lhf1=read_ncdf('lhf',st1,en1,file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy", box=box,/nan) & lhf1=reform(lhf1)
+shf1=read_ncdf('shf',st1,en1,file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy", box=box,/nan) & shf1=reform(shf1)
+lwr1=read_ncdf('lwr',st1,en1,file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy", box=box,/nan) & lwr1=reform(lwr1)
+swr1=read_ncdf('swr',st1,en1,file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy", box=box,/nan) & swr1=reform(swr1)
+nce1=swr1+(lwr1+shf1+lhf1)
+help, nce1
+
+ind=where(finite(net))
+net=net(ind) & era=era(ind) & trop=trop(ind) & oaf=oaf(ind) & nce2=nce2(ind) & nce1=nce1(ind)
+olr=olr(ind)
+;------------------------------------------------------------
+
+statistics, net, era, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_era=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, trop, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_trop=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, oaf, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_oaf=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, nce1, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_nce1=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, nce2, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_nce2=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, olr, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_olr=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+;------------------------------------------------------------
+
+splot, net, era, charsize=1.1, title='Net Flux - Subdn. cs Vs ERAI', $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,1], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, 0,-175, cstat_era, charsize=1.
+
+splot, net, trop, charsize=1.1, title='Net Flux - Subdn. cs Vs TropFlux',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,2], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, 0,-175, cstat_trop, charsize=1.
+
+splot, net, oaf, charsize=1.1, title='Net Flux - Subdn. cs Vs OAFlux',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,3], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, 0,-175, cstat_oaf, charsize=1.
+
+splot, net, nce1, charsize=1.1, title='Net Flux - Subdn. cs Vs NCEP1',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,4], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, 0,-175, cstat_nce1, charsize=1.
+
+splot, net, nce2, charsize=1.1, title='Net Flux - Subdn. cs Vs NCEP2',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,5], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, 0,-175, cstat_nce2, charsize=1.
+
+splot, net, olr, charsize=1.1, title='Net Flux - Subdn. cs Vs TropFlux_NRT',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,6], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, 0,-175, cstat_olr, charsize=1.
+
+stop
+;------------------------------------------------------------
+closeps
+fig="subdctn_cs_validation_net_1991_93_all_v10.ps"
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+;------------------------------------------------------------
+return
+end
+
Index: /trunk/src/paper01/fig14/subdctn_ses_validation_net_1991_93_all_v10.pro
===================================================================
--- /trunk/src/paper01/fig14/subdctn_ses_validation_net_1991_93_all_v10.pro	(revision 41)
+++ /trunk/src/paper01/fig14/subdctn_ses_validation_net_1991_93_all_v10.pro	(revision 41)
@@ -0,0 +1,238 @@
+pro subdctn_ses_validation_net_1991_93_all_v10
+@common
+;------------------------------------------------------------
+reinitplt, /z,/invert
+key_portrait = 1
+coefpalit=.9
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+; partie a changer
+;------------------------------------------------------------
+
+;; subduction experiment in the atlantic in 1991-93
+box=[337.5, 338.5, 17.5, 18.5]
+
+;; first leg
+
+;; second leg
+
+fi="/Users/pkb/data/Mooring_data/subduction_expt_atl/met_data_subduct_ses_92.txt"
+res=read_ascii(fi,data_start=1)
+ff=res.field1
+swr_92=reform(ff(7,*))
+lhf_92=reform(ff(5,*))
+shf_92=reform(ff(6,*))
+lwr_92=reform(ff(8,*))
+net_92=[swr_92+lwr_92+shf_92+lhf_92]
+help, net_92
+
+;; second leg
+
+fi="/Users/pkb/data/Mooring_data/subduction_expt_atl/met_data_subduct_ses_93.txt"
+res=read_ascii(fi,data_start=1)
+ff=res.field1
+swr_93=reform(ff(7,*))
+lhf_93=reform(ff(5,*))
+shf_93=reform(ff(6,*))
+lwr_93=reform(ff(8,*))
+net_93=[swr_93+lwr_93+shf_93+lhf_93]
+help, net_93
+
+net=[net_92, net_93]
+help, net
+
+;; reading other data sets
+
+st1=19920209 & en1=19920911
+st2=19920921 & en2=19930618
+
+file="/Users/pkb/data/ERA-I/erai_swr_19910101_20091231_oafluxgrid.nc"
+initncdf, file
+swr1=read_ncdf('swr',st1,en1,file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy", box=box,/nan) & swr1=reform(swr1)
+swr2=read_ncdf('swr',st2,en2,file=file,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy", box=box,/nan) & swr2=reform(swr2)
+
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_lhf_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+lhf1=-1*read_ncdf('lhf',st1,en1,file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy", box=box,/nan) & lhf1=reform(lhf1)
+lhf2=-1*read_ncdf('lhf',st2,en2,file=file,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy", box=box,/nan) & lhf2=reform(lhf2)
+
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_shf_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+shf1=-1*read_ncdf('shf',st1,en1,file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy", box=box,/nan) & shf1=reform(shf1)
+shf2=-1*read_ncdf('shf',st2,en2,file=file,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy", box=box,/nan) & shf2=reform(shf2)
+
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_lwr_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+lwr1=read_ncdf('lwr',st1-1,en1,file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy", box=box,/nan) & lwr1=reform(lwr1)
+lwr2=read_ncdf('lwr',st2-1,en2,file=file,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy", box=box,/nan) & lwr2=reform(lwr2)
+
+net1=swr1+(lwr1+shf1+lhf1) & net2=swr2+(lwr2+shf2+lhf2)
+era=[net1,net2]
+help, era
+
+lhf1=0. & lhf2=0. & shf1=0. & shf2=0.
+lwr1=0. & lwr2=0. & swr1=0. & swr2=0.
+net1=0. & net2=0.
+
+file="/Users/pkb/data/TropFlux/TropFlux_19890101_20091231.nc"
+initncdf, file
+lhf1=read_ncdf('lhf',st1,en1,file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy", box=box,/nan) & lhf1=reform(lhf1)
+lhf2=read_ncdf('lhf',st2,en2,file=file,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy", box=box,/nan) & lhf2=reform(lhf2)
+shf1=read_ncdf('shf',st1,en1,file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy", box=box,/nan) & shf1=reform(shf1)
+shf2=read_ncdf('shf',st2,en2,file=file,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy", box=box,/nan) & shf2=reform(shf2)
+lwr1=read_ncdf('lwr',st1,en1,file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy", box=box,/nan) & lwr1=reform(lwr1)
+lwr2=read_ncdf('lwr',st2,en2,file=file,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy", box=box,/nan) & lwr2=reform(lwr2)
+swr1=read_ncdf('swr',st1,en1,file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy", box=box,/nan) & swr1=reform(swr1)
+swr2=read_ncdf('swr',st2,en2,file=file,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy", box=box,/nan) & swr2=reform(swr2)
+
+file="/Users/pkb/data/TropFlux/TropFlux_swr_19890101_20091231_NRT_v50.nc"
+initncdf, file
+olr1=read_ncdf("sw", st1-1, en1, file=file,/nostr, box=box) & olr1=grossemoyenne(olr1, "xy",/nan, box=box) & olr1=reform(olr1)
+olr2=read_ncdf("sw", st2-1, en2, file=file,/nostr, box=box) & olr2=grossemoyenne(olr2, "xy",/nan, box=box) & olr2=reform(olr2)
+
+net1=swr1+lwr1+(shf1+lhf1) & net2=swr2+lwr2+(shf2+lhf2)
+neto_1=olr1+lwr1+lhf1+shf1 & neto_2=olr2+lwr2+lhf2+shf2 
+trop=[net1,net2] & olr=[neto_1,neto_2]
+help, trop, olr
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/swr_oafluxgrid_1985_2007.nc'
+initncdf, file
+swr1=read_ncdf("swr", st1, en1, file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy",/nan, box=box) & swr1=reform(swr1)
+swr2=read_ncdf("swr", st2, en2, file=file,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy",/nan, box=box) & swr2=reform(swr2)
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/lwr_oafluxgrid_1985_2007.nc'
+initncdf, file
+lwr1=-1*read_ncdf("lwr", st1, en1, file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy",/nan, box=box) & lwr1=reform(lwr1)
+lwr2=-1*read_ncdf("lwr", st2, en2, file=file,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy",/nan, box=box) & lwr2=reform(lwr2)
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/lhf_oafluxgrid_1985_2009.nc'
+initncdf, file
+lhf1=-1*read_ncdf("lhf", st1, en1, file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy",/nan, box=box) & lhf1=reform(lhf1)
+lhf2=-1*read_ncdf("lhf", st2, en2, file=file,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy",/nan, box=box) & lhf2=reform(lhf2)
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/shf_oafluxgrid_1985_2009.nc'
+initncdf, file
+shf1=-1*read_ncdf("shf", st1, en1, file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy",/nan, box=box) & shf1=reform(shf1)
+shf2=-1*read_ncdf("shf", st2, en2, file=file,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy",/nan, box=box) & shf2=reform(shf2)
+
+net1=swr1+lwr1+lhf1+shf1 & net2=swr2+lwr2+lhf2+shf2
+oaf=[net1,net2]
+help, oaf
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/swr_ncep2_oaflxgrid_19890101_20091231.nc'
+initncdf, fi
+swr1=read_ncdf("swr", st1, en1, file=fi,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy",/nan, box=box) & swr1=reform(swr1)
+swr2=read_ncdf("swr", st2, en2, file=fi,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy",/nan, box=box) & swr2=reform(swr2)
+
+fi="/Volumes/Iomega_HDD/flux_reconstruction/ncep2/NCEP2_flux_19890101_20090729.nc"
+initncdf, fi
+lwr1=-1*read_ncdf("lwr", st1, en1, file=fi,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy",/nan, box=box) & lwr1=reform(lwr1)
+lwr2=-1*read_ncdf("lwr", st2, en2, file=fi,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy",/nan, box=box) & lwr2=reform(lwr2)
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/lhf_ncep2_oafluxgrid_19890101_20091231.nc'
+initncdf, fi
+lhf1=-1*read_ncdf("lhf", st1, en1, file=fi,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy",/nan, box=box) & lhf1=reform(lhf1)
+lhf2=-1*read_ncdf("lhf", st2, en2, file=fi,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy",/nan, box=box) & lhf2=reform(lhf2)
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/shf_ncep2_oafluxgrid_19890101_20091231.nc'
+initncdf, fi
+shf1=-1*read_ncdf("shf", st1, en1, file=fi,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy",/nan, box=box) & shf1=reform(shf1)
+shf2=-1*read_ncdf("shf", st2, en2, file=fi,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy",/nan, box=box) & shf2=reform(shf2)
+
+net1=swr1+lwr1+lhf1+shf1 & net2=swr2+lwr2+lhf2+shf2
+nce2=[net1,net2]
+help, nce2
+
+file="/Users/pkb/data/heat_budget/ncep/ncep1_flux_19890101_20091231.nc"
+initncdf, file
+lhf1=read_ncdf('lhf',st1,en1,file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy", box=box,/nan) & lhf1=reform(lhf1)
+lhf2=read_ncdf('lhf',st2,en2,file=file,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy", box=box,/nan) & lhf2=reform(lhf2)
+shf1=read_ncdf('shf',st1,en1,file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy", box=box,/nan) & shf1=reform(shf1)
+shf2=read_ncdf('shf',st2,en2,file=file,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy", box=box,/nan) & shf2=reform(shf2)
+lwr1=read_ncdf('lwr',st1,en1,file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy", box=box,/nan) & lwr1=reform(lwr1)
+lwr2=read_ncdf('lwr',st2,en2,file=file,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy", box=box,/nan) & lwr2=reform(lwr2)
+swr1=read_ncdf('swr',st1,en1,file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy", box=box,/nan) & swr1=reform(swr1)
+swr2=read_ncdf('swr',st2,en2,file=file,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy", box=box,/nan) & swr2=reform(swr2)
+net1=swr1+(lwr1+shf1+lhf1) & net2=swr2+(lwr2+shf2+lhf2)
+nce1=[net1,net2]
+
+help, nce1
+
+ind=where(finite(net))
+net=net(ind) & era=era(ind) & trop=trop(ind) & oaf=oaf(ind) & nce2=nce2(ind) & nce1=nce1(ind)
+olr=olr(ind)
+;------------------------------------------------------------
+
+statistics, net, era, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_era=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, trop, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_trop=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, oaf, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_oaf=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, nce1, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_nce1=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, nce2, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_nce2=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, olr, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_olr=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+;------------------------------------------------------------
+
+splot, net, era, charsize=1.1, title='Net Flux - Subdn. ses Vs ERAI', $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,1], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, 0,-175, cstat_era, charsize=1.
+
+splot, net, trop, charsize=1.1, title='Net Flux - Subdn. ses Vs TropFlux',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,2], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, 0,-175, cstat_trop, charsize=1.
+
+splot, net, oaf, charsize=1.1, title='Net Flux - Subdn. ses Vs OAFlux',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,3], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, 0,-175, cstat_oaf, charsize=1.
+
+splot, net, nce1, charsize=1.1, title='Net Flux - Subdn. ses Vs NCEP1',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,4], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, 0,-175, cstat_nce1, charsize=1.
+
+splot, net, nce2, charsize=1.1, title='Net Flux - Subdn. ses Vs NCEP2',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,5], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, 0,-175, cstat_nce2, charsize=1.
+
+splot, net, olr, charsize=1.1, title='Net Flux - Subdn. ses Vs TropFlux_NRT',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,6], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, 0,-175, cstat_olr, charsize=1.
+
+stop
+;------------------------------------------------------------
+closeps
+fig="subdctn_ses_validation_net_1991_93_all_v10.ps"
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+;------------------------------------------------------------
+return
+end
+
Index: /trunk/src/paper01/fig14/subdctn_sws_validation_net_1991_93_all_v10.pro
===================================================================
--- /trunk/src/paper01/fig14/subdctn_sws_validation_net_1991_93_all_v10.pro	(revision 41)
+++ /trunk/src/paper01/fig14/subdctn_sws_validation_net_1991_93_all_v10.pro	(revision 41)
@@ -0,0 +1,327 @@
+pro subdctn_sws_validation_net_1991_93_all_v10
+@common
+;------------------------------------------------------------
+reinitplt, /z,/invert
+key_portrait = 1
+coefpalit=.9
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+; partie a changer
+;------------------------------------------------------------
+
+;; subduction experiment in the atlantic in 1991-93
+box=[325.5, 326.5, 17.5, 18.5]
+
+;; first leg
+
+fi="/Users/pkb/data/Mooring_data/subduction_expt_atl/met_data_subduct_sws_91_v1.txt"
+res=read_ascii(fi,data_start=1)
+ff=res.field1
+swr_91=reform(ff(7,*))/0.94
+lhf_91=reform(ff(5,*))
+shf_91=reform(ff(6,*))
+lwr_91=reform(ff(8,*))
+net_91=[swr_91+lwr_91+shf_91+lhf_91]
+
+;; start data - 06/02/92 and end date 02/06/92 then from 11/10/92 to 31/12/92
+;; total no of daily records -
+;; second leg
+
+fi="/Users/pkb/data/Mooring_data/subduction_expt_atl/met_data_subduct_sws_92_v1.txt"
+res=read_ascii(fi,data_start=1)
+ff=res.field1
+swr_92=reform(ff(7,*))/0.94
+lhf_92=reform(ff(5,*))
+shf_92=reform(ff(6,*))
+lwr_92=reform(ff(8,*))
+net_92=[swr_92+lwr_92+shf_92+lhf_92]
+help, net_92
+
+;; second leg
+
+fi="/Users/pkb/data/Mooring_data/subduction_expt_atl/met_data_subduct_sws_93_v1.txt"
+res=read_ascii(fi,data_start=1)
+ff=res.field1
+swr_93=reform(ff(7,*))/0.94
+lhf_93=reform(ff(5,*))
+shf_93=reform(ff(6,*))
+lwr_93=reform(ff(8,*))
+net_93=[swr_93+lwr_93+shf_93+lhf_93]
+help, net_93
+
+net=[net_91,net_92,net_93]
+;; reading other data sets
+
+st1=19910626 & en1=19911101
+st2=19920206 & en2=19920602
+st3=19921011 & en3=19921231
+st4=19930101 & en4=19930521
+
+file="/Users/pkb/data/ERA-I/erai_swr_19910101_20091231_oafluxgrid.nc"
+initncdf, file
+swr1=read_ncdf('swr',st1,en1,file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy", box=box,/nan) & swr1=reform(swr1)
+swr2=read_ncdf('swr',st2,en2,file=file,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy", box=box,/nan) & swr2=reform(swr2)
+swr3=read_ncdf('swr',st3,en3,file=file,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy", box=box,/nan) & swr3=reform(swr3)
+swr4=read_ncdf('swr',st4,en4,file=file,/nostr, box=box) & swr4=grossemoyenne(swr4, "xy", box=box,/nan) & swr4=reform(swr4)
+
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_lhf_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+lhf1=-1*read_ncdf('lhf',st1,en1,file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy", box=box,/nan) & lhf1=reform(lhf1)
+lhf2=-1*read_ncdf('lhf',st2,en2,file=file,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy", box=box,/nan) & lhf2=reform(lhf2)
+lhf3=-1*read_ncdf('lhf',st3,en3,file=file,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy", box=box,/nan) & lhf3=reform(lhf3)
+lhf4=-1*read_ncdf('lhf',st4,en4,file=file,/nostr, box=box) & lhf4=grossemoyenne(lhf4, "xy", box=box,/nan) & lhf4=reform(lhf4)
+
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_shf_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+shf1=-1*read_ncdf('shf',st1,en1,file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy", box=box,/nan) & shf1=reform(shf1)
+shf2=-1*read_ncdf('shf',st2,en2,file=file,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy", box=box,/nan) & shf2=reform(shf2)
+shf3=-1*read_ncdf('shf',st3,en3,file=file,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy", box=box,/nan) & shf3=reform(shf3)
+shf4=-1*read_ncdf('shf',st4,en4,file=file,/nostr, box=box) & shf4=grossemoyenne(shf4, "xy", box=box,/nan) & shf4=reform(shf4)
+
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_lwr_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+lwr1=read_ncdf('lwr',st1-1,en1,file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy", box=box,/nan) & lwr1=reform(lwr1)
+lwr2=read_ncdf('lwr',st2-1,en2,file=file,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy", box=box,/nan) & lwr2=reform(lwr2)
+lwr3=read_ncdf('lwr',st3-1,en3,file=file,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy", box=box,/nan) & lwr3=reform(lwr3)
+lwr4=read_ncdf('lwr',st4-1,en4,file=file,/nostr, box=box) & lwr4=grossemoyenne(lwr4, "xy", box=box,/nan) & lwr4=reform(lwr4)
+
+net1=swr1+(lwr1+shf1+lhf1) & net2=swr2+(lwr2+shf2+lhf2) & net3=swr3+(lwr3+shf3+lhf3) & net4=swr4+(lwr4+shf4+lhf4)
+era=[net1,net2,net3,net4]
+lhf1=0. & lhf2=0. & lhf3=0. & lhf4=0.
+shf1=0. & shf2=0. & shf3=0. & shf4=0. 
+lwr1=0. & lwr2=0. & lwr3=0. & lwr4=0.
+swr1=0. & swr2=0. & swr3=0. & swr4=0. 
+net1=0. & net2=0. & net3=0. & net4=0
+help, era
+
+file="/Users/pkb/data/TropFlux/TropFlux_19890101_20091231.nc"
+initncdf, file
+lhf1=read_ncdf('lhf',st1,en1,file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy", box=box,/nan) & lhf1=reform(lhf1)
+lhf2=read_ncdf('lhf',st2,en2,file=file,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy", box=box,/nan) & lhf2=reform(lhf2)
+lhf3=read_ncdf('lhf',st3,en3,file=file,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy", box=box,/nan) & lhf3=reform(lhf3)
+lhf4=read_ncdf('lhf',st4,en4,file=file,/nostr, box=box) & lhf4=grossemoyenne(lhf4, "xy", box=box,/nan) & lhf4=reform(lhf4)
+
+shf1=read_ncdf('shf',st1,en1,file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy", box=box,/nan) & shf1=reform(shf1)
+shf2=read_ncdf('shf',st2,en2,file=file,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy", box=box,/nan) & shf2=reform(shf2)
+shf3=read_ncdf('shf',st3,en3,file=file,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy", box=box,/nan) & shf3=reform(shf3)
+shf4=read_ncdf('shf',st4,en4,file=file,/nostr, box=box) & shf4=grossemoyenne(shf4, "xy", box=box,/nan) & shf4=reform(shf4)
+
+lwr1=read_ncdf('lwr',st1,en1,file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy", box=box,/nan) & lwr1=reform(lwr1)
+lwr2=read_ncdf('lwr',st2,en2,file=file,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy", box=box,/nan) & lwr2=reform(lwr2)
+lwr3=read_ncdf('lwr',st3,en3,file=file,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy", box=box,/nan) & lwr3=reform(lwr3)
+lwr4=read_ncdf('lwr',st4,en4,file=file,/nostr, box=box) & lwr4=grossemoyenne(lwr4, "xy", box=box,/nan) & lwr4=reform(lwr4)
+
+swr1=read_ncdf('swr',st1,en1,file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy", box=box,/nan) & swr1=reform(swr1)
+swr2=read_ncdf('swr',st2,en2,file=file,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy", box=box,/nan) & swr2=reform(swr2)
+swr3=read_ncdf('swr',st3,en3,file=file,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy", box=box,/nan) & swr3=reform(swr3)
+swr4=read_ncdf('swr',st4,en4,file=file,/nostr, box=box) & swr4=grossemoyenne(swr4, "xy", box=box,/nan) & swr4=reform(swr4)
+
+file="/Users/pkb/data/TropFlux/TropFlux_swr_19890101_20091231_NRT_v50.nc"
+initncdf, file
+olr1=read_ncdf("sw", st1-1, en1, file=file,/nostr, box=box) & olr1=grossemoyenne(olr1, "xy",/nan, box=box) & olr1=reform(olr1)
+olr2=read_ncdf("sw", st2-1, en2, file=file,/nostr, box=box) & olr2=grossemoyenne(olr2, "xy",/nan, box=box) & olr2=reform(olr2)
+olr3=read_ncdf("sw", st3-1, en3, file=file,/nostr, box=box) & olr3=grossemoyenne(olr3, "xy",/nan, box=box) & olr3=reform(olr3)
+olr4=read_ncdf("sw", st4-1, en4, file=file,/nostr, box=box) & olr4=grossemoyenne(olr4, "xy",/nan, box=box) & olr4=reform(olr4)
+
+net1=swr1+lwr1+(shf1+lhf1) & net2=swr2+lwr2+(shf2+lhf2) & net3=swr3+lwr3+(shf3+lhf3) & net4=swr4+lwr4+(shf4+lhf4)
+neto_1=olr1+lwr1+lhf1+shf1 & neto_2=olr2+lwr2+lhf2+shf2 & neto_3=olr3+lwr3+lhf3+shf3 & neto_4=olr4+lwr4+lhf4+shf4
+
+trop=[net1,net2,net3,net4] & olr=[neto_1,neto_2,neto_3,neto_4]
+
+lhf1=0. & lhf2=0. & lhf3=0. & lhf4=0.
+shf1=0. & shf2=0. & shf3=0. & shf4=0.
+lwr1=0. & lwr2=0. & lwr3=0. & lwr4=0. 
+swr1=0. & swr2=0. & swr3=0. & swr4=0.
+net1=0. & net2=0. & net3=0. & net4=0.
+neto_1=0 & neto_2=0 & neto_3=0 & neto_4=0
+
+help, trop, olr
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/swr_oafluxgrid_1985_2007.nc'
+initncdf, file
+swr1=read_ncdf("swr", st1, en1, file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy",/nan, box=box) & swr1=reform(swr1)
+swr2=read_ncdf("swr", st2, en2, file=file,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy",/nan, box=box) & swr2=reform(swr2)
+swr3=read_ncdf("swr", st3, en3, file=file,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy",/nan, box=box) & swr3=reform(swr3)
+swr4=read_ncdf("swr", st4, en4, file=file,/nostr, box=box) & swr4=grossemoyenne(swr4, "xy",/nan, box=box) & swr4=reform(swr4)
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/lwr_oafluxgrid_1985_2007.nc'
+initncdf, file
+lwr1=-1*read_ncdf("lwr", st1, en1, file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy",/nan, box=box) & lwr1=reform(lwr1)
+lwr2=-1*read_ncdf("lwr", st2, en2, file=file,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy",/nan, box=box) & lwr2=reform(lwr2)
+lwr3=-1*read_ncdf("lwr", st3, en3, file=file,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy",/nan, box=box) & lwr3=reform(lwr3)
+lwr4=-1*read_ncdf("lwr", st4, en4, file=file,/nostr, box=box) & lwr4=grossemoyenne(lwr4, "xy",/nan, box=box) & lwr4=reform(lwr4)
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/lhf_oafluxgrid_1985_2009.nc'
+initncdf, file
+lhf1=-1*read_ncdf("lhf", st1, en1, file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy",/nan, box=box) & lhf1=reform(lhf1)
+lhf2=-1*read_ncdf("lhf", st2, en2, file=file,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy",/nan, box=box) & lhf2=reform(lhf2)
+lhf3=-1*read_ncdf("lhf", st3, en3, file=file,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy",/nan, box=box) & lhf3=reform(lhf3)
+lhf4=-1*read_ncdf("lhf", st4, en4, file=file,/nostr, box=box) & lhf4=grossemoyenne(lhf4, "xy",/nan, box=box) & lhf4=reform(lhf4)
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/shf_oafluxgrid_1985_2009.nc'
+initncdf, file
+shf1=-1*read_ncdf("shf", st1, en1, file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy",/nan, box=box) & shf1=reform(shf1)
+shf2=-1*read_ncdf("shf", st2, en2, file=file,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy",/nan, box=box) & shf2=reform(shf2)
+shf3=-1*read_ncdf("shf", st3, en3, file=file,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy",/nan, box=box) & shf3=reform(shf3)
+shf4=-1*read_ncdf("shf", st4, en4, file=file,/nostr, box=box) & shf4=grossemoyenne(shf4, "xy",/nan, box=box) & shf4=reform(shf4)
+
+net1=swr1+lwr1+lhf1+shf1 & net2=swr2+lwr2+lhf2+shf2 & net3=swr3+lwr3+lhf3+shf3 & net4=swr4+lwr4+lhf4+shf4
+
+oaf=[net1,net2,net3,net4]
+lhf1=0. & lhf2=0. & lhf3=0. & lhf4=0.
+shf1=0. & shf2=0. & shf3=0. & shf4=0.
+lwr1=0. & lwr2=0. & lwr3=0. & lwr4=0.
+swr1=0. & swr2=0. & swr3=0. & swr4=0.
+net1=0. & net2=0. & net3=0. & net4=0
+help, oaf
+
+help, oaf
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/swr_ncep2_oaflxgrid_19890101_20091231.nc'
+initncdf, fi
+swr1=read_ncdf("swr", st1, en1, file=fi,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy",/nan, box=box) & swr1=reform(swr1)
+swr2=read_ncdf("swr", st2, en2, file=fi,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy",/nan, box=box) & swr2=reform(swr2)
+swr3=read_ncdf("swr", st3, en3, file=fi,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy",/nan, box=box) & swr3=reform(swr3)
+swr4=read_ncdf("swr", st4, en4, file=fi,/nostr, box=box) & swr4=grossemoyenne(swr4, "xy",/nan, box=box) & swr4=reform(swr4)
+
+fi="/Volumes/Iomega_HDD/flux_reconstruction/ncep2/NCEP2_flux_19890101_20090729.nc"
+initncdf, fi
+lwr1=-1*read_ncdf("lwr", st1, en1, file=fi,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy",/nan, box=box) & lwr1=reform(lwr1)
+lwr2=-1*read_ncdf("lwr", st2, en2, file=fi,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy",/nan, box=box) & lwr2=reform(lwr2)
+lwr3=-1*read_ncdf("lwr", st3, en3, file=fi,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy",/nan, box=box) & lwr3=reform(lwr3)
+lwr4=-1*read_ncdf("lwr", st4, en4, file=fi,/nostr, box=box) & lwr4=grossemoyenne(lwr4, "xy",/nan, box=box) & lwr4=reform(lwr4)
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/lhf_ncep2_oafluxgrid_19890101_20091231.nc'
+initncdf, fi
+lhf1=-1*read_ncdf("lhf", st1, en1, file=fi,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy",/nan, box=box) & lhf1=reform(lhf1)
+lhf2=-1*read_ncdf("lhf", st2, en2, file=fi,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy",/nan, box=box) & lhf2=reform(lhf2)
+lhf3=-1*read_ncdf("lhf", st3, en3, file=fi,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy",/nan, box=box) & lhf3=reform(lhf3)
+lhf4=-1*read_ncdf("lhf", st4, en4, file=fi,/nostr, box=box) & lhf4=grossemoyenne(lhf4, "xy",/nan, box=box) & lhf4=reform(lhf4)
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/shf_ncep2_oafluxgrid_19890101_20091231.nc'
+initncdf, fi
+shf1=-1*read_ncdf("shf", st1, en1, file=fi,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy",/nan, box=box) & shf1=reform(shf1)
+shf2=-1*read_ncdf("shf", st2, en2, file=fi,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy",/nan, box=box) & shf2=reform(shf2)
+shf3=-1*read_ncdf("shf", st3, en3, file=fi,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy",/nan, box=box) & shf3=reform(shf3)
+shf4=-1*read_ncdf("shf", st4, en4, file=fi,/nostr, box=box) & shf4=grossemoyenne(shf4, "xy",/nan, box=box) & shf4=reform(shf4)
+
+net1=swr1+lwr1+lhf1+shf1 & net2=swr2+lwr2+lhf2+shf2 & net3=swr3+lwr3+lhf3+shf3 & net4=swr4+lwr4+lhf4+shf4
+
+nce2=[net1,net2,net3,net4]
+help, nce2
+
+lhf1=0. & lhf2=0. & lhf3=0. & lhf4=0.
+shf1=0. & shf2=0. & shf3=0. & shf4=0.
+lwr1=0. & lwr2=0. & lwr3=0. & lwr4=0.
+swr1=0. & swr2=0. & swr3=0. & swr4=0.
+net1=0. & net2=0. & net3=0. & net4=0
+
+file="/Users/pkb/data/heat_budget/ncep/ncep1_flux_19890101_20091231.nc"
+initncdf, file
+
+lhf1=read_ncdf('lhf',st1,en1,file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy", box=box,/nan) & lhf1=reform(lhf1)
+lhf2=read_ncdf('lhf',st2,en2,file=file,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy", box=box,/nan) & lhf2=reform(lhf2)
+lhf3=read_ncdf('lhf',st3,en3,file=file,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy", box=box,/nan) & lhf3=reform(lhf3)
+lhf4=read_ncdf('lhf',st4,en4,file=file,/nostr, box=box) & lhf4=grossemoyenne(lhf4, "xy", box=box,/nan) & lhf4=reform(lhf4)
+
+shf1=read_ncdf('shf',st1,en1,file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy", box=box,/nan) & shf1=reform(shf1)
+shf2=read_ncdf('shf',st2,en2,file=file,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy", box=box,/nan) & shf2=reform(shf2)
+shf3=read_ncdf('shf',st3,en3,file=file,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy", box=box,/nan) & shf3=reform(shf3)
+shf4=read_ncdf('shf',st4,en4,file=file,/nostr, box=box) & shf4=grossemoyenne(shf4, "xy", box=box,/nan) & shf4=reform(shf4)
+
+lwr1=read_ncdf('lwr',st1,en1,file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy", box=box,/nan) & lwr1=reform(lwr1)
+lwr2=read_ncdf('lwr',st2,en2,file=file,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy", box=box,/nan) & lwr2=reform(lwr2)
+lwr3=read_ncdf('lwr',st3,en3,file=file,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy", box=box,/nan) & lwr3=reform(lwr3)
+lwr4=read_ncdf('lwr',st4,en4,file=file,/nostr, box=box) & lwr4=grossemoyenne(lwr4, "xy", box=box,/nan) & lwr4=reform(lwr4)
+
+swr1=read_ncdf('swr',st1,en1,file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy", box=box,/nan) & swr1=reform(swr1)
+swr2=read_ncdf('swr',st2,en2,file=file,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy", box=box,/nan) & swr2=reform(swr2)
+swr3=read_ncdf('swr',st3,en3,file=file,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy", box=box,/nan) & swr3=reform(swr3)
+swr4=read_ncdf('swr',st4,en4,file=file,/nostr, box=box) & swr4=grossemoyenne(swr4, "xy", box=box,/nan) & swr4=reform(swr4)
+
+net1=swr1+(lwr1+shf1+lhf1) & net2=swr2+(lwr2+shf2+lhf2) & net3=swr3+(lwr3+shf3+lhf3) & net4=swr4+(lwr4+shf4+lhf4)
+nce1=[net1,net2,net3,net4]
+lhf1=0. & lhf2=0. & lhf3=0. & lhf4=0.
+shf1=0. & shf2=0. & shf3=0. & shf4=0.
+lwr1=0. & lwr2=0. & lwr3=0. & lwr4=0.
+swr1=0. & swr2=0. & swr3=0. & swr4=0.
+net1=0. & net2=0. & net3=0. & net4=0
+
+ind=where(finite(net))
+net=net(ind) & era=era(ind) & trop=trop(ind) & oaf=oaf(ind) & nce2=nce2(ind) & nce1=nce1(ind)
+olr=olr(ind)
+;------------------------------------------------------------
+
+statistics, net, era, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_era=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, trop, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_trop=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, oaf, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_oaf=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, nce1, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_nce1=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, nce2, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_nce2=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, olr, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_olr=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+;------------------------------------------------------------
+
+splot, net, era, charsize=1.1, title='SWR - Subdctn. sws Vs ERAI', $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,1], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, 0,-175, cstat_era, charsize=1.
+
+splot, net, trop, charsize=1.1, title='SWR - Subdctn. sws Vs TropFlux',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,2], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, 0,-175, cstat_trop, charsize=1.
+
+splot, net, oaf, charsize=1.1, title='SWR - Subdctn. sws Vs OAFlux',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,3], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, 0,-175, cstat_oaf, charsize=1.
+
+splot, net, nce1, charsize=1.1, title='SWR - Subdctn. sws Vs NCEP1',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,4], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, 0,-175, cstat_nce1, charsize=1.
+
+splot, net, nce2, charsize=1.1, title='SWR - Subdctn. sws Vs NCEP2',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,5], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, 0,-175, cstat_nce2, charsize=1.
+
+splot, net, olr, charsize=1.1, title='SWR - Subdctn. sws Vs TropFlux_NRT',/noer, $
+     xrange=[-200,200], yrange=[-200,200], small=[2,3,6], psym=2, xmin=1, ymin=1
+oplot, [-200,200], [-200,200]
+xyouts, 0,-175, cstat_olr, charsize=1.
+
+stop
+;------------------------------------------------------------
+closeps
+fig="subdctn_sws_validation_net_1991_93_all_v10.ps"
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+;------------------------------------------------------------
+return
+end
+
Index: /trunk/src/paper01/fig14/whots_validation_net_2004_2007_all_v10.pro
===================================================================
--- /trunk/src/paper01/fig14/whots_validation_net_2004_2007_all_v10.pro	(revision 41)
+++ /trunk/src/paper01/fig14/whots_validation_net_2004_2007_all_v10.pro	(revision 41)
@@ -0,0 +1,304 @@
+pro whots_validation_net_2004_2007_all_v10
+@common
+;------------------------------------------------------------
+reinitplt, /z,/invert
+key_portrait = 1
+coefpalit=.9
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+; partie a changer
+;------------------------------------------------------------
+
+;; WHOTS in the NC pacific  2004-09
+;22.45N, 157.54W (202.46E)
+box=[202, 203, 22., 23.]
+
+;; first leg
+
+fi="/Users/pkb/data/Mooring_data/WHOTS/met_data_WHOTS_2004_2005.txt"
+res=read_ascii(fi,data_start=1)
+ff=res.field1
+lhf_04=reform(ff(5,*))
+shf_04=reform(ff(6,*))
+swr_04=reform(ff(7,*))/0.93
+lwr_04=reform(ff(8,*))
+net_04=[lhf_04+shf_04+swr_04+lwr_04]
+
+fi="/Users/pkb/data/Mooring_data/WHOTS/met_data_WHOTS_2005_2006.txt"
+res=read_ascii(fi,data_start=1)
+ff=res.field1
+lhf_05=reform(ff(5,*))
+shf_05=reform(ff(6,*))
+swr_05=reform(ff(7,*))/0.93
+lwr_05=reform(ff(8,*))
+net_05=[lhf_05+shf_05+swr_05+lwr_05]
+
+fi="/Users/pkb/data/Mooring_data/WHOTS/met_data_WHOTS_2006_2007.txt"
+res=read_ascii(fi,data_start=1)
+ff=res.field1
+lhf_06=reform(ff(5,*))
+shf_06=reform(ff(6,*))
+swr_06=reform(ff(7,*))/0.93
+lwr_06=reform(ff(8,*))
+net_06=[lhf_06+shf_06+swr_06+lwr_06]
+
+net=[net_04, net_05, net_06]
+
+help, net
+
+;; reading other data sets
+
+st1=20040813 & en1=20050725 
+st2=20050728 & en2=20060624
+st3=20060627 & en3=20070628 
+;st4=20070626 & en4=20080606 
+;st5=20080605 & en5=20090715
+
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_lhf_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+lhf1=-1*read_ncdf('lhf',st1,en1,file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy", box=box,/nan) & lhf1=reform(lhf1)
+lhf2=-1*read_ncdf('lhf',st2,en2,file=file,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy", box=box,/nan) & lhf2=reform(lhf2)
+lhf3=-1*read_ncdf('lhf',st3,en3,file=file,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy", box=box,/nan) & lhf3=reform(lhf3)
+
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_shf_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+shf1=-1*read_ncdf('shf',st1,en1,file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy", box=box,/nan) & shf1=reform(shf1)
+shf2=-1*read_ncdf('shf',st2,en2,file=file,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy", box=box,/nan) & shf2=reform(shf2)
+shf3=-1*read_ncdf('shf',st3,en3,file=file,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy", box=box,/nan) & shf3=reform(shf3)
+
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_lwr_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+lwr1=read_ncdf('lwr',st1-1,en1,file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy", box=box,/nan) & lwr1=reform(lwr1)
+lwr2=read_ncdf('lwr',st2-1,en2,file=file,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy", box=box,/nan) & lwr2=reform(lwr2)
+lwr3=read_ncdf('lwr',st3-1,en3,file=file,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy", box=box,/nan) & lwr3=reform(lwr3)
+
+file="/Users/pkb/data/ERA-I/erai_swr_19910101_20091231_oafluxgrid.nc"
+initncdf, file
+swr1=read_ncdf('swr',st1,en1,file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy", box=box,/nan) & swr1=reform(swr1)
+swr2=read_ncdf('swr',st2,en2,file=file,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy", box=box,/nan) & swr2=reform(swr2)
+swr3=read_ncdf('swr',st3,en3,file=file,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy", box=box,/nan) & swr3=reform(swr3)
+
+net1=swr1+(lwr1+shf1+lhf1) & net2=swr2+(lwr2+shf2+lhf2) & net3=swr3+(lwr3+shf3+lhf3)
+era=[net1,net2,net3]
+lhf1=0. & lhf2=0. & lhf3=0.
+shf1=0. & shf2=0. & shf3=0.
+lwr1=0. & lwr2=0. & lwr3=0. 
+swr1=0. & swr2=0. & swr3=0.
+net1=0. & net2=0. & net3=0. 
+help, era
+
+file="/Users/pkb/data/TropFlux/TropFlux_19890101_20091231.nc"
+initncdf, file
+
+lhf1=read_ncdf('lhf',st1,en1,file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy", box=box,/nan) & lhf1=reform(lhf1)
+lhf2=read_ncdf('lhf',st2,en2,file=file,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy", box=box,/nan) & lhf2=reform(lhf2)
+lhf3=read_ncdf('lhf',st3,en3,file=file,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy", box=box,/nan) & lhf3=reform(lhf3)
+
+shf1=read_ncdf('shf',st1,en1,file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy", box=box,/nan) & shf1=reform(shf1)
+shf2=read_ncdf('shf',st2,en2,file=file,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy", box=box,/nan) & shf2=reform(shf2)
+shf3=read_ncdf('shf',st3,en3,file=file,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy", box=box,/nan) & shf3=reform(shf3)
+
+lwr1=read_ncdf('lwr',st1,en1,file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy", box=box,/nan) & lwr1=reform(lwr1)
+lwr2=read_ncdf('lwr',st2,en2,file=file,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy", box=box,/nan) & lwr2=reform(lwr2)
+lwr3=read_ncdf('lwr',st3,en3,file=file,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy", box=box,/nan) & lwr3=reform(lwr3)
+
+swr1=read_ncdf('swr',st1,en1,file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy", box=box,/nan) & swr1=reform(swr1)
+swr2=read_ncdf('swr',st2,en2,file=file,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy", box=box,/nan) & swr2=reform(swr2)
+swr3=read_ncdf('swr',st3,en3,file=file,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy", box=box,/nan) & swr3=reform(swr3)
+
+file="/Users/pkb/data/TropFlux/TropFlux_swr_19890101_20091231_NRT_v50.nc"
+initncdf, file
+olr1=read_ncdf("sw", st1-1, en1, file=file,/nostr, box=box) & olr1=grossemoyenne(olr1, "xy",/nan, box=box) & olr1=reform(olr1)
+olr2=read_ncdf("sw", st2-1, en2, file=file,/nostr, box=box) & olr2=grossemoyenne(olr2, "xy",/nan, box=box) & olr2=reform(olr2)
+olr3=read_ncdf("sw", st3-1, en3, file=file,/nostr, box=box) & olr3=grossemoyenne(olr3, "xy",/nan, box=box) & olr3=reform(olr3)
+
+net1=swr1+lwr1+(shf1+lhf1) & net2=swr2+lwr2+(shf2+lhf2) & net3=swr3+lwr3+(shf3+lhf3)
+neto_1=olr1+lwr1+lhf1+shf1 & neto_2=olr2+lwr2+lhf2+shf2 & neto_3=olr3+lwr3+lhf3+shf3 
+
+trop=[net1,net2,net3] & olr=[neto_1,neto_2,neto_3]
+
+lhf1=0. & lhf2=0. & lhf3=0.
+shf1=0. & shf2=0. & shf3=0. 
+lwr1=0. & lwr2=0. & lwr3=0.
+swr1=0. & swr2=0. & swr3=0. 
+net1=0. & net2=0. & net3=0. 
+neto_1=0 & neto_2=0 & neto_3=0
+
+help, trop, olr
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/swr_oafluxgrid_1985_2007.nc'
+initncdf, file
+swr1=read_ncdf("swr", st1, en1, file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy",/nan, box=box) & swr1=reform(swr1)
+swr2=read_ncdf("swr", st2, en2, file=file,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy",/nan, box=box) & swr2=reform(swr2)
+swr3=read_ncdf("swr", st3, en3, file=file,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy",/nan, box=box) & swr3=reform(swr3)
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/lwr_oafluxgrid_1985_2007.nc'
+initncdf, file
+lwr1=-1*read_ncdf("lwr", st1, en1, file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy",/nan, box=box) & lwr1=reform(lwr1)
+lwr2=-1*read_ncdf("lwr", st2, en2, file=file,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy",/nan, box=box) & lwr2=reform(lwr2)
+lwr3=-1*read_ncdf("lwr", st3, en3, file=file,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy",/nan, box=box) & lwr3=reform(lwr3)
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/lhf_oafluxgrid_1985_2009.nc'
+initncdf, file
+lhf1=-1*read_ncdf("lhf", st1, en1, file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy",/nan, box=box) & lhf1=reform(lhf1)
+lhf2=-1*read_ncdf("lhf", st2, en2, file=file,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy",/nan, box=box) & lhf2=reform(lhf2)
+lhf3=-1*read_ncdf("lhf", st3, en3, file=file,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy",/nan, box=box) & lhf3=reform(lhf3)
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/shf_oafluxgrid_1985_2009.nc'
+initncdf, file
+shf1=-1*read_ncdf("shf", st1, en1, file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy",/nan, box=box) & shf1=reform(shf1)
+shf2=-1*read_ncdf("shf", st2, en2, file=file,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy",/nan, box=box) & shf2=reform(shf2)
+shf3=-1*read_ncdf("shf", st3, en3, file=file,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy",/nan, box=box) & shf3=reform(shf3)
+
+net1=swr1+lwr1+lhf1+shf1 & net2=swr2+lwr2+lhf2+shf2 & net3=swr3+lwr3+lhf3+shf3
+
+oaf=[net1,net2,net3]
+lhf1=0. & lhf2=0. & lhf3=0. 
+shf1=0. & shf2=0. & shf3=0. 
+lwr1=0. & lwr2=0. & lwr3=0.
+swr1=0. & swr2=0. & swr3=0.
+net1=0. & net2=0. & net3=0.
+help, oaf
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/swr_ncep2_oaflxgrid_19890101_20091231.nc'
+initncdf, fi
+swr1=read_ncdf("swr", st1, en1, file=fi,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy",/nan, box=box) & swr1=reform(swr1)
+swr2=read_ncdf("swr", st2, en2, file=fi,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy",/nan, box=box) & swr2=reform(swr2)
+swr3=read_ncdf("swr", st3, en3, file=fi,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy",/nan, box=box) & swr3=reform(swr3)
+
+fi="/Volumes/Iomega_HDD/flux_reconstruction/ncep2/NCEP2_flux_19890101_20090729.nc"
+initncdf, fi
+lwr1=-1*read_ncdf("lwr", st1, en1, file=fi,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy",/nan, box=box) & lwr1=reform(lwr1)
+lwr2=-1*read_ncdf("lwr", st2, en2, file=fi,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy",/nan, box=box) & lwr2=reform(lwr2)
+lwr3=-1*read_ncdf("lwr", st3, en3, file=fi,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy",/nan, box=box) & lwr3=reform(lwr3)
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/lhf_ncep2_oafluxgrid_19890101_20091231.nc'
+initncdf, fi
+lhf1=-1*read_ncdf("lhf", st1, en1, file=fi,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy",/nan, box=box) & lhf1=reform(lhf1)
+lhf2=-1*read_ncdf("lhf", st2, en2, file=fi,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy",/nan, box=box) & lhf2=reform(lhf2)
+lhf3=-1*read_ncdf("lhf", st3, en3, file=fi,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy",/nan, box=box) & lhf3=reform(lhf3)
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/shf_ncep2_oafluxgrid_19890101_20091231.nc'
+initncdf, fi
+shf1=-1*read_ncdf("shf", st1, en1, file=fi,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy",/nan, box=box) & shf1=reform(shf1)
+shf2=-1*read_ncdf("shf", st2, en2, file=fi,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy",/nan, box=box) & shf2=reform(shf2)
+shf3=-1*read_ncdf("shf", st3, en3, file=fi,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy",/nan, box=box) & shf3=reform(shf3)
+
+net1=swr1+lwr1+lhf1+shf1 & net2=swr2+lwr2+lhf2+shf2 & net3=swr3+lwr3+lhf3+shf3
+
+nce2=[net1,net2,net3]
+help, nce2
+
+lhf1=0. & lhf2=0. & lhf3=0. 
+shf1=0. & shf2=0. & shf3=0.
+lwr1=0. & lwr2=0. & lwr3=0.
+swr1=0. & swr2=0. & swr3=0. 
+net1=0. & net2=0. & net3=0.
+
+file="/Users/pkb/data/heat_budget/ncep/ncep1_flux_19890101_20091231.nc"
+initncdf, file
+
+lhf1=read_ncdf('lhf',st1,en1,file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy", box=box,/nan) & lhf1=reform(lhf1)
+lhf2=read_ncdf('lhf',st2,en2,file=file,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy", box=box,/nan) & lhf2=reform(lhf2)
+lhf3=read_ncdf('lhf',st3,en3,file=file,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy", box=box,/nan) & lhf3=reform(lhf3)
+
+shf1=read_ncdf('shf',st1,en1,file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy", box=box,/nan) & shf1=reform(shf1)
+shf2=read_ncdf('shf',st2,en2,file=file,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy", box=box,/nan) & shf2=reform(shf2)
+shf3=read_ncdf('shf',st3,en3,file=file,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy", box=box,/nan) & shf3=reform(shf3)
+
+lwr1=read_ncdf('lwr',st1,en1,file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy", box=box,/nan) & lwr1=reform(lwr1)
+lwr2=read_ncdf('lwr',st2,en2,file=file,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy", box=box,/nan) & lwr2=reform(lwr2)
+lwr3=read_ncdf('lwr',st3,en3,file=file,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy", box=box,/nan) & lwr3=reform(lwr3)
+
+swr1=read_ncdf('swr',st1,en1,file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy", box=box,/nan) & swr1=reform(swr1)
+swr2=read_ncdf('swr',st2,en2,file=file,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy", box=box,/nan) & swr2=reform(swr2)
+swr3=read_ncdf('swr',st3,en3,file=file,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy", box=box,/nan) & swr3=reform(swr3)
+
+net1=swr1+(lwr1+shf1+lhf1) & net2=swr2+(lwr2+shf2+lhf2) & net3=swr3+(lwr3+shf3+lhf3)
+nce1=[net1,net2,net3]
+help, nce1
+
+lhf1=0. & lhf2=0. & lhf3=0. 
+shf1=0. & shf2=0. & shf3=0.
+lwr1=0. & lwr2=0. & lwr3=0.
+swr1=0. & swr2=0. & swr3=0. 
+net1=0. & net2=0. & net3=0.
+
+ind=where(finite(net))
+net=net(ind) & era=era(ind) & trop=trop(ind) & oaf=oaf(ind) 
+nce2=nce2(ind) & nce1=nce1(ind) & olr=olr(ind)
+
+;------------------------------------------------------------
+
+statistics, net, era, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_era=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, trop, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_trop=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, oaf, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_oaf=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, nce1, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_nce1=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, nce2, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_nce2=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+statistics, net, olr, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_olr=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+;------------------------------------------------------------
+
+splot, net, era, charsize=1.1, title='Net Flux - WHOTS Vs ERAI', $
+     xrange=[-250,250], yrange=[-250,250], small=[2,3,1], psym=2, xmin=1, ymin=1
+oplot, [-250,250], [-250,250]
+xyouts, 0,-200, cstat_era, charsize=1.
+
+splot, net, trop, charsize=1.1, title='Net Flux - WHOTS Vs TropFlux',/noer, $
+     xrange=[-250,250], yrange=[-250,250], small=[2,3,2], psym=2, xmin=1, ymin=1
+oplot, [-250,250], [-250,250]
+xyouts, 0,-200, cstat_trop, charsize=1.
+
+splot, net, oaf, charsize=1.1, title='Net Flux - WHOTS Vs OAFlux',/noer, $
+     xrange=[-250,250], yrange=[-250,250], small=[2,3,3], psym=2, xmin=1, ymin=1
+oplot, [-250,250], [-250,250]
+xyouts, 0,-200, cstat_oaf, charsize=1.
+
+splot, net, nce1, charsize=1.1, title='Net Flux - WHOTS Vs NCEP1',/noer, $
+     xrange=[-250,250], yrange=[-250,250], small=[2,3,4], psym=2, xmin=1, ymin=1
+oplot, [-250,250], [-250,250]
+xyouts, 0,-200, cstat_nce1, charsize=1.
+
+splot, net, nce2, charsize=1.1, title='Net Flux - WHOTS Vs NCEP2',/noer, $
+     xrange=[-250,250], yrange=[-250,250], small=[2,3,5], psym=2, xmin=1, ymin=1
+oplot, [-250,250], [-250,250]
+xyouts, 0,-200, cstat_nce2, charsize=1.
+
+splot, net, olr, charsize=1.1, title='Net Flux - WHOTS Vs TropFlux_NRT',/noer, $
+     xrange=[-250,250], yrange=[-250,250], small=[2,3,6], psym=2, xmin=1, ymin=1
+oplot, [-250,250], [-250,250]
+xyouts, 0,-200, cstat_olr, charsize=1.
+
+;------------------------------------------------------------
+closeps
+fig="WHOTS_validation_net_2004_2007_all_v10.ps"
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+;------------------------------------------------------------
+return
+end
+
Index: /trunk/src/paper01/fig15/fig15_timeseries_mjo.pro
===================================================================
--- /trunk/src/paper01/fig15/fig15_timeseries_mjo.pro	(revision 41)
+++ /trunk/src/paper01/fig15/fig15_timeseries_mjo.pro	(revision 41)
@@ -0,0 +1,182 @@
+;------------------------------------------------------------
+pro fig15_timeseries_mjo
+@common
+;------------------------------------------------------------
+
+reinitplt, /z,/invert
+key_portrait = 1
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+date1=20071001 & date2=20080331
+date1=19990101 & date2=20021231
+box=[50,80,-12,-5]
+
+file_trop='/Users/pkb/data/TropFlux/TropFlux_19890101_20091231.nc'
+initncdf, file_trop
+shf_trop=read_ncdf("shf", date1, date2, box=box, file=file_trop,/nostr)
+lhf_trop=read_ncdf("lhf", date1, date2, box=box, file=file_trop,/nostr)
+swr_trop=read_ncdf("swr", date1, date2, box=box, file=file_trop,/nostr)
+lwr_trop=read_ncdf("lwr", date1, date2, box=box, file=file_trop,/nostr) ;; & ref_lw=-1*lwr_trop
+trop=swr_trop+(lwr_trop+lhf_trop+shf_trop)
+help, trop
+trop=grossemoyenne(trop, "xy",/nan)
+
+file_ncep='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/NCEP2_flux_19890101_20090729.nc'
+initncdf, file_ncep
+shf=read_ncdf("shf", date1, date2, box=box, file=file_ncep,/nostr)
+lhf=read_ncdf("lhf", date1, date2, box=box, file=file_ncep,/nostr)
+lwr=read_ncdf("lwr", date1, date2, box=box, file=file_ncep,/nostr)
+swr=read_ncdf("swr", date1, date2, box=box, file=file_ncep,/nostr)
+
+nce2=swr-(lwr+lhf+shf)
+nce2=grossemoyenne(nce2, "xy",/nan)
+help, nce2
+
+file_erai='/Volumes/Iomega_HDD/work/flux_reconstruction/gridded_data/erai_fluxes_19930101_20090801_TROP_oafluxgrid.nc'
+initncdf, file_erai
+shf=read_ncdf("shf", date1, date2, box=box, file=file_erai,/nostr)
+lhf=read_ncdf("lhf", date1, date2, box=box, file=file_erai,/nostr)
+lwr=read_ncdf("lwr", date1, date2, box=box, file=file_erai,/nostr)
+swr=read_ncdf("swr", date1, date2, box=box, file=file_erai,/nostr) & swr=-1*swr
+era=swr-(lwr+lhf+shf)
+era=grossemoyenne(era, "xy",/nan)
+help, era
+
+file='/Volumes/Iomega_HDD/flux_reconstruction/ncep/fluxe_ncep1_19890101_20091231.nc'
+initncdf, file
+lwr=read_ncdf("lwr", date1, date2, box=box, file=file,/nostr)
+swr=read_ncdf("swr", date1, date2, box=box, file=file,/nostr)
+lhf=read_ncdf("lhf", date1, date2, box=box, file=file,/nostr)
+shf=read_ncdf("shf", date1, date2, box=box, file=file,/nostr)
+
+nce=swr+shf+lhf+lwr
+nce=grossemoyenne(nce, "xy",/nan)
+help, nce
+
+file_oaf='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/shf_oafluxgrid_1985_2008.nc'
+initncdf, file_oaf
+shf=read_ncdf("shf", date1, date2, box=box, file=file_oaf,/nostr)
+file_oaf='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/lhf_oafluxgrid_1985_2008.nc'
+initncdf, file_oaf
+lhf=read_ncdf("lhf", date1, date2, box=box, file=file_oaf,/nostr)
+file_oaf='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/lwr_oafluxgrid_1985_2007.nc'
+initncdf, file_oaf
+lwr=read_ncdf("lwr", date1, date2, box=box, file=file_oaf,/nostr)
+file_oaf='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/swr_oafluxgrid_1985_2007.nc'
+initncdf, file_oaf
+swr=read_ncdf("swr", date1, date2, box=box, file=file_oaf,/nostr) & swr_trop=swr
+oafl=swr-(lwr+lhf+shf)
+help, oafl
+oafl=grossemoyenne(oafl, "xy",/nan)
+
+file="/Users/pkb/data/heat_budget/NOAA_OLR/olr_oafluxgrid_30n30s_19890101_20091231.nc"
+initncdf, file
+olr=read_ncdf("olr", date1-1, date2, box=box, file=file,/nostr)
+olr=grossemoyenne(olr, "xy",/nan)
+
+help, olr
+
+save, olr,trop, nce2, era, nce, filename="netflux_sctr_1999_2002.idl"
+;------------------------------------------------------------------------------------------------------------------------
+
+trop_hf=trop*0. & nce2_hf=trop*0.
+era_hf=trop*0. & nce_hf=trop*0.
+
+Thf=30 & Tlf=90
+tsamp=1.   ; monthly
+freq=findgen(jpt/2+1)/(jpt*tsamp)
+freq=[freq,-1.*reverse(freq(1:jpt/2))]
+peri=1./(abs(freq) > 1.e-20)*(2*(freq ge 0)-1.)
+; Variance
+     msk_spec=float((abs(peri) ge Thf) and (abs(peri) le Tlf))
+     ts=reform(trop)
+     ff_ts=fft(ts)
+     ff_ts_f=ff_ts*msk_spec
+     trop_hf=float(fft(ff_ts_f,/inverse))
+;
+    ts=reform(nce2)
+    ff_ts=fft(ts)
+    ff_ts_f=ff_ts*msk_spec
+    nce2_hf=float(fft(ff_ts_f,/inverse))
+;
+    ts=reform(era)
+    ff_ts=fft(ts)
+    ff_ts_f=ff_ts*msk_spec
+    era_hf=float(fft(ff_ts_f,/inverse))
+;
+    ts=reform(nce)
+    ff_ts=fft(ts)
+    ff_ts_f=ff_ts*msk_spec
+    nce_hf=float(fft(ff_ts_f,/inverse))
+;
+
+help, trop_hf, nce2_hf, era_hf, nce_hf
+nsmooth=15.
+
+pltt, ts_smooth(olr,nsmooth,/nan), "t",/rempl, small=[1,3,1], $
+   charsize=1.1, title="a) Outgoing Longwave Radiation", subtitle=""
+
+pltt, ts_smooth(trop,nsmooth,/nan), "t",/rempl, -70,130, $
+      small=[1,3,2],/noer, charsize=1.1, title="b) Net Heat Flux", subtitle=""
+pltt, ts_smooth(era,nsmooth,/nan), "t",/ov1d, color=250
+pltt, ts_smooth(nce2,nsmooth,/nan), "t",/ov1d, color=150
+pltt, ts_smooth(nce,nsmooth,/nan), "t",/ov1d, color=50
+
+pltt, trop_hf, "t",/rempl, -80,80, $
+      small=[1,3,3],/noer, title="c) 30-90 day Net Heat Flux", charsize=1.1, subtitle=""
+pltt, era_hf, "t",/ov1d, color=250
+pltt, nce2_hf, "t",/ov1d, color=150
+pltt, nce_hf, "t",/ov1d, color=50
+
+;----------------------------------------------------------
+closeps
+fig='fig15_timeseries_mjo.ps'
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+return
+end
+;--------------------------------------------------------------------------
+function x_site_location, site
+    n1=strpos(site, 's')
+if (n1 gt -1) then begin
+    ns=-1.
+    x=strmid(site, 0, n1)
+    x=float(x)*ns
+endif else begin
+    n1=strpos(site, 'n')
+    x=strmid(site, 0, n1)
+    ny=1.
+    x=float(x)*ny
+endelse
+return, float(x)
+end
+;--------------------------------------------------------------------------
+function y_site_location, site
+    n1=strpos(site, 'e')
+if (n1 gt -1) then begin
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+    endelse
+
+endif else begin
+    n1=strpos(site, 'w')
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+   endelse
+endelse
+return,float(y)
+end
+
+;--------------------------------------------------------------------------
+
Index: /trunk/src/paper01/fig16/fig16_timeseries_nino3.pro
===================================================================
--- /trunk/src/paper01/fig16/fig16_timeseries_nino3.pro	(revision 41)
+++ /trunk/src/paper01/fig16/fig16_timeseries_nino3.pro	(revision 41)
@@ -0,0 +1,179 @@
+;------------------------------------------------------------
+pro fig16_timeseries_nino3
+@common
+;------------------------------------------------------------
+
+reinitplt, /z,/invert
+key_portrait = 1
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+date1=19940101 & date2=20071231
+box=[240,330,-5,5]
+
+file_trop='/Users/pkb/data/TropFlux/TropFlux_sst_19890101_20091231.nc'
+initncdf, file_trop
+sst=read_ncdf("sst", date1, date2, box=box, file=file_trop,/nostr)
+sst=grossemoyenne(sst, "xy",/nan)
+restore, filename="/Users/pkb/work/MY_SAXO/netflux_nino3_1989_2007.idl"
+help, trop, oafl, nce2, era, nce, sst
+;------------------------------------------------------------------------------------------------------------------------
+;; creating climatology
+ny=(2007-1994)+1
+nt=365*ny
+nsmooth=30.
+
+trop_nclim=total(reform(trop(0:nt-1),365,ny),2)/ny
+oafl_nclim=total(reform(oafl(0:nt-1),365,ny),2)/ny
+nce2_nclim=total(reform(nce2(0:nt-1),365,ny),2)/ny
+era_nclim=total(reform(era(0:nt-1),365,ny),2)/ny
+nce_nclim=total(reform(nce(0:nt-1),365,ny),2)/ny
+sst_nclim=total(reform(sst(0:nt-1),365,ny),2)/ny
+
+trop_nclim=[trop_nclim ,trop_nclim, trop_nclim] & trop_nclim=smooth(trop_nclim,nsmooth,/nan) & trop_nclim=trop_nclim[365:365+364]
+oafl_nclim=[oafl_nclim ,oafl_nclim, oafl_nclim] & oafl_nclim=smooth(oafl_nclim,nsmooth,/nan) & oafl_nclim=oafl_nclim[365:365+364]
+nce2_nclim=[nce2_nclim ,nce2_nclim ,nce2_nclim] & nce2_nclim=smooth(nce2_nclim,nsmooth,/nan) & nce2_nclim=nce2_nclim[365:365+364]
+era_nclim=[era_nclim ,era_nclim, era_nclim] & era_nclim=smooth(era_nclim,nsmooth,/nan) & era_nclim=era_nclim[365:365+364]
+nce_nclim=[nce_nclim ,nce_nclim ,nce_nclim] & nce_nclim=smooth(nce_nclim,nsmooth,/nan) & nce_nclim=nce_nclim[365:365+364]
+sst_nclim=[sst_nclim ,sst_nclim ,sst_nclim] & sst_nclim=smooth(sst_nclim,nsmooth,/nan) & sst_nclim=sst_nclim[365:365+364]
+
+time=time & jpt=n_elements(time)
+
+caldat, time,mon,day,yea
+trop_clim=trop*0. & era_clim=trop*0.
+oafl_clim=trop*0. & nce_clim=trop*0.
+nce2_clim=trop*0. & sst_clim=trop*0.
+
+for jt=0,jpt-1 do begin
+  jtt=(time(jt)-julday(1,1,yea(jt))) < 364
+  trop_clim(jt)=trop_nclim(jtt)
+  oafl_clim(jt)=oafl_nclim(jtt)
+  nce2_clim(jt)=nce2_nclim(jtt)
+  era_clim(jt)=era_nclim(jtt)
+  nce_clim(jt)=nce_nclim(jtt)
+  sst_clim(jt)=sst_nclim(jtt)
+endfor
+
+trop_ano=trop-trop_clim & oafl_ano=oafl-oafl_clim
+nce2_ano=nce2-nce2_clim & era_ano=era-era_clim
+nce_ano=nce-nce_clim    & sst_ano=sst-sst_clim
+
+trop_hf=trop*0. & nce2_hf=trop*0.
+oafl_hf=trop*0. & era_hf=trop*0.
+nce_hf=trop*0.
+
+Thf=1 & Tlf=90
+tsamp=1.   ; monthly
+freq=findgen(jpt/2+1)/(jpt*tsamp)
+freq=[freq,-1.*reverse(freq(1:jpt/2))]
+peri=1./(abs(freq) > 1.e-20)*(2*(freq ge 0)-1.)
+; Variance
+     msk_spec=float((abs(peri) ge Thf) and (abs(peri) le Tlf))
+     ts=reform(trop_ano)
+     ff_ts=fft(ts)
+     ff_ts_f=ff_ts*msk_spec
+     trop_hf=float(fft(ff_ts_f,/inverse))
+;
+    ts=reform(nce2_ano)
+    ff_ts=fft(ts)
+    ff_ts_f=ff_ts*msk_spec
+    nce2_hf=float(fft(ff_ts_f,/inverse))
+;
+    ts=reform(era_ano)
+    ff_ts=fft(ts)
+    ff_ts_f=ff_ts*msk_spec
+    era_hf=float(fft(ff_ts_f,/inverse))
+;
+    ts=reform(nce_ano)
+    ff_ts=fft(ts)
+    ff_ts_f=ff_ts*msk_spec
+    nce_hf=float(fft(ff_ts_f,/inverse))
+;
+    ts=reform(oafl_ano)
+    ff_ts=fft(ts)
+    ff_ts_f=ff_ts*msk_spec
+    oafl_hf=float(fft(ff_ts_f,/inverse))
+;
+help, trop_hf, nce2_hf, era_hf, nce_hf
+
+trop_ano=trop_ano-trop_hf & oafl_ano=oafl_ano-oafl_hf
+nce2_ano=nce2_ano-nce2_hf & era_ano=era_ano-era_hf
+nce_ano=nce_ano-nce_hf    
+
+nsmooth=30.
+marge=[-3,-3,0,4]
+
+pltt, ts_smooth(sst_ano,nsmooth,/nan), "t",/rempl,/nocolorb, $
+      small=[1,3,1], title="a) Nino 3 index ", subtitle="", $
+      ytitle="(degree Celcius)", marge=marge, linethick=1.3, charsize=1.1, xmin=-1, ymin=-1
+
+nsmooth=90.
+
+pltt, ts_smooth(trop,nsmooth,/nan), "t",/rempl,/nocolorb, 0,150, $
+      small=[1,3,2], title="b) Net Heat Flux", subtitle="", color=30, $
+      ytitle="(W/m2)", marge=marge, linethick=1.3, charsize=1.1,/noer, xmin=-1, ymin=-1
+pltt, ts_smooth(oafl,nsmooth,/nan), "t",/ov1d, color=145
+pltt, ts_smooth(era,nsmooth,/nan), "t",/ov1d, color=190
+pltt, ts_smooth(nce2,nsmooth,/nan), "t",/ov1d, color=250
+pltt, ts_smooth(nce,nsmooth,/nan), "t",/ov1d, color=65
+
+nsmooth=120
+pltt, ts_smooth(trop_ano,nsmooth,/nan), "t",/rempl,/nocolorb, -45,30, color=30, $
+      small=[1,3,3], ytitle="(W/m2)", marge=marge, linethick=1.3, xmin=-1, ymin=-1, $
+      title="c) Interannual Net Flux",/noer,  charsize=1.1, subtitle=""
+pltt, ts_smooth(oafl_ano,nsmooth,/nan), "t",/ov1d, color=145
+pltt, ts_smooth(era_ano,nsmooth,/nan), "t",/ov1d, color=190
+pltt, ts_smooth(nce2_ano,nsmooth,/nan), "t",/ov1d, color=250
+pltt, ts_smooth(nce_ano,nsmooth,/nan), "t",/ov1d, color=65
+
+;----------------------------------------------------------
+closeps
+fig='fig16_timeseries_nino3.ps'
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+return
+end
+;--------------------------------------------------------------------------
+function x_site_location, site
+    n1=strpos(site, 's')
+if (n1 gt -1) then begin
+    ns=-1.
+    x=strmid(site, 0, n1)
+    x=float(x)*ns
+endif else begin
+    n1=strpos(site, 'n')
+    x=strmid(site, 0, n1)
+    ny=1.
+    x=float(x)*ny
+endelse
+return, float(x)
+end
+;--------------------------------------------------------------------------
+function y_site_location, site
+    n1=strpos(site, 'e')
+if (n1 gt -1) then begin
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+    endelse
+
+endif else begin
+    n1=strpos(site, 'w')
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+   endelse
+endelse
+return,float(y)
+end
+
+;--------------------------------------------------------------------------
+
Index: /trunk/src/paper01/fig2/fig2_timeline_diagram.pro
===================================================================
--- /trunk/src/paper01/fig2/fig2_timeline_diagram.pro	(revision 41)
+++ /trunk/src/paper01/fig2/fig2_timeline_diagram.pro	(revision 41)
@@ -0,0 +1,184 @@
+pro fig2_timeline_diagram
+@common
+;-----------------------------------------------
+reinitplt, /z,/invert
+key_portrait = 1
+coefpalit=.9
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+; partie a changer
+;------------------------------------------------------------
+;; site locations
+
+sitelist=['8s67e','12s55e', '8s55e', '8s80.5e', '1.5s80.5e', '0n80.5e', '1.5n80.5e', '1.5s90e', $
+           '0n90e', '1.5n90e', '4n90e','8n90e','12n90e', '15n90e', '5s95e', $
+           '8s165e', '8s180w',  '8s155w', '8s125w', '8s110w', '8s95w',  '5s156e', '5s165e', '5s180w', '5s170w', $
+          '5s155w', '5s140w', '5s125w', '5s110w', '5s95w', '2s156e', '2s165e', '2s180w', '2s170w', '2s155w', '2s140w', $
+          '2s125w', '2s110w', '2s95w', '0n147e', '0n156e', '0n165e', '0n180w', '0n170w', '0n155w', '0n140w', '0n125w', $
+          '0n110w', '0n95w', '2n147e', '2n156e', '2n165e', '2n180w', '2n170w', '2n155w', '2n140w', '2n125w', '2n110w', $
+          '2n95w', '5n147e', '5n156e', '5n165e', '5n170w', '5n155w', '5n140w', '5n125w', '5n110w', '5n95w', $
+          '8n156e', '8n165e', '8n180w', '8n170w', '9n140w', '8n125w', '8n110w', '8n95w', $
+          '0n0e', '0n10w', '0n23w', '0n35w', '10s10w', '12n23w', '12n38w', '14s32w', '15n38w', '19s34w', '20n38w', $
+          '21n23w', '4n23w', '4n38w', '6s10w', '8n38w', '8s30w']
+
+
+nn=n_elements(sitelist)
+date1=19890101
+date2=20091231
+
+no_obs_lh=findgen(7670.)*0.
+no_obs_lw=findgen(7670.)*0.
+no_obs_sw=findgen(7670.)*0.
+
+for n=0, nn-1 do begin
+
+;; reading data from mooring
+
+    site=sitelist(n) & csite=site
+    print, csite
+    x=x_site_location(site)
+    y=y_site_location(site)
+    if (y ge 0. and y le 30.) then y=y+360.
+    dx=0.5 & dy=0.5 & box=[y-dy, y+dy, x-dx, x+dx]
+
+    nsmooth=1.
+    read_lh, csite,date1,date2,nsmooth, $
+                     lh
+
+    ind=where(finite(lh)) & lh(ind)=1.
+    ind=where(finite(lh,/nan)) & lh(ind)=0.
+    no_obs_lh=no_obs_lh+lh
+
+endfor
+
+sitelist=['5n165e','8s67e','12s55e', '8s55e', '8s80.5e', '0n80.5e', '1.5n80.5e', '1.5s90e', $
+           '0n90e', '1.5n90e', '4n90e','8n90e','12n90e', '15n90e', '5s95e', $
+           '8s165e', '8s125w', '8s110w', '8s95w',  '5s156e', '5s165e', '5s180w', '5s170w', $
+          '5s155w', '5s140w', '5s125w', '5s110w', '5s95w', '2s156e', '2s165e', '2s180w', '2s170w', '2s155w', '2s140w', $
+          '2s125w', '2s110w', '2s95w', '0n147e', '0n156e', '0n165e', '0n180w', '0n170w', '0n155w', '0n140w', '0n125w', $
+          '0n110w', '0n95w', '2n147e', '2n156e', '2n165e', '2n180w', '2n170w', '2n155w', '2n140w', '2n125w', '2n110w', $
+          '2n95w', '5n147e', '5n156e', '5n170w', '5n155w', '5n140w', '5n125w', '5n110w', '5n95w', $
+          '8n156e', '8n165e', '8n180w', '8n170w', '9n140w', '8n125w', '8n110w', '8n95w', $
+          '0n0e', '0n10w', '0n23w', '0n35w', '10s10w', '12n23w', '12n38w', '14s32w', '15n38w', '19s34w', '20n38w', $
+          '21n23w', '4n23w', '4n38w', '6s10w', '8n38w', '8s30w']
+
+nn=n_elements(sitelist)
+date1=date1
+date2=date2
+
+for n=0, nn-1 do begin
+
+;; reading data from mooring
+
+    site=sitelist(n) & csite=site
+    print, csite
+    x=x_site_location(site)
+    y=y_site_location(site)
+    if (y ge 0. and y le 30.) then y=y+360.
+    dx=0.5 & dy=0.5 & box=[y-dy, y+dy, x-dx, x+dx]
+
+    nsmooth=1.
+    read_sw, csite, date1, date2, box, $
+                           sw
+    swr=sw & ind=where(finite(swr)) & valid=n_elements(ind)
+    if (valid ge 10) then begin
+       ind=where(finite(sw)) & sw(ind)=1.
+       ind=where(finite(sw,/nan)) & sw(ind)=0.
+       no_obs_sw=no_obs_sw+sw
+    endif
+endfor
+help, no_obs_sw
+
+sitelist=['0n110w', '0n140w', '0n165e', '0n170w', '0n23w', '0n80.5e', '0n95w', '10s10w', '12n23w', '15n38w', $
+          '15n90e', '2n95w', '2s95w', '5n95w', '5s95w', '8n95w', '8s67e', '8s95w']
+
+nn=n_elements(sitelist)
+date1=date1
+date2=date2
+
+
+for n=0, nn-1 do begin
+
+;; reading data from mooring
+
+    site=sitelist(n) & csite=site
+    print, csite
+    x=x_site_location(site)
+    y=y_site_location(site)
+    if (y ge 0. and y le 30.) then y=y+360.
+    dx=0.5 & dy=0.5 & box=[y-dy, y+dy, x-dx, x+dx]
+
+    nsmooth=1.
+    read_lw, csite, date1, date2, box, $
+                           lw
+    lwr=lw & ind=where(finite(lwr)) & valid=n_elements(ind)
+    if (valid ge 10) then begin
+    
+       ind=where(finite(lw)) &  lw(ind)=1.
+       ind=where(finite(lw,/nan)) & lw(ind)=0.
+       no_obs_lw=no_obs_lw+lw
+    endif
+
+endfor
+
+help,no_obs_lw
+pltt, no_obs_lh, "t", small=[1,3,1],/rempl,0,80, $
+     title='No of valid observations for turbulent flux validation', charsize=1., $
+     ytitle="No. of observations",subtitle='black(turbulent), red(SWR), blue(LWR)'
+pltt, no_obs_sw, "t",/ov1d, color=250
+pltt, no_obs_lw, "t",/ov1d, color=50
+pltt, no_obs_lh, "t",/ov1d
+;------------------------------------------------------------
+closeps
+fig='fig2_timeline_diagram.ps'
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+;------------------------------------------------------------
+return
+end
+
+
+function x_site_location, site
+    n1=strpos(site, 's')
+if (n1 gt -1) then begin
+    ns=-1.
+    x=strmid(site, 0, n1)
+    x=float(x)*ns
+endif else begin
+    n1=strpos(site, 'n')
+    x=strmid(site, 0, n1)
+    ny=1.
+    x=float(x)*ny
+endelse
+return, float(x)
+end
+;--------------------------------------------------------------------------
+function y_site_location, site
+    n1=strpos(site, 'e')
+if (n1 gt -1) then begin
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+    endelse
+
+endif else begin
+    n1=strpos(site, 'w')
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+   endelse
+endelse
+return,float(y)
+end
+
+
+
Index: /trunk/src/paper01/fig2/read_lh.pro
===================================================================
--- /trunk/src/paper01/fig2/read_lh.pro	(revision 41)
+++ /trunk/src/paper01/fig2/read_lh.pro	(revision 41)
@@ -0,0 +1,81 @@
+;-------------------------------------------------------------------------------------------------
+pro read_lh, csite,date1,date2,nsmooth, $
+                      lh
+
+;
+;-------------------------------------------------------------------------------------------------
+@common
+
+dir='/Users/pkb/data/TPR/'
+;
+;; DEFINE THE OUTPUT TIME AXIS
+;
+jda1=date2jul(date1)
+jda2=date2jul(date2)
+jpt=(jda2-jda1+1l)
+time=jda1+dindgen(jpt)
+
+;
+;; FIRST READ ALL DATA FROM SITE
+;;   - if file exists, extract correct time axis
+;;   - if not, fill variable with missing values
+;
+
+
+;;LHF
+fi=dir+'qlat'+csite+'_dy.cdf'
+f=file_test(fi)
+lh=fltarr(jpt)+!values.f_nan
+lh_q=fltarr(jpt)+!values.f_nan
+if (f) then begin
+  tt0=time_lec(fi)
+  lh0=ncdf_lec(fi,var='QL_137')
+  lh_q0=ncdf_lec(fi,var='QQL_5137')
+  tt0=tt0-time(0)
+  ind=where((tt0 ge -1e-5) and (tt0 le jpt-1+1e-5))
+  if (ind(0) ne -1) then begin
+  lh(tt0(ind))=lh0(ind)
+  lh_q(tt0(ind))=lh_q0(ind)
+  endif
+endif
+
+ind=where(lh_q ne 1 and lh_q ne 2)
+
+
+if (ind(0) ne -1) then begin
+  lh(ind)=!Values.f_nan
+endif
+;
+;; Replace missing values by "NaN"
+;
+tsvars=['lh'] 
+vars=[tsvars]
+nn=n_elements(vars)
+for n=0,nn-1 do begin
+  var=vars(n)
+  com='ind=where('+var+' ge 1.e20) & if (ind(0) ne -1) then '+var+'(ind)=!values.f_nan'
+  r=execute(com)
+endfor
+
+nsmooth=nsmooth
+lh=smooth(lh,nsmooth,/nan) 
+
+;-------------------------------------------------------------------------------------------------
+end
+;-------------------------------------------------------------------------------------------------
+
+
+;-------------------------------------------------------------------------------------------------
+function time_lec, fi
+tt=ncdf_lec(fi,var='time')
+fid=ncdf_open(fi) & vid=ncdf_varid(fid,'time')
+ncdf_attget, fid,vid,'units',orig
+orig=string(orig)
+yy=long(strmid(orig,11,4))
+mm=long(strmid(orig,16,2))
+dd=long(strmid(orig,19,2))
+tt=julday(mm,dd,yy,12,00)+tt
+return, tt
+end
+
+;-------------------------------------------------------------------------------------------------
Index: /trunk/src/paper01/fig2/read_lw.pro
===================================================================
--- /trunk/src/paper01/fig2/read_lw.pro	(revision 41)
+++ /trunk/src/paper01/fig2/read_lw.pro	(revision 41)
@@ -0,0 +1,73 @@
+;-------------------------------------------------------------------------------------------------
+pro read_lw, csite,date1,date2,box, $
+                        lw
+;
+;-------------------------------------------------------------------------------------------------
+@common
+
+dir='/Users/pkb/data/TPR/'
+;
+;; DEFINE THE OUTPUT TIME AXIS
+;
+jda1=date2jul(date1)
+jda2=date2jul(date2)
+jpt=(jda2-jda1+1l)
+time=jda1+dindgen(jpt)
+
+;
+;; FIRST READ ALL DATA FROM SITE
+;;   - if file exists, extract correct time axis
+;;   - if not, fill variable with missing values
+;
+
+;; LWR
+fi=dir+'lwnet'+csite+'_dy.cdf'
+f=file_test(fi)
+lw=fltarr(jpt)+!values.f_nan
+if (f) then begin
+  tt0=time_lec(fi)
+  lw0=ncdf_lec(fi,var='LWN_1136')
+  tt0=tt0-time(0)
+  ind=where((tt0 ge -1e-5) and (tt0 le jpt-1+1e-5))
+  if (ind(0) ne -1) then begin
+    lw(tt0(ind))=lw0(ind)
+  endif
+endif
+
+
+;
+;; Replace missing values by "NaN"
+;
+;tsvars=['at','bf','bp','dyn','emp','evap','heat','iso','lw','lwnet','qlat','qsen','sw', $
+;        'swnet','rain','rf','rh','ssd','sss','sst','swnet','tx','ty','wu','wv','ws','lat','lon'] 
+;depvars=['u','v','d','t','s']
+vars=['lw']
+
+nn=n_elements(vars)
+for n=0,nn-1 do begin
+  var=vars(n)
+  com='ind=where('+var+' ge 1.e20) & if (ind(0) ne -1) then '+var+'(ind)=!values.f_nan'
+  r=execute(com)
+endfor
+
+nsmooth=nsmooth
+lw=smooth(lw,nsmooth,/nan)
+
+;-------------------------------------------------------------------------------------------------
+end
+;-------------------------------------------------------------------------------------------------
+
+
+;-------------------------------------------------------------------------------------------------
+function time_lec, fi
+tt=ncdf_lec(fi,var='time')
+fid=ncdf_open(fi) & vid=ncdf_varid(fid,'time')
+ncdf_attget, fid,vid,'units',orig
+orig=string(orig)
+yy=long(strmid(orig,11,4))
+mm=long(strmid(orig,16,2))
+dd=long(strmid(orig,19,2))
+tt=julday(mm,dd,yy,12,00)+tt
+return, tt
+end
+;-------------------------------------------------------------------------------------------------
Index: /trunk/src/paper01/fig2/read_sw.pro
===================================================================
--- /trunk/src/paper01/fig2/read_sw.pro	(revision 41)
+++ /trunk/src/paper01/fig2/read_sw.pro	(revision 41)
@@ -0,0 +1,80 @@
+;-------------------------------------------------------------------------------------------------
+pro read_sw, csite,date1,date2,box, $
+                        sw
+;
+;-------------------------------------------------------------------------------------------------
+@common
+
+dir='/Users/pkb/data/TPR/'
+
+;
+;; DEFINE THE OUTPUT TIME AXIS
+;
+jda1=date2jul(date1)
+jda2=date2jul(date2)
+jpt=(jda2-jda1+1l)
+time=jda1+dindgen(jpt)
+
+;
+;; FIRST READ ALL DATA FROM SITE
+;;   - if file exists, extract correct time axis
+;;   - if not, fill variable with missing values
+;
+
+;; SWR
+fi=dir+'swnet'+csite+'_dy.cdf'
+f=file_test(fi)
+sw=fltarr(jpt)+!values.f_nan    ;; swr
+sw_q=fltarr(jpt)+!values.f_nan  ;; swr quality flag
+
+if (f) then begin
+  tt0=time_lec(fi)
+  sw0=ncdf_lec(fi,var='SWN_1495')
+  sw_q0=ncdf_lec(fi,var='QSW_5495')
+  tt0=tt0-time(0)
+  ind=where((tt0 ge -1e-5) and (tt0 le jpt-1+1e-5))
+  if (ind(0) ne -1) then begin
+    sw(tt0(ind))=sw0(ind)
+    sw_q(tt0(ind))=sw_q0(ind)
+  endif
+endif
+
+ind1=where((sw_q ne 1) and (sw_q ne 2))
+sw(ind1)=!Values.f_nan
+
+
+;
+;; Replace missing values by "NaN"
+;
+;tsvars=['at','bf','bp','dyn','emp','evap','heat','iso','sw','swnet','qlat','qsen','sw', $
+;        'swnet','rain','rf','rh','ssd','sss','sst','swnet','tx','ty','wu','wv','ws','lat','lon'] 
+;depvars=['u','v','d','t','s']
+vars=['sw']
+
+nn=n_elements(vars)
+for n=0,nn-1 do begin
+  var=vars(n)
+  com='ind=where('+var+' ge 1.e20) & if (ind(0) ne -1) then '+var+'(ind)=!values.f_nan'
+  r=execute(com)
+endfor
+end
+
+nsmooth=nsmooth
+sw=smooth(sw,nsmooth,/nan)
+
+;-------------------------------------------------------------------------------------------------
+
+
+;-------------------------------------------------------------------------------------------------
+function time_lec, fi
+tt=ncdf_lec(fi,var='time')
+fid=ncdf_open(fi) & vid=ncdf_varid(fid,'time')
+ncdf_attget, fid,vid,'units',orig
+orig=string(orig)
+yy=long(strmid(orig,11,4))
+mm=long(strmid(orig,16,2))
+dd=long(strmid(orig,19,2))
+tt=julday(mm,dd,yy,12,00)+tt
+return, tt
+end
+;-------------------------------------------------------------------------------------------------
Index: /trunk/src/paper01/fig3/air_validation_scatter_2000_2009_v50.pro
===================================================================
--- /trunk/src/paper01/fig3/air_validation_scatter_2000_2009_v50.pro	(revision 41)
+++ /trunk/src/paper01/fig3/air_validation_scatter_2000_2009_v50.pro	(revision 41)
@@ -0,0 +1,347 @@
+;------------------------------------------------------------
+pro air_validation_scatter_2000_2009_v50,date1,date2
+@common
+;------------------------------------------------------------
+
+reinitplt, /z,/invert
+key_portrait = 1
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+;; Before running this program, you have to compile the following subrutines
+;;   1.  .r read_era_total
+;;   2.  .r read_variables_v2
+;;   3.  .r read_era_box
+
+;; Give the location of mooring for validation of basic meteorological variables
+
+
+sitelist=['8s67e','12s55e', '8s55e', '8s80.5e', '1.5s80.5e', '0n80.5e', '1.5n80.5e', '1.5s90e', $
+           '0n90e', '1.5n90e', '4n90e','8n90e','12n90e', '15n90e', '5s95e', $
+           '8s165e', '8s180w',  '8s155w', '8s125w', '8s110w', '8s95w',  '5s156e', '5s165e', '5s180w', '5s170w', $
+          '5s155w', '5s140w', '5s125w', '5s110w', '5s95w', '2s156e', '2s165e', '2s180w', '2s170w', '2s155w', '2s140w', $
+          '2s125w', '2s110w', '2s95w', '0n147e', '0n156e', '0n165e', '0n180w', '0n170w', '0n155w', '0n140w', '0n125w', $
+          '0n110w', '0n95w', '2n147e', '2n156e', '2n165e', '2n180w', '2n170w', '2n155w', '2n140w', '2n125w', '2n110w', $
+          '2n95w', '5n147e', '5n156e', '5n165e', '5n170w', '5n155w', '5n140w', '5n125w', '5n110w', '5n95w', $
+          '8n156e', '8n165e', '8n180w', '8n170w', '9n140w', '8n125w', '8n110w', '8n95w', $
+          '0n0e', '0n10w', '0n23w', '0n35w', '10s10w', '12n23w', '12n38w', '14s32w', '15n38w', '19s34w', '20n38w', $
+          '21n23w', '4n23w', '4n38w', '6s10w', '8n38w', '8s30w']
+
+ocean='global'
+
+nsmooth=1.    ;; statistics are with 7 day smoothed
+;------------------------------------------------------------------------------------------------------------------------
+;;   This program will create the following text files with statistics of respective variables
+;------------------------------------------------------------------------------------------------------------------------
+close,/all
+
+fi_air_erai='/Users/pkb/work/MY_SAXO/flux_automat/air_2000_2009_erai_v50.txt'
+openw,1,fi_air_erai
+fi_air_trop='/Users/pkb/work/MY_SAXO/flux_automat/air_2000_2009_trop_v50.txt'
+openw,2,fi_air_trop
+fi_air_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/air_2000_2009_oaflx_v50.txt'
+openw,3,fi_air_oaflx
+fi_air_ncep2='/Users/pkb/work/MY_SAXO/flux_automat/air_2000_2009_ncep2_v50.txt'
+openw,4,fi_air_ncep2
+fi_air_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/air_2000_2009_ncep1_v50.txt'
+openw,5,fi_air_ncep1
+
+
+printf,1, 'x     y      cor    bias     std     rmsd    mean_tao'
+printf,2, 'x     y      cor    bias     std     rmsd    mean_tao'
+printf,3, 'x     y      cor    bias     std     rmsd    mean_tao'
+printf,4, 'x     y      cor    bias     std     rmsd    mean_tao'
+printf,5, 'x     y      cor    bias     std     rmsd    mean_tao'
+
+;------------------------------------------------------------------------------------------------------------------------
+;; first reading the whole ERAI uncorrected and corrected data
+
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_t2m_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+unc=read_ncdf('t2m',date1,date2,file=file,/nostr) & unc=unc-273.15 
+help, unc
+
+;file='/Volumes/Iomega_HDD/TropFlux/input_cor/full_cor/TropFlux_t2m_19890101_20091231_v3.nc'
+file='/Users/pkb/data/TropFlux/TropFlux_t2m_19890101_20091231_v50.nc'
+initncdf, file
+cor=read_ncdf('t2m',date1,date2,file=file,/nostr) & cor=cor-273.15
+help, cor
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/OAFlux_basic_variables_1985_2009.nc'
+initncdf, file
+oaf=read_ncdf("air", date1, date2, file=file,/nostr)
+help, oaf
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/air_2m_ncep2_oafluxgrid_19890101_20091231.nc'
+initncdf, fi
+nce=read_ncdf("air", date1-1, date2, file=fi,/nostr) 
+nce=nce-273.15
+help, nce
+
+file='/Volumes/Iomega_HDD/flux_reconstruction/ncep/t2m_ncep1_19890101_20091231.nc'
+initncdf, file
+nce1=read_ncdf("t2m", date1, date2, file=file,/nostr) 
+nce1=nce1-273.15
+help, nce1
+
+;------------------------------------------------------------------------------------------------------------------------
+nn=n_elements(sitelist)
+date1=date1
+date2=date2
+for n=0, nn-1 do begin
+
+;; reading data from mooring
+
+    site=sitelist(n) & csite=site
+    print, csite
+    x=x_site_location(site)
+    y=y_site_location(site)
+    if (y ge 0. and y le 30.) then y=y+360.
+    dx=0.5 & dy=0.5 & box=[y-dy, y+dy, x-dx, x+dx]
+    read_variables_v2, csite,date1,date2,nsmooth, $
+         at, sw,rh,sst,wu,wv,ws,lh
+
+
+;    air=rh_to_sphum(rh,at,1008)               ;;        at  ->  air temperature
+    air=at                                               ;;        air ->  sea surface temperature
+                                                ;;        lh  ->  latent heat flux
+                                                ;;        rh  ->  relative humidity
+                                                ;;   wu,wv,ws ->  wind speed    
+;;    
+
+
+;;  extracting the corrected and uncorrected ERAI data at the locations
+    nsmooth=1.
+
+    extract_flux_tropflux,unc,box, $
+        tropflux
+    uncr=tropflux
+
+     extract_flux_tropflux,cor,box, $  
+        tropflux
+     corr=tropflux
+    
+     extract_flux_tropflux,oaf,box, $
+        tropflux
+     oafl=tropflux
+
+     extract_flux_tropflux,nce,box, $
+        tropflux
+     ncep=tropflux
+
+     extract_flux_tropflux,nce1,box, $
+        tropflux
+     ncep1=tropflux
+
+
+    ind=where(finite(air)) & air=air(ind) & uncr_air=uncr(ind)  & corr_air=corr(ind) 
+    oafl=oafl(ind) & ncep=ncep(ind) & ncep1=ncep1(ind)
+    mean_tao=total(air,/nan)/n_elements(ind)
+     
+    statistics_3var_v1, air, uncr_air, corr_air, $
+         cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+ 
+    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)'
+    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)'
+
+    statistics_3var_v1, air, oafl, ncep, $
+         cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+    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)'
+    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)'
+
+    statistics_3var_v1, air, ncep1, ncep, $
+         cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+    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)'
+
+endfor
+;-----------------------------------------------------------------------------------------
+close,/all  
+
+fi_air_erai='/Users/pkb/work/MY_SAXO/flux_automat/air_2000_2009_erai_v50.txt'
+res=read_ascii(fi_air_erai,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_era=reform(ff(2,*))   & cor_erai=total(cor_era)/n_elements(cor_era)
+bias_era=reform(ff(3,*))  & bias_erai=total(bias_era)/n_elements(bias_era)
+std_era=reform(ff(4,*))   & std_erai=total(std_era)/n_elements(std_era)
+rmsd_era=reform(ff(5,*))  & rmsd_erai=total(rmsd_era)/n_elements(rmsd_era)
+mean_tao=reform(ff(6,*))  & mean_erai=bias_era+mean_tao
+
+print, ''
+print, 'ERAI'
+print, cor_erai, bias_erai, std_erai, rmsd_erai
+cstat=string(cor_erai, bias_erai, std_erai, rmsd_erai, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+splot, mean_tao, mean_erai, title='T2m - TAO Vs ERAI', subtitle='', $
+     charsize=1.1, xtitle='TAO T2m', ytitle='ERAI T2m', small=[2,3,1], psym=2, $
+     xrange=[22,31], yrange=[22,31], xmin=1,ymin=1
+xyouts, 22.3,30.2, cstat, charsize=0.9
+xyouts, 22.3,29.5, 'cor   bias   std   rmsd', charsize=0.9
+
+oplot, [22,31], [22,31]
+ab=linfit(mean_tao, mean_erai,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+fi_air_trop='/Users/pkb/work/MY_SAXO/flux_automat/air_2000_2009_trop_v50.txt'
+res=read_ascii(fi_air_trop,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_tro=reform(ff(2,*))   & cor_trop=total(cor_tro)/n_elements(cor_tro)
+bias_tro=reform(ff(3,*))  & bias_trop=total(bias_tro)/n_elements(bias_tro)
+std_tro=reform(ff(4,*))   & std_trop=total(std_tro)/n_elements(std_tro)
+rmsd_tro=reform(ff(5,*))  & rmsd_trop=total(rmsd_tro)/n_elements(rmsd_tro)
+mean_tao=reform(ff(6,*))  & mean_trop=bias_tro+mean_tao
+
+print, ''
+print, 'TropFlux'
+print, cor_trop, bias_trop, std_trop, rmsd_trop
+cstat=string(cor_trop, bias_trop, std_trop, rmsd_trop, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_trop, title='T2m - TAO Vs TropFlux', subtitle='', $
+     charsize=1.1, xtitle='TAO T2m', ytitle='TropFlux T2m', small=[2,3,2],/noer, psym=2, $
+     xrange=[22,31], yrange=[22,31], xmin=1,ymin=1
+oplot, [22,31], [22,31]
+xyouts, 22.3,30.2, cstat, charsize=0.9
+xyouts, 22.3,29.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_trop,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+fi_air_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/air_2000_2009_oaflx_v50.txt'
+res=read_ascii(fi_air_oaflx,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_oaf=reform(ff(2,*))   & cor_oafl=total(cor_oaf)/n_elements(cor_oaf)
+bias_oaf=reform(ff(3,*))  & bias_oafl=total(bias_oaf)/n_elements(bias_oaf)
+std_oaf=reform(ff(4,*))   & std_oafl=total(std_oaf)/n_elements(std_oaf)
+rmsd_oaf=reform(ff(5,*))  & rmsd_oafl=total(rmsd_oaf)/n_elements(rmsd_oaf)
+mean_tao=reform(ff(6,*))  & mean_oafl=bias_oaf+mean_tao
+
+print, ''
+print, 'OAFlux'
+print, cor_oafl, bias_oafl, std_oafl, rmsd_oafl
+cstat=string(cor_oafl, bias_oafl, std_oafl, rmsd_oafl, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_oafl, title='T2m - TAO Vs OAFlux', subtitle='', $
+     charsize=1.1, xtitle='TAO T2m', ytitle='OAFlux T2m', small=[2,3,3],/noer, psym=2, $
+     xrange=[22,31], yrange=[22,31], xmin=1,ymin=1
+oplot, [22,31], [22,31]
+xyouts, 22.3,30.2, cstat, charsize=0.9
+xyouts, 22.3,29.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_oafl,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+
+
+fi_air_ncep='/Users/pkb/work/MY_SAXO/flux_automat/air_2000_2009_ncep_v50.txt'
+res=read_ascii(fi_air_ncep,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_nce=reform(ff(2,*))   & cor_ncep=total(cor_nce)/n_elements(cor_nce)
+bias_nce=reform(ff(3,*))  & bias_ncep=total(bias_nce)/n_elements(bias_nce)
+std_nce=reform(ff(4,*))   & std_ncep=total(std_nce)/n_elements(std_nce)
+rmsd_nce=reform(ff(5,*))  & rmsd_ncep=total(rmsd_nce)/n_elements(rmsd_nce)
+mean_tao=reform(ff(6,*))  & mean_ncep=bias_nce+mean_tao
+
+print, ''
+print, 'NCEP2'
+print, cor_ncep, bias_ncep, std_ncep, rmsd_ncep
+cstat=string(cor_ncep, bias_ncep, std_ncep, rmsd_ncep, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_ncep, title='T2m - TAO Vs NCEP2', subtitle='', $
+     charsize=1.1, xtitle='TAO T2m', ytitle='NCEP2 T2m', small=[2,3,4],/noer, psym=2, $
+     xrange=[22,31], yrange=[22,31], xmin=1,ymin=1
+oplot, [22,31], [22,31]
+xyouts, 22.3,30.2, cstat, charsize=0.9
+xyouts, 22.3,29.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_ncep,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+fi_air_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/air_2000_2009_ncep1_v50.txt'
+res=read_ascii(fi_air_ncep1,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_nce=reform(ff(2,*))   & cor_ncep=total(cor_nce)/n_elements(cor_nce)
+bias_nce=reform(ff(3,*))  & bias_ncep=total(bias_nce)/n_elements(bias_nce)
+std_nce=reform(ff(4,*))   & std_ncep=total(std_nce)/n_elements(std_nce)
+rmsd_nce=reform(ff(5,*))  & rmsd_ncep=total(rmsd_nce)/n_elements(rmsd_nce)
+mean_tao=reform(ff(6,*))  & mean_ncep=bias_nce+mean_tao
+
+print, ''
+print, 'NCEP1'
+print, cor_ncep, bias_ncep, std_ncep, rmsd_ncep
+cstat=string(cor_ncep, bias_ncep, std_ncep, rmsd_ncep, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_ncep, title='T2m - TAO Vs NCEP_NCAR', subtitle='', $
+     charsize=1.1, xtitle='TAO T2m', ytitle='NCEP', small=[2,3,5],/noer, psym=2, $
+     xrange=[22,31], yrange=[22,31], xmin=1,ymin=1
+oplot, [22,31], [22,31]
+xyouts, 22.3,30.2, cstat, charsize=0.9
+xyouts, 22.3,29.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_ncep,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+;-----------------------------------------------------------
+closeps
+
+fig='air_validation_scatter_2000_2009_v50.ps'
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+return
+end
+;--------------------------------------------------------------------------
+function x_site_location, site
+    n1=strpos(site, 's')
+if (n1 gt -1) then begin
+    ns=-1.
+    x=strmid(site, 0, n1)
+    x=float(x)*ns
+endif else begin
+    n1=strpos(site, 'n')
+    x=strmid(site, 0, n1)
+    ny=1.
+    x=float(x)*ny
+endelse
+return, float(x)
+end
+;--------------------------------------------------------------------------
+function y_site_location, site
+    n1=strpos(site, 'e')
+if (n1 gt -1) then begin
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+    endelse
+
+endif else begin
+    n1=strpos(site, 'w')
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+   endelse
+endelse
+return,float(y)
+end
+
+;--------------------------------------------------------------------------
+
Index: /trunk/src/paper01/fig3/q2m_validation_scatter_2000_2009_v50.pro
===================================================================
--- /trunk/src/paper01/fig3/q2m_validation_scatter_2000_2009_v50.pro	(revision 41)
+++ /trunk/src/paper01/fig3/q2m_validation_scatter_2000_2009_v50.pro	(revision 41)
@@ -0,0 +1,344 @@
+;------------------------------------------------------------
+pro q2m_validation_scatter_2000_2009_v50,date1,date2
+@common
+;------------------------------------------------------------
+
+reinitplt, /z,/invert
+key_portrait = 1
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+;; Before running this program, you have to compile the following subrutines
+;;   1.  .r read_era_total
+;;   2.  .r read_variables_v2
+;;   3.  .r read_era_box
+
+;; Give the location of mooring for validation of basic meteorological variables
+
+
+sitelist=['8s67e','12s55e', '8s55e', '8s80.5e', '1.5s80.5e', '0n80.5e', '1.5n80.5e', '1.5s90e', $
+           '0n90e', '1.5n90e', '4n90e','8n90e','12n90e', '15n90e', '5s95e', $
+           '8s165e', '8s180w',  '8s155w', '8s125w', '8s110w', '8s95w',  '5s156e', '5s165e', '5s180w', '5s170w', $
+          '5s155w', '5s140w', '5s125w', '5s110w', '5s95w', '2s156e', '2s165e', '2s180w', '2s170w', '2s155w', '2s140w', $
+          '2s125w', '2s110w', '2s95w', '0n147e', '0n156e', '0n165e', '0n180w', '0n170w', '0n155w', '0n140w', '0n125w', $
+          '0n110w', '0n95w', '2n147e', '2n156e', '2n165e', '2n180w', '2n170w', '2n155w', '2n140w', '2n125w', '2n110w', $
+          '2n95w', '5n147e', '5n156e', '5n165e', '5n170w', '5n155w', '5n140w', '5n125w', '5n110w', '5n95w', $
+          '8n156e', '8n165e', '8n180w', '8n170w', '9n140w', '8n125w', '8n110w', '8n95w', $
+          '0n0e', '0n10w', '0n23w', '0n35w', '10s10w', '12n23w', '12n38w', '14s32w', '15n38w', '19s34w', '20n38w', $
+          '21n23w', '4n23w', '4n38w', '6s10w', '8n38w', '8s30w']
+
+ocean='global'
+
+nsmooth=1.    ;; statistics are with 7 day smoothed
+;------------------------------------------------------------------------------------------------------------------------
+;;   This program will create the following text files with statistics of respective variables
+;------------------------------------------------------------------------------------------------------------------------
+close,/all
+
+fi_q2m_erai='/Users/pkb/work/MY_SAXO/flux_automat/q2m_2000_2009_erai_v50.txt'
+openw,1,fi_q2m_erai
+fi_q2m_trop='/Users/pkb/work/MY_SAXO/flux_automat/q2m_2000_2009_trop_v50.txt'
+openw,2,fi_q2m_trop
+fi_q2m_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/q2m_2000_2009_oaflx_v50.txt'
+openw,3,fi_q2m_oaflx
+fi_q2m_ncep='/Users/pkb/work/MY_SAXO/flux_automat/q2m_2000_2009_ncep_v50.txt'
+openw,4,fi_q2m_ncep
+fi_q2m_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/q2m_2000_2009_ncep1_v50.txt'
+openw,5,fi_q2m_ncep1
+
+
+printf,1, 'x     y      cor    bias     std     rmsd    mean_tao'
+printf,2, 'x     y      cor    bias     std     rmsd    mean_tao'
+printf,3, 'x     y      cor    bias     std     rmsd    mean_tao'
+printf,4, 'x     y      cor    bias     std     rmsd    mean_tao'
+printf,5, 'x     y      cor    bias     std     rmsd    mean_tao'
+
+;------------------------------------------------------------------------------------------------------------------------
+;; first reading the whole ERAI uncorrected and corrected data
+
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_q2m_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+unc=read_ncdf('q2m',date1,date2,file=file,/nostr)
+help, unc
+
+file='/Volumes/Iomega_HDD/TropFlux/input_cor/full_cor/TropFlux_q2m_19890101_20091231_v20.nc'
+initncdf, file
+cor=read_ncdf('q2m',date1,date2,file=file,/nostr) 
+help, cor
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/OAFlux_basic_variables_1985_2009.nc'
+initncdf, file
+oaf=read_ncdf("sphum", date1, date2, file=file,/nostr)
+help, oaf
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/sphum_ncep2_oafluxgrid_19890101_20091231.nc'
+initncdf, fi
+nce=read_ncdf("shum", date1-1, date2, file=fi,/nostr) 
+nce=nce*1000
+help, nce
+
+file='/Volumes/Iomega_HDD/flux_reconstruction/ncep/q2m_ncep1_19890101_20091231.nc'
+initncdf, file
+nce1=read_ncdf("q2m", date1, date2, file=file,/nostr)
+nce1=nce1*1000
+help, nce1
+
+;------------------------------------------------------------------------------------------------------------------------
+nn=n_elements(sitelist)
+date1=date1
+date2=date2
+for n=0, nn-1 do begin
+
+;; reading data from mooring
+
+    site=sitelist(n) & csite=site
+    print, csite
+    x=x_site_location(site)
+    y=y_site_location(site)
+    if (y ge 0. and y le 30.) then y=y+360.
+    dx=0.5 & dy=0.5 & box=[y-dy, y+dy, x-dx, x+dx]
+    read_variables_v2, csite,date1,date2,nsmooth, $
+         at, sw,rh,sst,wu,wv,ws,lh
+
+
+    q2m=rh_to_sphum(rh,at,1008)               ;;        at  ->  q2m temperature
+;    q2m=at                                               ;;        q2m ->  sea surface temperature
+                                                ;;        lh  ->  latent heat flux
+                                                ;;        rh  ->  relative humidity
+                                                ;;   wu,wv,ws ->  wind speed    
+;;    
+
+
+;;  extracting the corrected and uncorrected ERAI data at the locations
+    nsmooth=1.
+
+    extract_flux_tropflux,unc,box, $
+        tropflux
+    uncr=tropflux
+
+     extract_flux_tropflux,cor,box, $  
+        tropflux
+     corr=tropflux
+    
+     extract_flux_tropflux,oaf,box, $
+        tropflux
+     oafl=tropflux
+
+     extract_flux_tropflux,nce,box, $
+        tropflux
+     ncep=tropflux
+
+     extract_flux_tropflux,nce1,box, $
+        tropflux
+     ncep1=tropflux
+
+    ind=where(finite(q2m)) & q2m=q2m(ind) & uncr_q2m=uncr(ind)  & corr_q2m=corr(ind) 
+    oafl=oafl(ind) & ncep=ncep(ind) & ncep1=ncep1(ind) 
+    mean_tao=total(q2m,/nan)/n_elements(ind)
+     
+    statistics_3var_v1, q2m, uncr_q2m, corr_q2m, $
+         cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+ 
+    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)'
+    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)'
+
+    statistics_3var_v1, q2m, oafl, ncep, $
+         cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+    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)'
+    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)'
+
+    statistics_3var_v1, q2m, ncep1, ncep, $
+         cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+    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)'
+
+endfor
+;-----------------------------------------------------------------------------------------
+close,/all  
+
+fi_q2m_erai='/Users/pkb/work/MY_SAXO/flux_automat/q2m_2000_2009_erai_v50.txt'
+res=read_ascii(fi_q2m_erai,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_era=reform(ff(2,*))   & cor_erai=total(cor_era)/n_elements(cor_era)
+bias_era=reform(ff(3,*))  & bias_erai=total(bias_era)/n_elements(bias_era)
+std_era=reform(ff(4,*))   & std_erai=total(std_era)/n_elements(std_era)
+rmsd_era=reform(ff(5,*))  & rmsd_erai=total(rmsd_era)/n_elements(rmsd_era)
+mean_tao=reform(ff(6,*))  & mean_erai=bias_era+mean_tao
+
+print, ''
+print, 'ERAI'
+print, cor_erai, bias_erai, std_erai, rmsd_erai
+cstat=string(cor_erai, bias_erai, std_erai, rmsd_erai, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+splot, mean_tao, mean_erai, title='Q2m - TAO Vs ERAI', subtitle='', $
+     charsize=1.1, xtitle='TAO Q2m', ytitle='ERAI Q2m', small=[2,3,1], psym=2, $
+     xrange=[11,21], yrange=[11,21], xmin=1,ymin=1
+xyouts, 12,20.2, cstat, charsize=0.9
+xyouts, 12,19.7, 'cor   bias   std   rmsd', charsize=0.9
+
+oplot, [11,21], [11,21]
+ab=linfit(mean_tao, mean_erai,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+fi_q2m_trop='/Users/pkb/work/MY_SAXO/flux_automat/q2m_2000_2009_trop_v50.txt'
+res=read_ascii(fi_q2m_trop,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_tro=reform(ff(2,*))   & cor_trop=total(cor_tro)/n_elements(cor_tro)
+bias_tro=reform(ff(3,*))  & bias_trop=total(bias_tro)/n_elements(bias_tro)
+std_tro=reform(ff(4,*))   & std_trop=total(std_tro)/n_elements(std_tro)
+rmsd_tro=reform(ff(5,*))  & rmsd_trop=total(rmsd_tro)/n_elements(rmsd_tro)
+mean_tao=reform(ff(6,*))  & mean_trop=bias_tro+mean_tao
+
+print, ''
+print, 'TropFlux'
+print, cor_trop, bias_trop, std_trop, rmsd_trop
+cstat=string(cor_trop, bias_trop, std_trop, rmsd_trop, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_trop, title='Q2m - TAO Vs TropFlux', subtitle='', $
+     charsize=1.1, xtitle='TAO Q2m', ytitle='TropFlux Q2m', small=[2,3,2],/noer, psym=2, $
+     xrange=[11,21], yrange=[11,21], xmin=1,ymin=1
+oplot, [11,21], [11,21]
+xyouts, 12,20.2, cstat, charsize=0.9
+xyouts, 12,19.7, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_trop,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+fi_q2m_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/q2m_2000_2009_oaflx_v50.txt'
+res=read_ascii(fi_q2m_oaflx,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_oaf=reform(ff(2,*))   & cor_oafl=total(cor_oaf)/n_elements(cor_oaf)
+bias_oaf=reform(ff(3,*))  & bias_oafl=total(bias_oaf)/n_elements(bias_oaf)
+std_oaf=reform(ff(4,*))   & std_oafl=total(std_oaf)/n_elements(std_oaf)
+rmsd_oaf=reform(ff(5,*))  & rmsd_oafl=total(rmsd_oaf)/n_elements(rmsd_oaf)
+mean_tao=reform(ff(6,*))  & mean_oafl=bias_oaf+mean_tao
+
+print, ''
+print, 'OAFlux'
+print, cor_oafl, bias_oafl, std_oafl, rmsd_oafl
+cstat=string(cor_oafl, bias_oafl, std_oafl, rmsd_oafl, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_oafl, title='Q2m - TAO Vs OAFlux', subtitle='', $
+     charsize=1.1, xtitle='TAO Q2m', ytitle='OAFlux Q2m', small=[2,3,3],/noer, psym=2, $
+     xrange=[11,21], yrange=[11,21], xmin=1,ymin=1
+oplot, [11,21], [11,21]
+xyouts, 12,20.2, cstat, charsize=0.9
+xyouts, 12,19.7, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_oafl,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+
+fi_q2m_ncep='/Users/pkb/work/MY_SAXO/flux_automat/q2m_2000_2009_ncep_v50.txt'
+res=read_ascii(fi_q2m_ncep,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_nce=reform(ff(2,*))   & cor_ncep=total(cor_nce)/n_elements(cor_nce)
+bias_nce=reform(ff(3,*))  & bias_ncep=total(bias_nce)/n_elements(bias_nce)
+std_nce=reform(ff(4,*))   & std_ncep=total(std_nce)/n_elements(std_nce)
+rmsd_nce=reform(ff(5,*))  & rmsd_ncep=total(rmsd_nce)/n_elements(rmsd_nce)
+mean_tao=reform(ff(6,*))  & mean_ncep=bias_nce+mean_tao
+
+print, ''
+print, 'NCEP2'
+print, cor_ncep, bias_ncep, std_ncep, rmsd_ncep
+cstat=string(cor_ncep, bias_ncep, std_ncep, rmsd_ncep, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_ncep, title='Q2m - TAO Vs NCEP2', subtitle='', $
+     charsize=1.1, xtitle='TAO Q2m', ytitle='NCEP2 Q2m', small=[2,3,4],/noer, psym=2, $
+     xrange=[11,21], yrange=[11,21], xmin=1,ymin=1
+oplot, [11,21], [11,21]
+xyouts, 12,20.2, cstat, charsize=0.9
+xyouts, 12,19.7, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_ncep,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+fi_q2m_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/q2m_2000_2009_ncep1_v50.txt'
+res=read_ascii(fi_q2m_ncep1,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_nce=reform(ff(2,*))   & cor_ncep=total(cor_nce)/n_elements(cor_nce)
+bias_nce=reform(ff(3,*))  & bias_ncep=total(bias_nce)/n_elements(bias_nce)
+std_nce=reform(ff(4,*))   & std_ncep=total(std_nce)/n_elements(std_nce)
+rmsd_nce=reform(ff(5,*))  & rmsd_ncep=total(rmsd_nce)/n_elements(rmsd_nce)
+mean_tao=reform(ff(6,*))  & mean_ncep=bias_nce+mean_tao
+
+print, ''
+print, 'NCEP1'
+print, cor_ncep, bias_ncep, std_ncep, rmsd_ncep
+cstat=string(cor_ncep, bias_ncep, std_ncep, rmsd_ncep, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_ncep, title='Q2m - TAO Vs NCEP', subtitle='', $
+     charsize=1.1, xtitle='TAO Q2m', ytitle='NCEP1 Q2m', small=[2,3,5],/noer, psym=2, $
+     xrange=[11,21], yrange=[11,21], xmin=1,ymin=1
+oplot, [11,21], [11,21]
+xyouts, 12,20.2, cstat, charsize=0.9
+xyouts, 12,19.7, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_ncep,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+;-----------------------------------------------------------
+closeps
+
+fig='q2m_validation_scatter_2000_2009_v50.ps'
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+return
+end
+;--------------------------------------------------------------------------
+function x_site_location, site
+    n1=strpos(site, 's')
+if (n1 gt -1) then begin
+    ns=-1.
+    x=strmid(site, 0, n1)
+    x=float(x)*ns
+endif else begin
+    n1=strpos(site, 'n')
+    x=strmid(site, 0, n1)
+    ny=1.
+    x=float(x)*ny
+endelse
+return, float(x)
+end
+;--------------------------------------------------------------------------
+function y_site_location, site
+    n1=strpos(site, 'e')
+if (n1 gt -1) then begin
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+    endelse
+
+endif else begin
+    n1=strpos(site, 'w')
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+   endelse
+endelse
+return,float(y)
+end
+
+;--------------------------------------------------------------------------
+
Index: /trunk/src/paper01/fig3/read_variables_v2.pro
===================================================================
--- /trunk/src/paper01/fig3/read_variables_v2.pro	(revision 41)
+++ /trunk/src/paper01/fig3/read_variables_v2.pro	(revision 41)
@@ -0,0 +1,170 @@
+;-------------------------------------------------------------------------------------------------
+pro read_variables_v2, csite,date1,date2,nsmooth, $
+                     at, sw,rh,sst,wu,wv,ws, lh
+
+;
+;-------------------------------------------------------------------------------------------------
+@common
+
+dir='/Volumes/Iomega_HDD/work/flux_reconstruction/mooriing_all/'
+;
+;; DEFINE THE OUTPUT TIME AXIS
+;
+jda1=date2jul(date1)
+jda2=date2jul(date2)
+jpt=(jda2-jda1+1l)
+time=jda1+dindgen(jpt)
+
+;
+;; FIRST READ ALL DATA FROM SITE
+;;   - if file exists, extract correct time axis
+;;   - if not, fill variable with missing values
+;
+
+
+;;SHORTWAVE
+fi=dir+'rad'+csite+'_dy.cdf'
+f=file_test(fi)
+sw=fltarr(jpt)+!values.f_nan
+sw_q=fltarr(jpt)+!values.f_nan
+;tt=fltarr(jpt)+!values.f_nan
+if (f) then begin
+  tt0=time_lec(fi)
+  sw0=ncdf_lec(fi,var='RD_495')
+  sw_q0=ncdf_lec(fi,var='QSW_5495')
+  tt0=tt0-time(0)
+  ind=where((tt0 ge -1e-5) and (tt0 le jpt-1+1e-5))
+  if (ind(0) ne -1) then begin
+  sw(tt0(ind))=sw0(ind)
+  sw_q(tt0(ind))=sw_q0(ind)
+  endif
+endif
+
+ind_sw=where(sw_q ne 1. and sw_q ne 2.)
+
+;;LHF
+fi=dir+'qlat'+csite+'_dy.cdf'
+f=file_test(fi)
+lh=fltarr(jpt)+!values.f_nan
+lh_q=fltarr(jpt)+!values.f_nan
+if (f) then begin
+  tt0=time_lec(fi)
+  lh0=ncdf_lec(fi,var='QL_137')
+  lh_q0=ncdf_lec(fi,var='QQL_5137')
+  tt0=tt0-time(0)
+  ind=where((tt0 ge -1e-5) and (tt0 le jpt-1+1e-5))
+  if (ind(0) ne -1) then begin
+  lh(tt0(ind))=lh0(ind)
+  lh_q(tt0(ind))=lh_q0(ind)
+  endif
+endif
+
+;;POSITION
+fi=dir+'pos'+csite+'_dy.cdf'
+f=file_test(fi)
+lat=fltarr(jpt)+!values.f_nan
+lon=fltarr(jpt)+!values.f_nan
+if (f) then begin
+  tt0=time_lec(fi)
+  lat0=ncdf_lec(fi,var='LAT_500')
+  lon0=ncdf_lec(fi,var='LON_502')
+  tt0=tt0-time(0)
+  ind=where((tt0 ge -1e-5) and (tt0 le jpt-1+1e-5))
+  if (ind(0) ne -1) then begin
+    lat(tt0(ind))=lat0(ind)
+    lon(tt0(ind))=lon0(ind)
+  endif
+endif 
+
+
+;;MET PARAMETERS
+fi=dir+'met'+csite+'_dy.cdf'
+f=file_test(fi)
+wu=fltarr(jpt)+!values.f_nan
+wv=fltarr(jpt)+!values.f_nan
+ws=fltarr(jpt)+!values.f_nan
+ws_q=fltarr(jpt)+!values.f_nan
+at=fltarr(jpt)+!values.f_nan
+at_q=fltarr(jpt)+!values.f_nan
+rh=fltarr(jpt)+!values.f_nan
+rh_q=fltarr(jpt)+!values.f_nan
+sst=fltarr(jpt)+!values.f_nan
+sst_q=fltarr(jpt)+!values.f_nan
+
+if (f) then begin
+  tt0=time_lec(fi)
+  wu0=ncdf_lec(fi,var='WU_422')
+  wv0=ncdf_lec(fi,var='WV_423')
+  ws0=ncdf_lec(fi,var='WS_401')
+  ws_q0=ncdf_lec(fi,var='QWS_5401')
+  at0=ncdf_lec(fi,var='AT_21')
+  at_q0=ncdf_lec(fi,var='QAT_5021')
+  rh0=ncdf_lec(fi,var='RH_910')
+  rh_q0=ncdf_lec(fi,var='QRH_5910')
+  sst0=ncdf_lec(fi,var='T_25')
+  sst_q0=ncdf_lec(fi,var='QT_5025')
+  tt0=tt0-time(0)
+  ind=where((tt0 ge -1e-5) and (tt0 le jpt-1+1e-5))
+  if (ind(0) ne -1) then begin
+    wu(tt0(ind))=wu0(ind)
+    wv(tt0(ind))=wv0(ind)
+    ws(tt0(ind))=ws0(ind)
+    ws_q(tt0(ind))=ws_q0(ind)
+    at(tt0(ind))=at0(ind)
+    at_q(tt0(ind))=at_q0(ind)
+    rh(tt0(ind))=rh0(ind)
+    rh_q(tt0(ind))=rh_q0(ind)
+    sst(tt0(ind))=sst0(ind)
+    sst_q(tt0(ind))=sst_q0(ind)
+  endif
+endif
+
+ind_at=where(at_q ne 1 and at_q ne 2)   &  ind_ws=where(ws_q ne 1 and ws_q ne 2)
+ind_rh=where(rh_q ne 1 and rh_q ne 2)   &  ind_sst=where(sst_q ne 1 and sst_q ne 2)
+ind_lh=where(lh_q ne 1 and lh_q ne 2) 
+ 
+ind=union(ind_at, union(ind_rh, union(ind_ws, union(ind_lh, ind_sst))))
+
+if (ind(0) ne -1) then begin
+  sw(ind)=!Values.f_nan   &   at(ind)=!Values.f_nan
+  rh(ind)=!Values.f_nan   &   ws(ind)=!Values.f_nan
+  sst(ind)=!Values.f_nan  &   lh(ind)=!Values.f_nan
+  wu(ind)=!Values.f_nan  &    wv(ind)=!Values.f_nan
+endif
+;
+;; Replace missing values by "NaN"
+;
+tsvars=['at','sw','rh','sst','wu','wv','ws','lat','lon'] 
+vars=[tsvars]
+nn=n_elements(vars)
+for n=0,nn-1 do begin
+  var=vars(n)
+  com='ind=where('+var+' ge 1.e20) & if (ind(0) ne -1) then '+var+'(ind)=!values.f_nan'
+  r=execute(com)
+endfor
+
+nsmooth=nsmooth
+at=smooth(at,nsmooth,/nan) & sst=smooth(sst,nsmooth,/nan)
+lh=smooth(lh,nsmooth,/nan) & rh=smooth(rh,nsmooth,/nan)
+wu=smooth(wu,nsmooth,/nan) & wv=smooth(wv,nsmooth,/nan)
+ws=smooth(ws,nsmooth,/nan) & sw=smooth(sw,nsmooth,/nan)
+
+;-------------------------------------------------------------------------------------------------
+end
+;-------------------------------------------------------------------------------------------------
+
+
+;-------------------------------------------------------------------------------------------------
+function time_lec, fi
+tt=ncdf_lec(fi,var='time')
+fid=ncdf_open(fi) & vid=ncdf_varid(fid,'time')
+ncdf_attget, fid,vid,'units',orig
+orig=string(orig)
+yy=long(strmid(orig,11,4))
+mm=long(strmid(orig,16,2))
+dd=long(strmid(orig,19,2))
+tt=julday(mm,dd,yy,12,00)+tt
+return, tt
+end
+
+;-------------------------------------------------------------------------------------------------
Index: /trunk/src/paper01/fig3/sst_validation_scatter_2000_2009_v50.pro
===================================================================
--- /trunk/src/paper01/fig3/sst_validation_scatter_2000_2009_v50.pro	(revision 41)
+++ /trunk/src/paper01/fig3/sst_validation_scatter_2000_2009_v50.pro	(revision 41)
@@ -0,0 +1,386 @@
+;------------------------------------------------------------
+pro sst_validation_scatter_2000_2009_v50,date1,date2
+@common
+;------------------------------------------------------------
+
+reinitplt, /z,/invert
+key_portrait = 1
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+;; Before running this program, you have to compile the following subrutines
+;;   1.  .r read_era_total
+;;   2.  .r read_variables_v2
+;;   3.  .r read_era_box
+
+;; Give the location of mooring for validation of basic meteorological variables
+
+
+sitelist=['8s67e','12s55e', '8s55e', '8s80.5e', '1.5s80.5e', '0n80.5e', '1.5n80.5e', '1.5s90e', $
+           '0n90e', '1.5n90e', '4n90e','8n90e','12n90e', '15n90e', '5s95e', $
+           '8s165e', '8s180w',  '8s155w', '8s125w', '8s110w', '8s95w',  '5s156e', '5s165e', '5s180w', '5s170w', $
+          '5s155w', '5s140w', '5s125w', '5s110w', '5s95w', '2s156e', '2s165e', '2s180w', '2s170w', '2s155w', '2s140w', $
+          '2s125w', '2s110w', '2s95w', '0n147e', '0n156e', '0n165e', '0n180w', '0n170w', '0n155w', '0n140w', '0n125w', $
+          '0n110w', '0n95w', '2n147e', '2n156e', '2n165e', '2n180w', '2n170w', '2n155w', '2n140w', '2n125w', '2n110w', $
+          '2n95w', '5n147e', '5n156e', '5n165e', '5n170w', '5n155w', '5n140w', '5n125w', '5n110w', '5n95w', $
+          '8n156e', '8n165e', '8n180w', '8n170w', '9n140w', '8n125w', '8n110w', '8n95w', $
+          '0n0e', '0n10w', '0n23w', '0n35w', '10s10w', '12n23w', '12n38w', '14s32w', '15n38w', '19s34w', '20n38w', $
+          '21n23w', '4n23w', '4n38w', '6s10w', '8n38w', '8s30w']
+
+ocean='global'
+
+nsmooth=1.    ;; statistics are with 7 day smoothed
+;------------------------------------------------------------------------------------------------------------------------
+;;   This program will create the following text files with statistics of respective variables
+;------------------------------------------------------------------------------------------------------------------------
+close,/all
+
+fi_sst_erai='/Users/pkb/work/MY_SAXO/flux_automat/sst_2000_2009_erai_v50.txt'
+openw,1,fi_sst_erai
+fi_sst_trop='/Users/pkb/work/MY_SAXO/flux_automat/sst_2000_2009_trop_v50.txt'
+openw,2,fi_sst_trop
+fi_sst_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/sst_2000_2009_oaflx_v50.txt'
+openw,3,fi_sst_oaflx
+fi_sst_ncep='/Users/pkb/work/MY_SAXO/flux_automat/sst_2000_2009_ncep_v50.txt'
+openw,4,fi_sst_ncep
+fi_sst_tmi='/Users/pkb/work/MY_SAXO/flux_automat/sst_2000_2009_tmi_v50.txt'
+openw,5,fi_sst_tmi
+fi_sst_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/sst_2000_2009_ncep1_v50.txt'
+openw,6,fi_sst_ncep1
+
+
+
+printf,1, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,2, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,3, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,4, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,5, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,6, 'x     y      cor    bias     std     rmsd      mean_tao'
+
+;------------------------------------------------------------------------------------------------------------------------
+;; first reading the whole ERAI uncorrected and corrected data
+
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_sst_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+unc=read_ncdf('sst',date1,date2,file=file,/nostr) & unc=unc-273.15 
+help, unc
+
+file='/Volumes/Iomega_HDD/TropFlux/input_cor/full_cor/TropFlux_sst_19890101_20091231_v20.nc'
+initncdf, file
+cor=read_ncdf('sst',date1,date2,file=file,/nostr) & cor=cor-273.15
+help, cor
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/OAFlux_basic_variables_1985_2009.nc'
+initncdf, file
+oaf=read_ncdf("sst", date1, date2, file=file,/nostr)
+help, oaf
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/sst_ncep2_oafluxgrid_19890101_20091231.nc'
+initncdf, fi
+nce=read_ncdf("sst", date1-1, date2, file=fi,/nostr) 
+nce=nce-273.15
+help, nce
+
+fi='/Volumes/Iomega_HDD/work/flux_reconstruction/gridded_data/tmi_OI_oafluxgrid_30N30S.nc'
+initncdf, fi
+sst_tmi=read_ncdf("sst", date1, date2, file=fi,/nostr)
+help, sst_tmi
+
+file='/Volumes/Iomega_HDD/flux_reconstruction/ncep/sst_ncep1_19890101_20091231.nc'
+initncdf, file
+nce1=read_ncdf("sst", date1, date2, file=file,/nostr)
+nce1=nce1-273.15
+help, nce1
+
+;------------------------------------------------------------------------------------------------------------------------
+nn=n_elements(sitelist)
+date1=date1
+date2=date2
+for n=0, nn-1 do begin
+
+;; reading data from mooring
+
+    site=sitelist(n) & csite=site
+    print, csite
+    x=x_site_location(site)
+    y=y_site_location(site)
+    if (y ge 0. and y le 30.) then y=y+360.
+    dx=0.5 & dy=0.5 & box=[y-dy, y+dy, x-dx, x+dx]
+    read_variables_v2, csite,date1,date2,nsmooth, $
+         at, sw,rh,sst,wu,wv,ws,lh
+
+
+    ind=where(finite(sst)) & valid=n_elements(ind)
+
+    if (valid ge 180) then begin
+
+      ;;  extracting the corrected and uncorrected ERAI data at the locations
+      nsmooth=1.
+
+      extract_flux_tropflux,unc,box, $
+        tropflux
+      uncr=tropflux
+
+      extract_flux_tropflux,cor,box, $  
+        tropflux
+      corr=tropflux
+    
+      extract_flux_tropflux,oaf,box, $
+        tropflux
+      oafl=tropflux
+
+      extract_flux_tropflux,nce,box, $
+        tropflux
+      ncep=tropflux
+
+      extract_flux_tropflux,sst_tmi,box, $
+        tropflux
+      tmi=tropflux
+
+      extract_flux_tropflux,nce1,box, $
+        tropflux
+      ncep1=tropflux
+
+
+      ind=where(finite(sst)) & sst=sst(ind) & uncr_sst=uncr(ind)  & corr_sst=corr(ind) 
+      oafl=oafl(ind) & ncep=ncep(ind) & tmi=tmi(ind) & ncep1=ncep1(ind)
+      mean_tao=total(sst,/nan)/n_elements(ind)
+     
+      statistics_3var_v1, sst, uncr_sst, corr_sst, $
+         cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+ 
+      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)'
+      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)'
+
+      statistics_3var_v1, sst, oafl, ncep, $
+         cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+      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)'
+      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)'
+
+      statistics_3var_v1, sst, tmi, ncep1, $
+         cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+      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)'
+      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)'
+
+  endif
+
+endfor
+;-----------------------------------------------------------------------------------------
+close,/all  
+
+fi_sst_erai='/Users/pkb/work/MY_SAXO/flux_automat/sst_2000_2009_v50_erai.txt'
+res=read_ascii(fi_sst_erai,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_era=reform(ff(2,*))   & cor_erai=total(cor_era)/n_elements(cor_era)
+bias_era=reform(ff(3,*))  & bias_erai=total(bias_era)/n_elements(bias_era)
+std_era=reform(ff(4,*))   & std_erai=total(std_era)/n_elements(std_era)
+rmsd_era=reform(ff(5,*))  & rmsd_erai=total(rmsd_era)/n_elements(rmsd_era)
+mean_tao=reform(ff(6,*))  & mean_erai=bias_era+mean_tao
+
+print, ''
+print, 'ERAI'
+print, cor_erai, bias_erai, std_erai, rmsd_erai
+cstat=string(cor_erai, bias_erai, std_erai, rmsd_erai, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+splot, mean_tao, mean_erai, title='SST - TAO Vs ERAI', subtitle='', $
+     charsize=1.1, xtitle='TAO SST', ytitle='ERAI SST', small=[2,3,1], psym=2, $
+     xrange=[22,31], yrange=[22,31], xmin=1,ymin=1
+xyouts, 22.3,30.2, cstat, charsize=0.9
+xyouts, 22.3,29.5, 'cor   bias   std   rmsd', charsize=0.9
+
+oplot, [22,31], [22,31]
+ab=linfit(mean_tao, mean_erai,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+fi_sst_trop='/Users/pkb/work/MY_SAXO/flux_automat/sst_2000_2009_v50_trop.txt'
+res=read_ascii(fi_sst_trop,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_tro=reform(ff(2,*))   & cor_trop=total(cor_tro)/n_elements(cor_tro)
+bias_tro=reform(ff(3,*))  & bias_trop=total(bias_tro)/n_elements(bias_tro)
+std_tro=reform(ff(4,*))   & std_trop=total(std_tro)/n_elements(std_tro)
+rmsd_tro=reform(ff(5,*))  & rmsd_trop=total(rmsd_tro)/n_elements(rmsd_tro)
+mean_tao=reform(ff(6,*))  & mean_trop=bias_tro+mean_tao
+
+print, ''
+print, 'TropFlux'
+print, cor_trop, bias_trop, std_trop, rmsd_trop
+cstat=string(cor_trop, bias_trop, std_trop, rmsd_trop, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_trop, title='SST - TAO Vs TropFlux', subtitle='', $
+     charsize=1.1, xtitle='TAO SST', ytitle='TropFlux SST', small=[2,3,2],/noer, psym=2, $
+     xrange=[22,31], yrange=[22,31], xmin=1,ymin=1
+oplot, [22,31], [22,31]
+xyouts, 22.3,30.2, cstat, charsize=0.9
+xyouts, 22.3,29.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_trop,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+fi_sst_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/sst_2000_2009_v50_oaflx.txt'
+res=read_ascii(fi_sst_oaflx,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_oaf=reform(ff(2,*))   & cor_oafl=total(cor_oaf)/n_elements(cor_oaf)
+bias_oaf=reform(ff(3,*))  & bias_oafl=total(bias_oaf)/n_elements(bias_oaf)
+std_oaf=reform(ff(4,*))   & std_oafl=total(std_oaf)/n_elements(std_oaf)
+rmsd_oaf=reform(ff(5,*))  & rmsd_oafl=total(rmsd_oaf)/n_elements(rmsd_oaf)
+mean_tao=reform(ff(6,*))  & mean_oafl=bias_oaf+mean_tao
+
+print, ''
+print, 'OAFlux'
+print, cor_oafl, bias_oafl, std_oafl, rmsd_oafl
+cstat=string(cor_oafl, bias_oafl, std_oafl, rmsd_oafl, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_oafl, title='SST - TAO Vs OAFlux', subtitle='', $
+     charsize=1.1, xtitle='TAO SST', ytitle='OAFlux SST', small=[2,3,3],/noer, psym=2, $
+     xrange=[22,31], yrange=[22,31], xmin=1,ymin=1
+oplot, [22,31], [22,31]
+xyouts, 22.3,30.2, cstat, charsize=0.9
+xyouts, 22.3,29.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_oafl,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+
+
+fi_sst_ncep='/Users/pkb/work/MY_SAXO/flux_automat/sst_2000_2009_v50_ncep.txt'
+res=read_ascii(fi_sst_ncep,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_nce=reform(ff(2,*))   & cor_ncep=total(cor_nce)/n_elements(cor_nce)
+bias_nce=reform(ff(3,*))  & bias_ncep=total(bias_nce)/n_elements(bias_nce)
+std_nce=reform(ff(4,*))   & std_ncep=total(std_nce)/n_elements(std_nce)
+rmsd_nce=reform(ff(5,*))  & rmsd_ncep=total(rmsd_nce)/n_elements(rmsd_nce)
+mean_tao=reform(ff(6,*))  & mean_ncep=bias_nce+mean_tao
+
+print, ''
+print, 'NCEP2'
+print, cor_ncep, bias_ncep, std_ncep, rmsd_ncep
+cstat=string(cor_ncep, bias_ncep, std_ncep, rmsd_ncep, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_ncep, title='SST - TAO Vs NCEP2', subtitle='', $
+     charsize=1.1, xtitle='TAO SST', ytitle='NCEP2 SST', small=[2,3,4],/noer, psym=2, $
+     xrange=[22,31], yrange=[22,31], xmin=1,ymin=1
+oplot, [22,31], [22,31]
+xyouts, 22.3,30.2, cstat, charsize=0.9
+xyouts, 22.3,29.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_ncep,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+
+fi_sst_tmi='/Users/pkb/work/MY_SAXO/flux_automat/sst_2000_2009_v50_tmi.txt'
+res=read_ascii(fi_sst_tmi,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_tm=reform(ff(2,*))   & cor_tmi=total(cor_tm)/n_elements(cor_tm)
+bias_tm=reform(ff(3,*))  & bias_tmi=total(bias_tm)/n_elements(bias_tm)
+std_tm=reform(ff(4,*))   & std_tmi=total(std_tm)/n_elements(std_tm)
+rmsd_tm=reform(ff(5,*))  & rmsd_tmi=total(rmsd_tm)/n_elements(rmsd_tm)
+mean_tao=reform(ff(6,*))  & mean_tmi=bias_tm+mean_tao
+
+print, ''
+print, 'TMI'
+print, cor_tmi, bias_tmi, std_tmi, rmsd_tmi
+cstat=string(cor_tmi, bias_tmi, std_tmi, rmsd_tmi, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_tmi, title='SST - TAO Vs TMI', subtitle='', $
+     charsize=1.1, xtitle='TAO SST', ytitle='TMI SST', small=[2,3,5],/noer, psym=2, $
+     xrange=[22,31], yrange=[22,31], xmin=1,ymin=1
+oplot, [22,31], [22,31]
+xyouts, 22.3,30.2, cstat, charsize=0.9
+xyouts, 22.3,29.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_tmi,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+fi_sst_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/sst_2000_2009_v50_ncep1.txt'
+res=read_ascii(fi_sst_ncep1,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_nce=reform(ff(2,*))   & cor_ncep=total(cor_nce)/n_elements(cor_nce)
+bias_nce=reform(ff(3,*))  & bias_ncep=total(bias_nce)/n_elements(bias_nce)
+std_nce=reform(ff(4,*))   & std_ncep=total(std_nce)/n_elements(std_nce)
+rmsd_nce=reform(ff(5,*))  & rmsd_ncep=total(rmsd_nce)/n_elements(rmsd_nce)
+mean_tao=reform(ff(6,*))  & mean_ncep=bias_nce+mean_tao
+
+print, ''
+print, 'NCEP1'
+print, cor_ncep, bias_ncep, std_ncep, rmsd_ncep
+cstat=string(cor_ncep, bias_ncep, std_ncep, rmsd_ncep, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_ncep, title='SST - TAO Vs NCEP_NCAR', subtitle='', $
+     charsize=1.1, xtitle='TAO SST', ytitle='NCEP SST', small=[2,3,6],/noer, psym=2, $
+     xrange=[22,31], yrange=[22,31], xmin=1,ymin=1
+oplot, [22,31], [22,31]
+xyouts, 22.3,30.2, cstat, charsize=0.9
+xyouts, 22.3,29.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_ncep,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+;-----------------------------------------------------------
+closeps
+
+fig='sst_validation_scatter_2000_2009_v50.ps'
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+return
+end
+;--------------------------------------------------------------------------
+function x_site_location, site
+    n1=strpos(site, 's')
+if (n1 gt -1) then begin
+    ns=-1.
+    x=strmid(site, 0, n1)
+    x=float(x)*ns
+endif else begin
+    n1=strpos(site, 'n')
+    x=strmid(site, 0, n1)
+    ny=1.
+    x=float(x)*ny
+endelse
+return, float(x)
+end
+;--------------------------------------------------------------------------
+function y_site_location, site
+    n1=strpos(site, 'e')
+if (n1 gt -1) then begin
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+    endelse
+
+endif else begin
+    n1=strpos(site, 'w')
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+   endelse
+endelse
+return,float(y)
+end
+
+;--------------------------------------------------------------------------
+
Index: /trunk/src/paper01/fig3/statistics_3var_v1.pro
===================================================================
--- /trunk/src/paper01/fig3/statistics_3var_v1.pro	(revision 41)
+++ /trunk/src/paper01/fig3/statistics_3var_v1.pro	(revision 41)
@@ -0,0 +1,45 @@
+pro statistics_3var_v1, tao,var1,var2, $
+    cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+
+ 
+@common
+;--------------------------------------------
+;--------------------------------------------
+x=tao & y=var1 & z=var2
+
+ind1=where(finite(x,/nan)) & ind2=where(finite(y,/nan)) & ind3=where(finite(z,/nan))
+ind=inter(ind1,union(ind2,ind3))
+
+if (ind ne -1.) then begin
+   x(ind)=!Values.f_nan & y(ind)=!Values.f_nan & z(ind)=!Values.f_nan 
+endif
+
+nsmooth=5   ;; applying a 5 day smoothing
+
+x=ts_smooth(x,nsmooth,/nan)
+y=ts_smooth(y,nsmooth,/nan)
+z=ts_smooth(z,nsmooth,/nan)
+
+ind1=where(finite(x)) & ind2=where(finite(y)) & ind3=where(finite(z))
+ind=inter(ind1,inter(ind2,ind3))
+x=x(ind) & y=y(ind) & z=z(ind)
+nn=n_elements(ind)
+
+cor1=correlate(x,y) & cor2=correlate(x,z)  ;; cor1=correlation(tropflux,tao) cor2=correlation(tropflux,rec)
+xxx=moment(x)
+mean1=xxx(0) & std1=sqrt(xxx(1))    ;; mean1 and std1 --> for tropflux
+xxx=moment(y)
+mean2=xxx(0) & std2=sqrt(xxx(1))    ;; mean2 and std2 --> for tao
+xxx=moment(z)
+mean3=xxx(0) & std3=sqrt(xxx(1))    ;; mean3 and std3 --> for rec
+
+bias1=mean2-mean1 & st1=std2/std1
+bias2=mean3-mean1 & st2=std3/std1
+
+std1=st1 & std2=st2
+rmsd1=sqrt(total((x-y)*(x-y))/n_elements(x))
+rmsd2=sqrt(total((x-z)*(x-z))/n_elements(x))
+
+end
+;--------------------------------------------   
+
Index: /trunk/src/paper01/fig3/ws_validation_scatter_2000_2009_v50.pro
===================================================================
--- /trunk/src/paper01/fig3/ws_validation_scatter_2000_2009_v50.pro	(revision 41)
+++ /trunk/src/paper01/fig3/ws_validation_scatter_2000_2009_v50.pro	(revision 41)
@@ -0,0 +1,391 @@
+;------------------------------------------------------------
+pro ws_validation_scatter_2000_2009_v50,date1,date2
+@common
+;------------------------------------------------------------
+
+reinitplt, /z,/invert
+key_portrait = 1
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+;; Before running this program, you have to compile the following subrutines
+;;   1.  .r read_era_total
+;;   2.  .r read_variables_v2
+;;   3.  .r read_era_box
+
+;; Give the location of mooring for validation of basic meteorological variables
+
+
+sitelist=['8s67e','12s55e', '8s55e', '8s80.5e', '1.5s80.5e', '0n80.5e', '1.5n80.5e', '1.5s90e', $
+           '0n90e', '1.5n90e', '4n90e','8n90e','12n90e', '15n90e', '5s95e', $
+           '8s165e', '8s180w',  '8s155w', '8s125w', '8s110w', '8s95w',  '5s156e', '5s165e', '5s180w', '5s170w', $
+          '5s155w', '5s140w', '5s125w', '5s110w', '5s95w', '2s156e', '2s165e', '2s180w', '2s170w', '2s155w', '2s140w', $
+          '2s125w', '2s110w', '2s95w', '0n147e', '0n156e', '0n165e', '0n180w', '0n170w', '0n155w', '0n140w', '0n125w', $
+          '0n110w', '0n95w', '2n147e', '2n156e', '2n165e', '2n180w', '2n170w', '2n155w', '2n140w', '2n125w', '2n110w', $
+          '2n95w', '5n147e', '5n156e', '5n165e', '5n170w', '5n155w', '5n140w', '5n125w', '5n110w', '5n95w', $
+          '8n156e', '8n165e', '8n180w', '8n170w', '9n140w', '8n125w', '8n110w', '8n95w', $
+          '0n0e', '0n10w', '0n23w', '0n35w', '10s10w', '12n23w', '12n38w', '14s32w', '15n38w', '19s34w', '20n38w', $
+          '21n23w', '4n23w', '4n38w', '6s10w', '8n38w', '8s30w']
+
+ocean='global'
+
+da1=10000101 & da2=10081231
+nsmooth=1.    ;; statistics are with 7 day smoothed
+;------------------------------------------------------------------------------------------------------------------------
+;;   This program will create the following text files with statistics of respective variables
+;------------------------------------------------------------------------------------------------------------------------
+close,/all
+
+fi_ws_erai='/Users/pkb/work/MY_SAXO/flux_automat/ws_2000_2009_erai_v50.txt'
+openw,1,fi_ws_erai
+fi_ws_trop='/Users/pkb/work/MY_SAXO/flux_automat/ws_2000_2009_trop_v50.txt'
+openw,2,fi_ws_trop
+fi_ws_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/ws_2000_2009_oaflx_v50.txt'
+openw,3,fi_ws_oaflx
+fi_ws_ncep='/Users/pkb/work/MY_SAXO/flux_automat/ws_2000_2009_ncep_v50.txt'
+openw,4,fi_ws_ncep
+fi_ws_tmi='/Users/pkb/work/MY_SAXO/flux_automat/ws_2000_2009_tmi_v50.txt'
+openw,5,fi_ws_tmi
+fi_ws_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/ws_2000_2009_ncep1_v50.txt'
+openw,6,fi_ws_ncep1
+
+
+printf,1, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,2, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,3, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,4, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,5, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,6, 'x     y      cor    bias     std     rmsd      mean_tao'
+
+;------------------------------------------------------------------------------------------------------------------------
+;; first reading the whole ERAI uncorrected and corrected data
+
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_ws_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+u=read_ncdf('u10',date1,date2,file=file,/nostr) 
+v=read_ncdf('v10',date1,date2,file=file,/nostr)     
+unc=sqrt(u*u+v*v) 
+help, unc
+
+file='/Volumes/Iomega_HDD/TropFlux/input_cor/full_cor/TropFlux_ws_19890101_20091231_v20.nc'
+initncdf, file
+cor=read_ncdf('ws',date1,date2,file=file,/nostr) 
+help, cor
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/OAFlux_basic_variables_1985_2009.nc'
+initncdf, file
+oaf=read_ncdf("wind", date1, date2, file=file,/nostr)
+help, oaf
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/uwind_ncep2_oafluxgrid_19890101_20091231.nc'
+initncdf, fi
+u=read_ncdf("u", date1-1, date2, file=fi,/nostr) 
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/vwind_ncep2_oafluxgrid_19890101_20091231.nc'
+initncdf, fi
+v=read_ncdf("v", date1-1, date2, file=fi,/nostr)   
+nce=sqrt(u*u+v*v)
+help, nce
+
+dir='/Volumes/Iomega_HDD/work/flux_reconstruction/gridded_data/'
+fi=dir+'zonal_wind_speed_oafluxgrid_30N30S.nc'
+initncdf, fi
+u=read_ncdf("u", date1, date2, file=fi,/nostr)
+fi=dir+'meridional_wind_speed_oafluxgrid_30N30S.nc'
+initncdf, fi
+v=read_ncdf("v", date1, date2, file=fi,/nostr)
+ws_tmi=sqrt(u*u+v*v)
+help, ws_tmi
+
+file='/Volumes/Iomega_HDD/flux_reconstruction/ncep/wind_ncep1_19890101_20091231.nc'
+initncdf, file
+u=read_ncdf("u", date1, date2, file=file,/nostr)
+v=read_ncdf("v", date1, date2, file=file,/nostr)
+nce1=sqrt(u*u+v*v)
+help, nce1
+
+;------------------------------------------------------------------------------------------------------------------------
+nn=n_elements(sitelist)
+date1=date1
+date2=date2
+for n=0, nn-1 do begin
+
+;; reading data from mooring
+
+    site=sitelist(n) & csite=site
+    print, csite
+    x=x_site_location(site)
+    y=y_site_location(site)
+    if (y ge 0. and y le 30.) then y=y+360.
+    dx=0.5 & dy=0.5 & box=[y-dy, y+dy, x-dx, x+dx]
+    read_variables_v2, csite,date1,date2,nsmooth, $
+         at, sw,rh,sst,wu,wv,ws, lh
+
+    ws=alog(10./0.000152)/alog(4./0.000152)*ws
+
+;;  extracting the corrected and uncorrected ERAI data at the locations
+    nsmooth=1.
+
+    extract_flux_tropflux,unc,box, $
+        tropflux
+    uncr=tropflux
+
+     extract_flux_tropflux,cor,box, $  
+        tropflux
+     corr=tropflux
+    
+     extract_flux_tropflux,oaf,box, $
+        tropflux
+     oafl=tropflux
+
+     extract_flux_tropflux,nce,box, $
+        tropflux
+     ncep=tropflux
+
+     extract_flux_tropflux,ws_tmi,box, $
+        tropflux
+     tmi=tropflux
+
+     extract_flux_tropflux,nce1,box, $
+        tropflux
+     ncep1=tropflux
+
+    ind=where(finite(ws)) & ws=ws(ind) & uncr_ws=uncr(ind)  & corr_ws=corr(ind) 
+    oafl=oafl(ind) & ncep=ncep(ind) & tmi=tmi(ind) & ncep1=ncep1(ind)
+
+    mean_tao=total(ws)/n_elements(ws)
+ 
+    statistics_3var_v1, ws, uncr_ws, corr_ws, $
+         cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+ 
+    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,f5.2)'
+    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,f5.2)'
+
+    statistics_3var_v1, ws, oafl, ncep, $
+         cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+    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,f5.2)'
+    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,f5.2)'
+
+    statistics_3var_v1, ws, tmi, ncep1, $
+         cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+    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,f5.2)'
+    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,f5.2)'
+
+endfor
+;-----------------------------------------------------------------------------------------
+close,/all  
+fi_ws_erai='/Users/pkb/work/MY_SAXO/flux_automat/ws_2000_2009_erai_v50.txt'
+res=read_ascii(fi_ws_erai,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_era=reform(ff(2,*))   & cor_erai=total(cor_era)/n_elements(cor_era)
+bias_era=reform(ff(3,*))  & bias_erai=total(bias_era)/n_elements(bias_era)
+std_era=reform(ff(4,*))   & std_erai=total(std_era)/n_elements(std_era)
+rmsd_era=reform(ff(5,*))  & rmsd_erai=total(rmsd_era)/n_elements(rmsd_era)
+mean_tao=reform(ff(6,*))  & mean_erai=bias_era+mean_tao
+
+print, ''
+print, 'ERAI'
+print, cor_erai, bias_erai, std_erai, rmsd_erai
+cstat=string(cor_erai, bias_erai, std_erai, rmsd_erai, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+splot, mean_tao, mean_erai, title='WS - TAO Vs ERAI', subtitle='', $
+     charsize=1.1, xtitle='TAO WS', ytitle='ERAI WS', small=[2,3,1], psym=2, $
+     xrange=[2,10], yrange=[2,10], xmin=1,ymin=1
+xyouts, 2.5,9.4, cstat, charsize=0.9
+xyouts, 2.5,8.5, 'cor   bias   std   rmsd', charsize=0.9
+
+oplot, [2,10], [2,10]
+ab=linfit(mean_tao, mean_erai,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+fi_ws_trop='/Users/pkb/work/MY_SAXO/flux_automat/ws_2000_2009_trop_v50.txt'
+res=read_ascii(fi_ws_trop,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_tro=reform(ff(2,*))   & cor_trop=total(cor_tro)/n_elements(cor_tro)
+bias_tro=reform(ff(3,*))  & bias_trop=total(bias_tro)/n_elements(bias_tro)
+std_tro=reform(ff(4,*))   & std_trop=total(std_tro)/n_elements(std_tro)
+rmsd_tro=reform(ff(5,*))  & rmsd_trop=total(rmsd_tro)/n_elements(rmsd_tro)
+mean_tao=reform(ff(6,*))  & mean_trop=bias_tro+mean_tao
+
+print, ''
+print, 'TropFlux'
+print, cor_trop, bias_trop, std_trop, rmsd_trop
+cstat=string(cor_trop, bias_trop, std_trop, rmsd_trop, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_trop, title='WS - TAO Vs TropFlux', subtitle='', $
+     charsize=1.1, xtitle='TAO WS', ytitle='TropFlux WS', small=[2,3,2],/noer, psym=2, $
+     xrange=[2,10], yrange=[2,10], xmin=1,ymin=1
+oplot, [2,10], [2,10]
+xyouts, 2.5,9.4, cstat, charsize=0.9
+xyouts, 2.5,8.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_trop,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+fi_ws_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/ws_2000_2009_oaflx_v50.txt'
+res=read_ascii(fi_ws_oaflx,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_oaf=reform(ff(2,*))   & cor_oafl=total(cor_oaf)/n_elements(cor_oaf)
+bias_oaf=reform(ff(3,*))  & bias_oafl=total(bias_oaf)/n_elements(bias_oaf)
+std_oaf=reform(ff(4,*))   & std_oafl=total(std_oaf)/n_elements(std_oaf)
+rmsd_oaf=reform(ff(5,*))  & rmsd_oafl=total(rmsd_oaf)/n_elements(rmsd_oaf)
+mean_tao=reform(ff(6,*))  & mean_oafl=bias_oaf+mean_tao
+
+print, ''
+print, 'OAFlux'
+print, cor_oafl, bias_oafl, std_oafl, rmsd_oafl
+cstat=string(cor_oafl, bias_oafl, std_oafl, rmsd_oafl, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_oafl, title='WS - TAO Vs OAFlux', subtitle='', $
+     charsize=1.1, xtitle='TAO WS', ytitle='OAFlux WS', small=[2,3,3],/noer, psym=2, $
+     xrange=[2,10], yrange=[2,10], xmin=1,ymin=1
+oplot, [2,10], [2,10]
+xyouts, 2.5,9.4, cstat, charsize=0.9
+xyouts, 2.5,8.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_oafl,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+
+
+fi_ws_ncep='/Users/pkb/work/MY_SAXO/flux_automat/ws_2000_2009_ncep_v50.txt'
+res=read_ascii(fi_ws_ncep,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_nce=reform(ff(2,*))   & cor_ncep=total(cor_nce)/n_elements(cor_nce)
+bias_nce=reform(ff(3,*))  & bias_ncep=total(bias_nce)/n_elements(bias_nce)
+std_nce=reform(ff(4,*))   & std_ncep=total(std_nce)/n_elements(std_nce)
+rmsd_nce=reform(ff(5,*))  & rmsd_ncep=total(rmsd_nce)/n_elements(rmsd_nce)
+mean_tao=reform(ff(6,*))  & mean_ncep=bias_nce+mean_tao
+
+print, ''
+print, 'NCEP2'
+print, cor_ncep, bias_ncep, std_ncep, rmsd_ncep
+cstat=string(cor_ncep, bias_ncep, std_ncep, rmsd_ncep, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_ncep, title='WS - TAO Vs NCEP2', subtitle='', $
+     charsize=1.1, xtitle='TAO WS', ytitle='NCEP2 WS', small=[2,3,4],/noer, psym=2, $
+     xrange=[2,10], yrange=[2,10], xmin=1,ymin=1
+oplot, [2,10], [2,10]
+xyouts, 2.5,9.4, cstat, charsize=0.9
+xyouts, 2.5,8.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_ncep,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+fi_ws_tmi='/Users/pkb/work/MY_SAXO/flux_automat/ws_2000_2009_tmi_v50.txt'
+res=read_ascii(fi_ws_tmi,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_tm=reform(ff(2,*))   & cor_tmi=total(cor_tm)/n_elements(cor_tm)
+bias_tm=reform(ff(3,*))  & bias_tmi=total(bias_tm)/n_elements(bias_tm)
+std_tm=reform(ff(4,*))   & std_tmi=total(std_tm)/n_elements(std_tm)
+rmsd_tm=reform(ff(5,*))  & rmsd_tmi=total(rmsd_tm)/n_elements(rmsd_tm)
+mean_tao=reform(ff(6,*))  & mean_tmi=bias_tm+mean_tao
+
+print, ''
+print, 'Qscat'
+print, cor_tmi, bias_tmi, std_tmi, rmsd_tmi
+cstat=string(cor_tmi, bias_tmi, std_tmi, rmsd_tmi, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_tmi, title='WS - TAO Vs Qscat', subtitle='', $
+     charsize=1.1, xtitle='TAO WS', ytitle='TMI WS', small=[2,3,5],/noer, psym=2, $
+     xrange=[2,10], yrange=[2,10], xmin=1,ymin=1
+oplot, [2,10], [2,10]
+xyouts, 2.5,9.4, cstat, charsize=0.9
+xyouts, 2.5,8.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_tmi,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+
+fi_ws_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/ws_2000_2009_ncep1_v50.txt'
+res=read_ascii(fi_ws_ncep1,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_nce=reform(ff(2,*))   & cor_ncep=total(cor_nce)/n_elements(cor_nce)
+bias_nce=reform(ff(3,*))  & bias_ncep=total(bias_nce)/n_elements(bias_nce)
+std_nce=reform(ff(4,*))   & std_ncep=total(std_nce)/n_elements(std_nce)
+rmsd_nce=reform(ff(5,*))  & rmsd_ncep=total(rmsd_nce)/n_elements(rmsd_nce)
+mean_tao=reform(ff(6,*))  & mean_ncep=bias_nce+mean_tao
+
+print, ''
+print, 'NCEP'
+print, cor_ncep, bias_ncep, std_ncep, rmsd_ncep
+cstat=string(cor_ncep, bias_ncep, std_ncep, rmsd_ncep, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_ncep, title='WS - TAO Vs NCEP', subtitle='', $
+     charsize=1.1, xtitle='TAO WS', ytitle='NCEP WS', small=[2,3,6],/noer, psym=2, $
+     xrange=[2,10], yrange=[2,10], xmin=1,ymin=1
+oplot, [2,10], [2,10]
+xyouts, 2.5,9.4, cstat, charsize=0.9
+xyouts, 2.5,8.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_ncep,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+;-----------------------------------------------------------
+closeps
+
+fig='ws_validation_scatter_2000_2009_v50.ps'
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+return
+end
+;--------------------------------------------------------------------------
+function x_site_location, site
+    n1=strpos(site, 's')
+if (n1 gt -1) then begin
+    ns=-1.
+    x=strmid(site, 0, n1)
+    x=float(x)*ns
+endif else begin
+    n1=strpos(site, 'n')
+    x=strmid(site, 0, n1)
+    ny=1.
+    x=float(x)*ny
+endelse
+return, float(x)
+end
+;--------------------------------------------------------------------------
+function y_site_location, site
+    n1=strpos(site, 'e')
+if (n1 gt -1) then begin
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+    endelse
+
+endif else begin
+    n1=strpos(site, 'w')
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+   endelse
+endelse
+return,float(y)
+end
+
+;--------------------------------------------------------------------------
+
Index: /trunk/src/paper01/fig4/fig4_met_var_correction_scatter.pro
===================================================================
--- /trunk/src/paper01/fig4/fig4_met_var_correction_scatter.pro	(revision 41)
+++ /trunk/src/paper01/fig4/fig4_met_var_correction_scatter.pro	(revision 41)
@@ -0,0 +1,130 @@
+pro fig4_met_var_correction_scatter
+@common
+;------------------------------------------------------------
+reinitplt, /z,/invert
+key_portrait = 1
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+fi='/Users/pkb/work/MY_SAXO/flux_automat/sst_correction_final.txt'
+res=read_ascii(fi,data_start=0)
+ff=res.field1
+cor=reform(ff(0,*))
+bias=reform(ff(1,*))
+std=reform(ff(2,*))
+mean=reform(ff(4,*))
+
+splot, mean, bias, small=[2,3,1],/noer, xtitle='Mean ERAI SST', ytitle='ERAI SST bias', $
+       psym=2, charsize=1.,  $
+       xrange=[20,33], yrange=[-0.7,0.7], xmin=1, ymin=1
+oplot, [20,32], [0,0]
+xx=total(std)/n_elements(std)
+yy=total(bias)/n_elements(bias)
+
+xyouts, 22, 0.6, 'bias=-0.05', charsize=1.1
+xyouts, 22, 0.5, 'std ratio=0.989', charsize=1.1
+
+print, xx, yy
+ab=linfit(mean, bias,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean, yfit, thick=3, color=50
+print, a,b
+
+;; significant test
+significance_test_99,mean,bias
+
+;-----------------------
+fi='/Users/pkb/work/MY_SAXO/flux_automat/t2m_correction_final.txt'
+res=read_ascii(fi,data_start=0)
+ff=res.field1
+cor=reform(ff(0,*))
+bias=reform(ff(1,*))
+std=reform(ff(2,*))
+mean=reform(ff(4,*))
+
+xx=total(std)/n_elements(std)
+yy=total(bias)/n_elements(bias)
+print, xx, yy
+
+splot, mean, bias, small=[2,3,2],/noer, xtitle='Mean ERAI T2m', ytitle='ERAI T2m bias', $
+       psym=2, charsize=1.,  $
+       xrange=[20,31], yrange=[-1,0.6], xmin=1, ymin=1
+oplot, [20,32], [0,0]
+
+xyouts, 22, 0.5, 'bias=-0.296', charsize=1.1
+xyouts, 22, 0.4, 'std ratio=0.92', charsize=1.1
+
+ab=linfit(mean, bias,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean, yfit, thick=3, color=50
+print, a,b
+
+;; significant test
+significance_test_99,mean,bias
+
+;-----------------------
+fi='/Users/pkb/work/MY_SAXO/flux_automat/q2m_correction_final.txt'
+res=read_ascii(fi,data_start=0)
+ff=res.field1
+cor=reform(ff(0,*))
+bias=reform(ff(1,*))
+std=reform(ff(2,*))
+mean=reform(ff(4,*))
+
+xx=total(std)/n_elements(std)
+yy=total(bias)/n_elements(bias)
+print, xx, yy
+
+splot, mean, bias, small=[2,3,3],/noer, xtitle='Mean ERAI Q2m', ytitle='ERAI Q2m bias', $
+       psym=2, charsize=1.,  $
+       xrange=[12,21], yrange=[-1.5,0.8], xmin=1,ymin=1
+oplot, [12,32], [0,0]
+xyouts, 14, 0.6, 'bias=-0.79', charsize=1.1
+xyouts, 14, 0.5, 'std ratio=0.92', charsize=1.1
+
+ab=linfit(mean, bias,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean, yfit, thick=3, color=50
+print, a,b
+
+;; significant test
+significance_test_99,mean,bias
+;-----------------------
+fi='/Users/pkb/work/MY_SAXO/flux_automat/ws_correction_final.txt'
+res=read_ascii(fi,data_start=0)
+ff=res.field1
+cor=reform(ff(0,*))
+bias=reform(ff(1,*))
+std=reform(ff(2,*))
+mean=reform(ff(4,*))
+
+xx=total(std)/n_elements(std)
+yy=total(bias)/n_elements(bias)
+print, xx, yy
+
+
+splot, mean, bias, small=[2,3,4],/noer, xtitle='Mean ERAI WS', ytitle='ERAI WS bias', $
+        psym=2, charsize=1.,  $
+       xrange=[2,9], yrange=[-1,0.8], xmin=1, ymin=1
+oplot, [0,10], [0,0]
+xyouts, 3, 0.7, 'bias=-0.28', charsize=1.1
+xyouts, 3, 0.6, 'std ratio=0.90', charsize=1.1
+
+ab=linfit(mean, bias,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean, yfit, thick=3, color=50
+
+print, a,b
+;; significant test
+significance_test_99,mean,bias
+;-----------------------------------------------------------------------------------------
+
+closeps
+
+fig='fig4_met_var_correction_scatter.ps'
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+
+end
+;--------------------------------------------------------------------------
+
Index: /trunk/src/paper01/fig4/q2m_correction_final.txt
===================================================================
--- /trunk/src/paper01/fig4/q2m_correction_final.txt	(revision 41)
+++ /trunk/src/paper01/fig4/q2m_correction_final.txt	(revision 41)
@@ -0,0 +1,92 @@
+0.87   -0.98   1.06   1.12   18.05
+0.93   -0.73   1.04   0.87   18.09
+0.83   -0.89   0.99   1.05   18.18
+0.71   -1.74   0.59   1.98   18.60
+0.75   -0.63   1.06   0.85   18.25
+0.65   -0.43   1.11   0.70   18.35
+0.54   -2.06   0.72   2.23   18.45
+0.60   -0.54   1.00   0.77   18.44
+0.88   -0.89   0.86   1.14   18.55
+0.93   -0.53   0.88   0.96   17.98
+0.97   -0.67   0.93   1.01   17.40
+0.64   -1.12   0.75   1.37   18.18
+0.59   -1.06   0.84   1.27   19.13
+0.79   -0.48   0.88   0.74   19.10
+0.82   -0.79   0.88   0.98   18.53
+0.88   -0.62   0.93   0.80   17.95
+0.88   -0.88   1.02   1.07   15.95
+0.94   -0.65   0.97   0.82   15.03
+0.97   -0.50   0.92   0.73   14.26
+0.65   -0.42   0.83   0.83   19.14
+0.70   -0.85   0.99   1.02   18.87
+0.80   -0.80   0.92   0.99   18.77
+0.76   -0.91   0.82   1.15   18.28
+0.85   -0.76   0.96   0.95   17.63
+0.87   -0.85   1.01   1.00   17.01
+0.92   -0.82   1.06   0.97   16.24
+0.94   -0.84   0.95   1.01   15.69
+0.95   -0.70   0.85   1.03   15.38
+0.61   -0.25   0.85   0.80   19.01
+0.78   -0.95   1.05   1.09   18.60
+0.84   -0.92   0.88   1.09   18.28
+0.85   -0.61   0.90   0.82   18.01
+0.85   -0.85   0.97   1.01   17.50
+0.84   -0.70   1.03   0.91   16.89
+0.91   -0.85   1.03   1.01   16.28
+0.95   -0.89   0.92   1.02   15.83
+0.96   -0.92   0.90   1.07   15.54
+0.56   -0.14   0.80   0.74   18.88
+0.66   -0.21   0.91   0.68   18.90
+0.69   -1.05   0.84   1.26   18.59
+0.84   -0.90   1.01   1.04   18.29
+0.81   -0.97   0.94   1.16   17.81
+0.85   -0.69   0.89   0.89   17.43
+0.90   -0.91   0.94   1.04   16.80
+0.91   -0.92   1.02   1.06   16.14
+0.94   -0.75   0.86   0.98   15.47
+0.54   -0.32   0.95   0.75   18.97
+0.51    0.05   0.71   0.83   19.08
+0.72   -0.89   1.01   1.06   18.58
+0.82   -0.83   0.95   1.00   18.37
+0.86   -0.89   0.90   1.04   18.07
+0.88   -0.75   0.94   0.89   17.63
+0.90   -0.82   0.97   0.96   16.90
+0.92   -0.72   0.97   0.90   16.23
+0.94   -0.80   0.86   0.99   16.10
+0.94   -0.59   0.90   0.80   16.01
+0.47   -0.65   0.79   1.03   19.08
+0.63   -0.27   0.68   0.78   19.11
+0.67   -0.68   0.92   0.89   18.96
+0.75   -0.62   0.96   0.82   18.73
+0.74   -0.87   0.92   1.08   18.66
+0.80   -0.69   1.03   0.90   18.07
+0.88   -0.72   0.96   0.90   17.56
+0.92   -0.96   0.97   1.09   17.28
+0.91   -0.71   0.95   0.91   16.87
+0.84   -0.97   1.00   1.12   17.33
+0.59   -0.52   0.80   0.87   18.90
+0.81   -0.82   0.93   0.95   18.86
+0.76   -0.90   0.91   1.06   18.57
+0.72   -0.74   0.88   0.99   18.38
+0.74   -0.82   1.05   1.03   17.97
+0.65   -1.07   0.77   1.42   17.61
+0.82   -0.78   1.02   0.95   17.70
+0.82   -0.78   0.96   0.95   17.81
+0.81   -0.87   0.99   1.03   17.90
+0.89   -1.35   0.89   1.55   16.89
+0.94   -1.05   0.94   1.18   16.92
+0.90   -1.20   0.97   1.32   16.90
+0.85   -1.19   0.91   1.28   17.61
+0.94   -0.48   0.90   0.76   14.45
+0.95   -1.33   0.90   1.49   15.94
+0.95   -1.13   0.93   1.26   16.10
+0.92   -0.70   1.03   0.86   15.77
+0.96   -0.99   0.88   1.16   15.54
+0.95   -0.65   0.96   0.90   14.82
+0.97   -0.77   0.92   0.94   14.15
+0.98   -0.36   0.96   0.56   13.53
+0.87   -0.58   1.05   0.79   17.12
+0.68   -1.12   0.91   1.29   17.77
+0.94   -0.65   0.88   0.88   15.64
+0.88   -0.77   0.91   0.95   17.26
+0.91   -0.99   0.92   1.10   16.78
Index: /trunk/src/paper01/fig4/significance_test_99.pro
===================================================================
--- /trunk/src/paper01/fig4/significance_test_99.pro	(revision 41)
+++ /trunk/src/paper01/fig4/significance_test_99.pro	(revision 41)
@@ -0,0 +1,25 @@
+pro significance_test_99, x,y, $
+   Sig_value
+
+   X=x & Y=y
+
+   X=X-total(X)/n_elements(X)
+   Y=Y-total(Y)/n_elements(Y)
+    sx=stdev(X)
+    sy=stdev(Y)
+    reg=correlate(X,Y)*sy/sx
+    sse=total((Y-reg*X)^2)/n_elements(X)
+    t=abs(sqrt(n_elements(X)-2.)*reg/sqrt(sse/sx^2))
+    p=0.01 ;;;(for 99% significant)
+;    tc=t_cvf(p/2.,n_elements(X)-1)
+    tc=t_cvf(p/2.,n_elements(X)/5.-1)
+
+    sig1=1.*(t ge tc)
+if (sig1 eq 1. ) then begin
+   print, 'Statistics are valid at 99% significance level'
+endif else begin
+   print, 'Statistics are not valid at 99% significance level'
+endelse
+ 
+end
+
Index: /trunk/src/paper01/fig4/sst_correction_final.txt
===================================================================
--- /trunk/src/paper01/fig4/sst_correction_final.txt	(revision 41)
+++ /trunk/src/paper01/fig4/sst_correction_final.txt	(revision 41)
@@ -0,0 +1,92 @@
+0.97   -0.09   0.98   0.23   28.30
+0.97    0.06   0.96   0.31   28.21
+0.93   -0.08   1.03   0.21   28.24
+0.96   -0.02   0.90   0.20   29.23
+0.91   -0.03   1.00   0.17   28.98
+0.92    0.02   0.96   0.21   29.34
+0.88   -0.04   1.02   0.18   28.95
+0.89   -0.07   1.09   0.17   28.87
+0.95   -0.12   0.96   0.23   28.67
+0.96   -0.09   1.06   0.24   28.35
+0.98   -0.14   1.00   0.27   28.23
+0.93    0.01   1.02   0.21   28.86
+0.93   -0.06   0.97   0.20   29.58
+0.93   -0.08   1.01   0.18   29.55
+0.96   -0.09   1.01   0.16   29.24
+0.95   -0.11   0.94   0.21   28.64
+0.98    0.00   0.99   0.18   26.66
+0.98    0.03   0.97   0.21   25.63
+0.99    0.05   1.00   0.25   24.70
+0.91   -0.10   0.99   0.22   29.70
+0.90   -0.10   0.99   0.19   29.78
+0.94   -0.09   0.96   0.22   29.40
+0.96   -0.06   0.96   0.18   28.94
+0.96   -0.04   0.95   0.20   28.06
+0.97   -0.02   0.97   0.18   27.26
+0.98    0.00   0.99   0.21   26.27
+0.98    0.05   0.98   0.29   25.41
+0.98    0.06   0.98   0.34   25.07
+0.89   -0.07   0.96   0.21   29.73
+0.94   -0.09   0.99   0.21   29.69
+0.98   -0.03   0.98   0.20   28.90
+0.97   -0.11   1.00   0.26   28.05
+0.97   -0.06   0.94   0.25   27.41
+0.96   -0.07   0.92   0.29   26.65
+0.97   -0.08   0.94   0.35   25.43
+0.98   -0.05   0.93   0.34   24.59
+0.99    0.05   0.99   0.29   24.03
+0.85   -0.03   1.04   0.21   29.77
+0.93   -0.03   0.93   0.18   29.63
+0.97    0.00   0.93   0.17   29.50
+0.99    0.05   0.94   0.18   28.78
+0.99    0.08   0.97   0.19   27.75
+0.99    0.14   0.95   0.23   26.95
+0.96    0.19   0.95   0.34   26.09
+0.96    0.26   0.96   0.44   25.14
+0.95    0.23   0.94   0.67   24.18
+0.83    0.03   1.01   0.21   29.75
+0.89    0.00   0.95   0.18   29.72
+0.97   -0.04   0.99   0.19   29.31
+0.98   -0.04   0.99   0.19   28.73
+0.98   -0.09   1.02   0.24   28.17
+0.96   -0.07   1.01   0.22   27.58
+0.96   -0.09   0.93   0.31   26.68
+0.95   -0.08   0.96   0.36   26.09
+0.94   -0.29   1.00   0.57   25.72
+0.92   -0.36   1.11   0.60   26.02
+0.85    0.03   1.04   0.22   29.52
+0.84   -0.02   0.99   0.20   29.44
+0.93   -0.05   1.01   0.18   29.23
+0.97   -0.09   0.97   0.19   28.82
+0.97   -0.08   0.99   0.20   28.71
+0.96   -0.08   0.95   0.26   27.97
+0.94   -0.05   0.92   0.29   27.44
+0.91   -0.12   1.02   0.38   27.22
+0.94   -0.16   1.02   0.33   27.28
+0.96   -0.09   1.03   0.28   27.50
+0.94   -0.04   1.03   0.18   29.15
+0.96   -0.05   1.04   0.16   28.89
+0.97   -0.09   0.99   0.18   28.61
+0.97   -0.11   0.99   0.20   28.29
+0.98   -0.11   0.99   0.21   27.69
+0.96   -0.07   0.98   0.26   27.23
+0.93   -0.09   1.07   0.24   27.57
+0.96   -0.03   0.99   0.20   27.87
+0.96    0.07   0.96   0.33   27.74
+0.97   -0.20   1.01   0.44   27.19
+0.98    0.04   0.92   0.44   26.29
+0.97    0.06   0.94   0.31   26.57
+0.92    0.05   0.93   0.24   27.54
+0.99   -0.09   0.98   0.22   25.23
+0.98   -0.38   1.04   0.56   26.05
+0.97   -0.26   1.00   0.37   26.45
+0.99   -0.17   1.02   0.23   26.88
+0.99   -0.12   0.96   0.26   25.87
+0.99   -0.12   0.99   0.21   26.05
+0.99   -0.04   1.00   0.16   25.12
+0.99   -0.30   0.97   0.42   23.11
+0.93   -0.02   0.97   0.27   27.85
+0.90   -0.03   1.10   0.21   27.95
+0.99   -0.08   0.98   0.26   26.04
+0.96   -0.14   1.08   0.32   27.63
+0.99   -0.08   0.99   0.16   27.46
Index: /trunk/src/paper01/fig4/t2m_correction_final.txt
===================================================================
--- /trunk/src/paper01/fig4/t2m_correction_final.txt	(revision 41)
+++ /trunk/src/paper01/fig4/t2m_correction_final.txt	(revision 41)
@@ -0,0 +1,94 @@
+0.95   -0.47   0.91   0.53   26.95
+0.99   -0.28   0.90   0.39   27.00
+0.98   -0.26   0.90   0.35   27.00
+0.92   -0.43   0.95   0.48   26.93
+0.89   -0.90   0.67   1.08   27.83
+0.93   -0.38   0.98   0.44   27.85
+0.96   -0.56   0.90   0.61   27.94
+0.92   -0.33   1.09   0.41   27.74
+0.88   -1.14   0.70   1.23   27.93
+0.89   -0.12   1.07   0.27   27.73
+0.91   -0.65   0.91   0.72   27.93
+0.96   -0.29   0.96   0.38   27.48
+0.98   -0.26   0.98   0.36   27.25
+0.91   -0.48   1.04   0.54   27.31
+0.89   -0.60   0.97   0.65   27.86
+0.84   -0.39   0.90   0.48   28.20
+0.87   -0.52   0.93   0.58   27.96
+0.91   -0.33   0.91   0.40   27.74
+0.97   -0.15   0.94   0.24   25.98
+0.99   -0.17   0.97   0.24   24.90
+0.99   -0.23   0.98   0.32   23.43
+0.90   -0.56   1.00   0.61   27.82
+0.79   -0.51   1.04   0.59   28.09
+0.83   -0.38   0.89   0.49   28.23
+0.85   -0.31   0.81   0.46   27.97
+0.90   -0.27   0.90   0.38   27.42
+0.95   -0.24   0.94   0.31   26.56
+0.98   -0.15   0.93   0.24   25.75
+0.98   -0.09   0.96   0.25   24.78
+0.98   -0.02   0.92   0.39   24.26
+0.89   -0.23   1.03   0.32   28.15
+0.79   -0.43   0.94   0.54   28.16
+0.93   -0.29   0.83   0.41   27.98
+0.96   -0.24   0.88   0.34   27.63
+0.97   -0.17   0.93   0.28   26.87
+0.98   -0.16   0.90   0.28   26.11
+0.98   -0.11   0.89   0.31   25.14
+0.99   -0.06   0.90   0.31   24.24
+0.99    0.02   0.91   0.32   23.78
+0.88   -0.43   0.96   0.50   27.92
+0.86   -0.21   0.95   0.33   28.10
+0.84   -0.34   0.83   0.47   28.10
+0.95   -0.20   0.88   0.34   27.78
+0.97   -0.11   0.85   0.30   27.38
+0.98    0.03   0.87   0.22   26.75
+0.97    0.09   0.91   0.27   25.76
+0.98    0.17   0.97   0.31   24.85
+0.98    0.23   0.93   0.45   23.52
+0.92   -0.31   0.97   0.37   27.97
+0.87   -0.19   0.94   0.31   28.00
+0.82   -0.36   0.88   0.48   27.94
+0.94   -0.31   0.86   0.41   27.71
+0.95   -0.32   0.90   0.42   27.44
+0.97   -0.10   0.87   0.25   26.86
+0.93   -0.09   0.92   0.37   26.07
+0.97   -0.13   0.91   0.32   25.37
+0.98   -0.19   0.93   0.38   24.66
+0.98   -0.07   0.92   0.37   24.62
+0.85   -0.22   1.02   0.33   27.96
+0.85   -0.27   0.96   0.34   27.84
+0.87   -0.33   1.01   0.39   27.80
+0.87   -0.38   0.87   0.47   27.45
+0.91   -0.54   0.88   0.60   27.24
+0.91   -0.38   0.89   0.47   26.83
+0.94   -0.37   0.89   0.46   26.32
+0.95   -0.34   0.88   0.45   25.95
+0.97   -0.27   0.91   0.38   25.81
+0.89   -0.39   0.84   0.59   25.82
+0.76   -0.35   0.92   0.44   27.74
+0.82   -0.31   0.91   0.38   27.80
+0.83   -0.42   0.90   0.49   27.37
+0.78   -0.44   0.84   0.55   27.05
+0.90   -0.49   0.87   0.56   26.51
+0.78   -0.55   0.69   0.77   25.95
+0.85   -0.41   0.93   0.52   26.02
+0.90   -0.53   0.96   0.62   26.26
+0.84   -0.38   0.94   0.58   26.43
+0.97   -0.42   0.90   0.59   25.80
+0.99   -0.03   0.85   0.39   25.43
+0.95   -0.25   0.81   0.44   25.91
+0.78   -0.24   0.92   0.39   26.58
+0.99   -0.27   1.00   0.35   24.01
+0.99   -0.24   1.01   0.33   25.08
+0.98   -0.46   0.98   0.52   25.73
+0.99   -0.26   1.01   0.29   25.71
+0.98   -0.25   0.97   0.36   25.09
+0.99   -0.13   0.96   0.23   25.01
+0.99   -0.29   0.94   0.37   24.37
+0.99   -0.22   0.94   0.34   22.46
+0.88   -0.19   0.79   0.37   26.26
+0.76   -0.42   0.94   0.53   26.66
+0.99   -0.13   0.96   0.29   25.16
+0.93   -0.40   0.86   0.48   26.27
+0.98   -0.23   0.94   0.29   26.61
Index: /trunk/src/paper01/fig4/ws_correction_final.txt
===================================================================
--- /trunk/src/paper01/fig4/ws_correction_final.txt	(revision 41)
+++ /trunk/src/paper01/fig4/ws_correction_final.txt	(revision 41)
@@ -0,0 +1,92 @@
+0.99   -0.34   0.94   0.50    5.91
+0.97    0.09   1.12   0.60    5.04
+0.99   -0.28   0.94   0.42    5.89
+0.98   -0.01   0.88   0.43    4.01
+0.97   -0.39   0.88   0.56    4.24
+0.94   -0.29   0.93   0.71    3.83
+0.97   -0.27   0.92   0.44    4.29
+0.98   -0.38   0.89   0.52    3.88
+0.99   -0.60   0.91   0.74    5.40
+0.99   -0.68   0.95   0.79    5.65
+0.99   -0.44   0.96   0.62    5.10
+0.85    0.65   0.94   1.26    4.69
+0.96    0.02   0.96   0.52    4.78
+0.96    0.01   0.93   0.45    5.00
+0.97   -0.13   0.92   0.43    5.46
+0.97   -0.24   0.92   0.43    6.04
+0.97   -0.35   0.92   0.44    7.14
+0.96   -0.34   0.93   0.44    7.29
+0.95   -0.31   1.03   0.47    6.94
+0.89    0.33   0.89   0.82    4.23
+0.95   -0.11   0.89   0.52    4.22
+0.96   -0.19   0.88   0.51    5.12
+0.97   -0.35   0.86   0.53    5.65
+0.98   -0.51   0.90   0.60    6.37
+0.97   -0.59   0.91   0.68    6.76
+0.97   -0.48   0.90   0.59    6.88
+0.93   -0.33   0.89   0.59    6.66
+0.93   -0.53   0.94   0.72    5.72
+0.98   -0.07   0.90   0.35    3.88
+0.96   -0.22   0.85   0.51    4.11
+0.97   -0.51   0.85   0.66    5.25
+0.96   -0.49   0.81   0.69    6.03
+0.95   -0.52   0.87   0.67    6.46
+0.95   -0.40   0.89   0.59    6.58
+0.92   -0.22   0.89   0.60    6.07
+0.93   -0.19   0.90   0.62    5.47
+0.92   -0.16   0.93   0.56    4.57
+0.97   -0.06   0.90   0.35    3.54
+0.98   -0.11   0.90   0.36    3.83
+0.97   -0.28   0.85   0.56    4.26
+0.97   -0.35   0.85   0.57    5.21
+0.97   -0.54   0.86   0.66    5.99
+0.96   -0.35   0.88   0.53    6.25
+0.93   -0.28   0.85   0.57    6.19
+0.92    0.09   0.91   0.58    5.73
+0.91   -0.13   0.90   0.65    4.53
+0.97    0.00   0.91   0.35    3.59
+0.98   -0.01   0.90   0.35    3.85
+0.97   -0.21   0.90   0.46    4.68
+0.97   -0.27   0.85   0.58    5.44
+0.96   -0.49   0.84   0.70    5.88
+0.95   -0.64   0.86   0.77    6.16
+0.94   -0.86   0.79   1.00    6.23
+0.95   -0.77   0.81   0.92    5.92
+0.94   -0.85   0.83   1.03    5.25
+0.97   -0.85   0.90   0.96    4.91
+0.98    0.11   0.95   0.37    4.33
+0.97    0.14   0.98   0.44    4.76
+0.97   -0.03   0.95   0.49    5.30
+0.98    0.15   0.93   0.46    5.98
+0.97    0.09   0.93   0.51    6.07
+0.94   -0.13   1.01   0.58    6.07
+0.89   -0.34   0.91   0.70    6.03
+0.91   -0.46   0.80   0.73    5.63
+0.95   -0.57   0.82   0.77    5.40
+0.95   -0.45   0.84   0.73    4.76
+0.99   -0.04   0.93   0.38    5.55
+0.99   -0.22   0.92   0.46    6.21
+0.98    0.09   0.93   0.46    6.44
+0.98    0.02   0.91   0.47    6.95
+0.98    0.06   0.94   0.47    6.97
+0.98   -0.11   0.95   0.57    6.94
+0.95   -0.34   0.89   0.72    5.52
+0.96   -0.36   0.86   0.61    5.36
+0.95   -0.37   0.87   0.67    4.86
+0.93   -0.71   0.79   0.83    4.72
+0.91   -0.52   0.88   0.69    4.85
+0.97   -0.34   0.87   0.58    5.10
+0.97   -0.12   0.87   0.45    5.99
+0.95   -0.08   1.00   0.34    7.04
+0.99   -0.76   0.92   0.84    5.44
+0.98   -0.23   0.91   0.51    7.04
+0.98   -0.50   0.99   0.57    6.53
+0.98   -0.21   0.98   0.35    7.27
+0.96   -0.23   0.95   0.44    5.57
+0.98   -0.19   0.99   0.41    6.81
+0.98   -0.32   0.95   0.42    7.37
+0.95   -0.60   0.73   0.90    4.44
+0.95   -0.09   0.77   0.60    5.91
+0.95   -0.51   0.98   0.60    6.69
+0.98   -0.18   0.93   0.51    6.04
+0.98   -0.33   0.99   0.40    6.94
Index: /trunk/src/paper01/fig5/fig5_gustiness_scatter.pro
===================================================================
--- /trunk/src/paper01/fig5/fig5_gustiness_scatter.pro	(revision 41)
+++ /trunk/src/paper01/fig5/fig5_gustiness_scatter.pro	(revision 41)
@@ -0,0 +1,52 @@
+pro fig5_gustiness_scatter
+@common
+;-----------------------------------------------------------------------
+reinitplt, /z,/invert
+key_portrait = 1
+
+openps, FILENAME = 'idl.ps'
+;-----------------------------------------------------------------------
+fi_ws='/Users/pkb/work/MY_SAXO/flux_automat/wind_gustiness_bias.txt'
+res=read_ascii(fi_ws,data_start=1)
+ff=res.field01
+erai_wind=reform(ff(4,*))
+gust=reform(ff(9,*))
+
+print, correlate(erai_wind,gust)
+
+fi_sst='/Users/pkb/work/MY_SAXO/flux_automat/raw_sst_2000_2008_gustiness.txt'
+res=read_ascii(fi_sst,data_start=1)
+ff=res.field1
+erai_sst=reform(ff(4,*))
+
+print, correlate(erai_sst,gust)
+
+;-----------------------------------------------------------------------
+splot, erai_wind, gust, small=[2,3,1], title='a) ERAI Wind Vs Gustiness', $
+      xtitle='ERAI wind', ytitle='Cronin gustiness', charsize=1.2, psym=2 , $
+      xrange=[0,10], yrange=[0.5,2.5]
+ab=linfit(erai_wind, gust,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, erai_wind, yfit, thick=3, color=250
+cor=correlate(erai_wind,gust)
+xyouts, 2,-0.2, 'cor = -0.574303', charsize=1.2
+xyouts, 2,-0.4, 'y = -0.212379 x + 2.84459', charsize=1.2
+print, a,b
+
+splot, erai_sst, gust, small=[2,3,2],/noer, title='b) ERAI SST Vs Gustiness', $
+      xtitle='ERAI SST', ytitle='Cronin gustiness', charsize=1.2, psym=2 , $
+      xrange=[22,32], yrange=[0.5,2.5], lct=39, xmin=1, ymin=1
+ab=linfit(erai_sst, gust,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, erai_sst, yfit, thick=3, color=250
+cor=correlate(erai_sst, gust)
+xyouts, 21,-0.2, 'cor = 0.803099', charsize=1.2
+xyouts, 21,-0.4, 'y = 0.175712 x -3.17303', charsize=1.2
+print, a,b
+;-----------------------------------------------------------------------
+closeps
+fig='fig5_gustiness_scatter.ps'
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+end
+
Index: /trunk/src/paper01/fig5/raw_sst_2000_2008_gustiness.txt
===================================================================
--- /trunk/src/paper01/fig5/raw_sst_2000_2008_gustiness.txt	(revision 41)
+++ /trunk/src/paper01/fig5/raw_sst_2000_2008_gustiness.txt	(revision 41)
@@ -0,0 +1,82 @@
+x    y    cor   mean_moor    mean_erai     std_moor    std_erai      rmsd  no_obs
+ -1.50    90.00   0.85   29.30   29.31     0.30     0.30    0.30    868
+  8.00    90.00   0.86   28.80   28.70     0.32     0.30    0.31    562
+ 15.00    90.00   0.94   28.13   28.00     1.03     1.13    0.37    237
+ -5.00    95.00   0.83   28.78   28.79     0.26     0.31    0.31    761
+ -8.00   165.00   0.86   29.65   29.59     0.27     0.27    0.28   2156
+ -8.00   180.00   0.87   29.64   29.56     0.20     0.21    0.25   2294
+ -8.00   205.00   0.92   28.76   28.65     0.34     0.30    0.25   2706
+ -8.00   235.00   0.96   26.63   26.64     0.68     0.67    0.22   2682
+ -8.00   250.00   0.98   25.55   25.59     1.38     1.32    0.25   2472
+ -8.00   265.00   0.99   24.55   24.61     4.03     4.03    0.29   2356
+ -5.00   156.00   0.84   29.80   29.70     0.24     0.24    0.30   2129
+ -5.00   165.00   0.81   29.88   29.79     0.16     0.17    0.27   2626
+ -5.00   180.00   0.90   29.50   29.41     0.37     0.35    0.28   1717
+ -5.00   190.00   0.93   29.02   28.95     0.41     0.39    0.25   2224
+ -5.00   205.00   0.93   28.08   28.05     0.49     0.44    0.27   2641
+ -5.00   220.00   0.94   27.25   27.24     0.54     0.51    0.24   1563
+ -5.00   235.00   0.97   26.23   26.23     1.08     1.06    0.27   2863
+ -5.00   250.00   0.97   25.27   25.33     1.90     1.84    0.34   2414
+ -5.00   265.00   0.98   24.96   25.03     3.66     3.57    0.39   1898
+ -2.00   156.00   0.80   29.78   29.72     0.20     0.19    0.29   2456
+ -2.00   165.00   0.88   29.76   29.67     0.35     0.36    0.30   1662
+ -2.00   180.00   0.96   28.95   28.93     0.94     0.90    0.28   3088
+ -2.00   190.00   0.95   28.14   28.03     0.87     0.88    0.33   1694
+ -2.00   205.00   0.95   27.45   27.39     1.05     0.94    0.31   2461
+ -2.00   220.00   0.94   26.69   26.62     1.01     0.85    0.35   2413
+ -2.00   235.00   0.96   25.45   25.37     2.00     1.75    0.42   2553
+ -2.00   250.00   0.97   24.65   24.61     2.73     2.38    0.39   1723
+ -2.00   265.00   0.99   23.97   24.02     4.70     4.60    0.37   1250
+  0.00   147.00   0.74   29.78   29.76     0.17     0.19    0.31   2194
+  0.00   156.00   0.86   29.65   29.62     0.28     0.25    0.27   2208
+  0.00   165.00   0.93   29.52   29.52     0.55     0.49    0.27   2207
+  0.00   180.00   0.97   28.79   28.84     1.14     1.02    0.26   1891
+  0.00   190.00   0.97   27.65   27.73     1.21     1.16    0.27   2616
+  0.00   205.00   0.97   26.81   26.95     1.16     1.05    0.28   2377
+  0.00   220.00   0.94   25.86   26.06     1.01     0.90    0.41   2714
+  0.00   235.00   0.93   24.84   25.12     1.68     1.53    0.54   2662
+  0.00   250.00   0.94   23.95   24.17     3.12     2.77    0.65   2376
+  0.00   265.00   0.92   23.90   24.15     4.25     3.53    0.86   1451
+  2.00   147.00   0.71   29.71   29.75     0.15     0.17    0.31   1877
+  2.00   156.00   0.79   29.72   29.72     0.18     0.17    0.27   1909
+  2.00   165.00   0.93   29.32   29.28     0.58     0.58    0.28   1743
+  2.00   180.00   0.97   28.77   28.73     1.10     1.10    0.27   2498
+  2.00   190.00   0.96   28.28   28.18     1.11     1.18    0.31   2224
+  2.00   205.00   0.93   27.59   27.52     0.56     0.58    0.30   2074
+  2.00   220.00   0.94   26.77   26.69     1.18     1.00    0.37   2866
+  2.00   235.00   0.92   26.20   26.12     1.46     1.32    0.47   1965
+  2.00   250.00   0.91   25.97   25.67     2.28     2.19    0.70   2196
+  2.00   265.00   0.88   26.32   25.95     1.37     1.62    0.72   1491
+  5.00   147.00   0.75   29.50   29.54     0.17     0.19    0.31   2332
+  5.00   156.00   0.76   29.47   29.45     0.14     0.14    0.26   1958
+  5.00   165.00   0.85   29.28   29.24     0.22     0.23    0.26   2553
+  5.00   190.00   0.94   28.78   28.71     0.60     0.61    0.28   2147
+  5.00   205.00   0.93   28.00   27.91     0.75     0.68    0.32   2379
+  5.00   220.00   0.92   27.47   27.42     0.81     0.68    0.36   2915
+  5.00   235.00   0.87   27.32   27.21     0.71     0.73    0.45   1997
+  5.00   250.00   0.91   27.41   27.25     0.82     0.85    0.41   2382
+  5.00   265.00   0.93   27.54   27.47     0.83     0.92    0.35   1610
+  8.00   156.00   0.87   29.19   29.16     0.24     0.26    0.25   1922
+  8.00   165.00   0.89   28.94   28.89     0.23     0.26    0.24   2236
+  8.00   180.00   0.93   28.68   28.58     0.41     0.41    0.25   1987
+  8.00   190.00   0.93   28.40   28.29     0.43     0.44    0.26   3064
+  9.00   220.00   0.94   27.27   27.20     0.79     0.77    0.32   2282
+  8.00   235.00   0.89   27.64   27.55     0.35     0.41    0.31   1374
+  8.00   250.00   0.93   27.89   27.87     0.49     0.50    0.27   2175
+  8.00   265.00   0.93   27.72   27.80     1.19     1.10    0.41   1795
+  0.00   350.00   0.97   26.06   26.11     4.18     3.54    0.54   1560
+  0.00   337.00   0.94   26.45   26.51     1.40     1.23    0.40   1465
+  0.00   325.00   0.87   27.46   27.52     0.38     0.36    0.32    955
+-10.00   350.00   0.99   25.27   25.18     2.14     2.08    0.26   2654
+ 12.00   337.00   0.95   26.90   26.43     1.74     2.42    0.71    639
+ 12.00   322.00   0.96   26.73   26.49     1.48     1.46    0.41   1185
+-14.00   328.00   0.98   26.87   26.74     1.05     1.13    0.25    409
+ 15.00   322.00   0.97   25.99   25.86     1.79     1.69    0.35   1323
+-19.00   326.00   0.99   26.16   26.05     2.54     2.50    0.26   1122
+ 20.00   322.00   0.97   25.24   25.20     0.96     1.03    0.25    451
+ 21.00   337.00   0.91   23.92   23.57     1.30     1.13    0.58    242
+  4.00   337.00   0.82   28.10   28.07     0.33     0.38    0.37    726
+  4.00   322.00   0.72   28.07   28.03     0.12     0.21    0.32   1868
+ -6.00   350.00   0.98   26.02   25.95     2.55     2.46    0.31   1852
+  8.00   322.00   0.92   27.82   27.68     0.71     0.93    0.41   1886
+ -8.00   330.00   0.98   27.46   27.38     0.92     0.89    0.22   1091
Index: /trunk/src/paper01/fig5/wind_gustiness_bias.txt
===================================================================
--- /trunk/src/paper01/fig5/wind_gustiness_bias.txt	(revision 41)
+++ /trunk/src/paper01/fig5/wind_gustiness_bias.txt	(revision 41)
@@ -0,0 +1,84 @@
+    x        y    cor  mean_moor mean_erai std_moor std_erai rmsd   no    gustiness
+ -1.50    90.00   0.93    4.15    3.85     5.82     4.87    0.96    868    2.12679219
+  8.00    90.00   0.96    6.17    5.52     7.24     5.80    0.99    562    1.6604768
+ 15.00    90.00   0.94    4.99    4.39     4.73     3.34    0.96    237    1.74407935
+ -5.00    95.00   0.85    4.09    4.79     6.16     5.01    1.51    761    2.10787487
+ -8.00   165.00   0.92    4.74    4.76     5.64     4.61    0.94   2156    2.19033933
+ -8.00   180.00   0.92    4.93    4.94     4.51     3.58    0.83   2294    2.10460973
+ -8.00   205.00   0.94    6.27    6.02     3.31     2.60    0.67   2706    1.60423625
+ -8.00   235.00   0.95    7.49    7.13     2.06     1.66    0.58   2682    1.25181901
+ -8.00   250.00   0.93    7.63    7.29     1.58     1.31    0.58   2472    1.16572273
+ -8.00   265.00   0.92    7.23    6.92     2.07     1.90    0.63   2356    1.23607051
+ -5.00   156.00   0.82    3.89    4.23     5.09     3.52    1.32   2129    2.20694232
+ -5.00   165.00   0.91    4.31    4.23     4.52     3.35    0.91   2626    2.1426053
+ -5.00   180.00   0.91    5.25    5.07     4.30     3.17    0.87   1717    1.86035025
+ -5.00   190.00   0.94    5.98    5.62     3.85     2.73    0.77   2224    1.60099316
+ -5.00   205.00   0.95    6.89    6.37     2.96     2.29    0.75   2641    1.30318379
+ -5.00   220.00   0.95    7.37    6.75     2.63     2.07    0.82   1563    1.29647636
+ -5.00   235.00   0.94    7.40    6.90     2.23     1.73    0.73   2863    1.26742911
+ -5.00   250.00   0.88    7.06    6.72     2.22     1.59    0.78   2414    1.24883521
+ -5.00   265.00   0.89    6.34    5.81     2.50     2.00    0.90   1898    1.31834495
+ -2.00   156.00   0.95    4.02    3.95     4.83     3.76    0.70   2456    2.12076044
+ -2.00   165.00   0.92    4.40    4.18     4.33     2.95    0.87   1662    1.96011448
+ -2.00   180.00   0.95    5.73    5.23     4.46     3.18    0.87   3088    1.63484907
+ -2.00   190.00   0.94    6.57    6.06     3.54     2.31    0.86   1694    1.38381898
+ -2.00   205.00   0.94    7.00    6.47     2.72     2.00    0.79   2461    1.24695981
+ -2.00   220.00   0.92    7.01    6.59     2.43     1.87    0.74   2413    1.21631241
+ -2.00   235.00   0.90    6.30    6.07     2.78     2.09    0.78   2553    1.22332525
+ -2.00   250.00   0.90    5.63    5.45     3.32     2.60    0.81   1723    1.23106384
+ -2.00   265.00   0.88    4.78    4.62     2.54     2.07    0.78   1250    1.18390799
+  0.00   147.00   0.95    3.64    3.58     4.00     3.04    0.67   2194    2.10333014
+  0.00   156.00   0.95    3.98    3.86     4.34     3.33    0.68   2208    2.09075403
+  0.00   165.00   0.92    4.56    4.27     4.80     3.27    0.91   2207    1.85428727
+  0.00   180.00   0.95    5.53    5.17     4.63     3.33    0.79   1891    1.64239228
+  0.00   190.00   0.95    6.53    5.99     3.41     2.50    0.80   2616    1.34006011
+  0.00   205.00   0.94    6.61    6.26     2.70     2.08    0.68   2377    1.20531869
+  0.00   220.00   0.90    6.48    6.20     2.63     1.87    0.76   2714    1.16118658
+  0.00   235.00   0.89    5.68    5.75     2.86     2.31    0.78   2662    1.20679188
+  0.00   250.00   0.84    5.22    5.30     2.99     2.07    0.93   2376    1.20477104
+  0.00   265.00   0.86    4.69    4.58     3.31     2.45    0.93   1451    1.24063027
+  2.00   147.00   0.94    3.57    3.58     3.95     3.14    0.70   1877    2.22834229
+  2.00   156.00   0.94    3.86    3.85     4.21     3.25    0.69   1909    2.19517255
+  2.00   165.00   0.93    4.93    4.72     4.68     3.46    0.83   1743    1.93157351
+  2.00   180.00   0.94    5.73    5.44     5.05     3.53    0.85   2498    1.65780163
+  2.00   190.00   0.93    6.38    5.89     3.95     2.73    0.92   2224    1.63708818
+  2.00   205.00   0.92    6.82    6.19     2.99     2.20    0.93   2074    1.32465076
+  2.00   220.00   0.92    7.06    6.20     2.94     1.89    1.11   2866    1.27019513
+  2.00   235.00   0.93    6.76    5.97     2.92     1.90    1.04   1965    1.2005794
+  2.00   250.00   0.91    6.17    5.28     3.56     2.41    1.18   2196    1.27787375
+  2.00   265.00   0.92    5.92    5.06     3.64     2.81    1.14   1491    1.35070133
+  5.00   147.00   0.95    4.18    4.30     4.83     4.01    0.71   2332    2.2071712
+  5.00   156.00   0.93    4.56    4.69     5.15     4.30    0.84   1958    2.23034954
+  5.00   165.00   0.93    5.32    5.30     5.59     4.58    0.87   2553    2.16230178
+  5.00   190.00   0.93    6.01    6.10     5.60     4.45    0.88   2147    1.98682833   
+  5.00   205.00   0.89    6.26    6.13     4.26     3.69    0.93   2379    1.96068263
+  5.00   220.00   0.87    6.37    6.03     3.34     2.53    0.97   2915    1.73952734
+  5.00   235.00   0.88    6.08    5.62     3.27     2.01    1.00   1997    1.70297492
+  5.00   250.00   0.91    5.97    5.39     3.88     2.52    1.01   2382    1.61468399
+  5.00   265.00   0.90    5.17    4.72     5.13     3.50    1.08   1610    1.7541188
+  8.00   156.00   0.96    5.56    5.54     6.57     5.28    0.75   1922    2.05155873
+  8.00   165.00   0.96    6.44    6.21     6.38     4.99    0.78   2236    2.03547215
+  8.00   180.00   0.95    6.43    6.53     6.88     5.49    0.85   1987    2.03275561
+  8.00   190.00   0.95    6.92    6.96     7.28     5.63    0.89   3064    2.08145666
+  9.00   220.00   0.94    7.08    6.97     8.52     7.05    0.98   2282    2.09006906
+  8.00   235.00   0.91    5.89    5.53     6.54     4.64    1.14   1374    2.20250511
+  8.00   250.00   0.93    5.72    5.36     5.11     3.61    0.95   2175    1.97277224
+  8.00   265.00   0.92    5.14    4.81     5.25     3.82    0.98   1795    2.05357099
+  0.00   350.00   0.88    5.45    4.91     1.98     1.50    0.86   1560    1.40237975
+  0.00   337.00   0.93    5.62    5.24     3.41     2.45    0.79   1465    1.37056923
+  0.00   325.00   0.95    6.20    6.09     4.03     2.89    0.69    955    1.53438449
+-10.00   350.00   0.93    7.10    7.05     1.65     1.58    0.47   2654    1.18328428
+ 12.00   337.00   0.95    6.03    5.25     4.65     3.72    1.04    639    1.57367945
+ 12.00   322.00   0.94    7.26    7.01     5.15     4.16    0.80   1185    1.63638079
+-14.00   328.00   0.95    7.23    6.71     2.36     2.26    0.72    409    1.45908761
+ 15.00   322.00   0.96    7.51    7.30     3.31     3.02    0.52   1323    1.41792166
+-19.00   326.00   0.92    5.88    5.65     3.81     3.24    0.78   1122    1.87937617
+ 20.00   322.00   0.96    6.66    6.53     4.95     4.60    0.63    451    1.46222162
+ 21.00   337.00   0.97    7.48    7.16     4.36     3.56    0.63    242    1.28668702
+  4.00   337.00   0.91    4.71    4.24     5.00     2.71    1.11    726    1.86854255
+  4.00   322.00   0.91    5.84    5.81     3.99     2.30    0.90   1868    1.85661042
+ -6.00   350.00   0.92    7.18    6.69     1.55     1.39    0.70   1852    1.17429602
+  8.00   322.00   0.95    6.14    5.96     6.94     5.65    0.89   1886    1.915223
+ -8.00   330.00   0.96    7.39    7.06     2.11     1.99    0.54   1091    1.34732926
+
+
Index: /trunk/src/paper01/fig6/icoads_q2m_stats_paper.pro
===================================================================
--- /trunk/src/paper01/fig6/icoads_q2m_stats_paper.pro	(revision 41)
+++ /trunk/src/paper01/fig6/icoads_q2m_stats_paper.pro	(revision 41)
@@ -0,0 +1,187 @@
+pro icoads_q2m_stats_paper
+@common
+;-----------------------------------------------
+reinitplt, /z,/invert
+key_portrait = 1
+coefpalit=.9
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+; partie a changer
+;------------------------------------------------------------
+marge=[-2,-2, -4,2]
+st=19890101 & en=20091231
+domdef, box
+
+file="/Volumes/Sanathana/ICOADS/Median/sphum_monthly_1960_2010_oafluxgrid.nc"
+initncdf, file
+icoads=read_ncdf("sphum", st, en , file=file,/nostr, box=box)
+help, icoads
+
+dir="/Volumes/Sanathana/monthly_met_var/"
+file=dir+"q2m_TropFlux_global_monthly_1989_2009.nc"
+initncdf, file
+trop=read_ncdf("q2m", st, en , file=file,/nostr, box=box)
+help, trop
+
+file=dir+"q2m_OAFlux_global_monthly_1989_2009.nc"
+initncdf, file
+oaf=read_ncdf("q2m", st, en , file=file,/nostr, box=box)
+help, oaf
+
+file=dir+"q2m_ERAI_global_monthly_1989_2009.nc"
+initncdf, file
+erai=read_ncdf("q2m", st, en , file=file,/nostr, box=box)
+help, erai
+
+file=dir+"q2m_NCEP2_global_monthly_1989_2009.nc"
+initncdf, file
+ncep2=1000*read_ncdf("q2m", st, en , file=file,/nostr, box=box)
+help, ncep2
+
+file=dir+"q2m_NCEP1_global_monthly_1989_2009.nc"
+initncdf, file
+ncep1=1000*read_ncdf("q2m", st, en , file=file,/nostr, box=box)
+help, ncep1
+
+
+si=size(trop) & nt=si(3)
+
+lat_rama=[67, 55, 55, 80.5, 80.5, 80.5, 80.5, 90, 90, 90, 90, 90, 90, 90, 95]
+lon_rama=[-8, -12, -8,-8, -1.5, 0, 1.5, -1.5, 0, 1.5, 4, 8, 12, 15, -5]
+
+lat_pirata=[0, 350, 337, 325, 350, 337, 322, 328, 322, 326, 322, 337, 337, 322, 350, 322, 330]
+lon_pirata=[0, 0, 0, 0, -10, 12, 12, -14, 15, -19, 20, 21, 4, 4, -6, 8, -8]
+
+lat_tao=[165, 180, 205, 235, 250, 265, 156, 165, 180, 190, 205, 220, 235, 250, 265, 156, 165, 180, 190, 205, 220, 235, 250, 265, 147, 156, $
+         165, 180, 190, 205, 220, 235, 250, 265, 147, 156, 165, 180, 190, 205, 220, 235, 250, 265, 147, 156, 165, 190, 205, 220, 235, 250, 265, $
+         156, 165, 180, 190, 220, 235, 250, 265]
+
+lon_tao=[-8, -8, -8, -8, -8, -8, -5, -5, -5, -5, -5, -5, -5, -5, -5, -2, -2, -2, -2, -2, -2, -2, -2, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, $
+          2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 8, 8, 8, 8, 9, 8, 8, 8]
+
+lat=[lat_rama, lat_pirata, lat_tao]
+lon=[lon_rama, lon_pirata, lon_tao]
+
+lat_tao=lat & lon_tao=lon
+nn=n_elements(lat)
+
+list=0
+for n=0, nn-1 do begin
+  x=lat_tao(n)
+  y=lon_tao(n)
+  dx=abs(reform(glamt-x)) & dy=abs(reform(gphit)-y)
+  ind=where((dx le 0.5) and (dy le 0.5))
+  if (total(ind) ge 0.) then begin
+    list=[list,ind]
+  endif
+endfor
+
+msk=replicate(1,nxt,nyt)
+msk(list)=!Values.f_nan
+
+mask=trop*0
+for jt=0,jpt-1 do begin
+  t=reform(msk(*,*))
+  mask(*,*,jt)=t
+endfor
+
+param=icoads*mask
+trop=trop*mask & oaf=oaf*mask & erai=erai*mask
+ncep2=ncep2*mask & ncep1=ncep1*mask
+
+
+ind=where(finite(param) and finite(erai) and finite(trop) and finite(oaf) and finite(ncep2) and finite(ncep1))
+x=param(ind) & y=trop(ind)
+param=param(ind) & trop=trop(ind) & erai=erai(ind) & oaf=oaf(ind) & ncep2=ncep2(ind) & ncep1=ncep1(ind)
+
+;
+statistics, param, trop, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_trop=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.3,2x,f4.2,1x,f6.2)')
+abs_diff=total(abs(trop-param))/n_elements(trop)
+abs_trop=string(abs_diff, format='(f5.2)')
+;
+statistics, param, oaf, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_oaf=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.3,2x,f4.2,1x,f6.2)')
+abs_diff=total(abs(oaf-param))/n_elements(oaf)
+abs_oaf=string(abs_diff, format='(f5.2)')
+
+;
+statistics, param, erai, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_erai=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.3,2x,f4.2,1x,f6.2)')
+abs_diff=total(abs(erai-param))/n_elements(erai)
+abs_erai=string(abs_diff, format='(f5.2)')
+
+;
+statistics, param, ncep2, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_ncep2=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.3,2x,f4.2,1x,f6.2)')
+abs_diff=total(abs(ncep2-param))/n_elements(ncep2)
+abs_ncep2=string(abs_diff, format='(f5.2)')
+
+;
+statistics, param, ncep1, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_ncep1=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.3,2x,f4.2,1x,f6.2)')
+abs_diff=total(abs(ncep1-param))/n_elements(ncep1)
+abs_ncep1=string(abs_diff, format='(f5.2)')
+
+;
+mio=4 & mao=24 & inx=1 & nx=(mao-mio)/inx+1l & xx=mio+indgen(nx)*inx
+mis=4 & mas=24 & iny=1 & ny=(mas-mis)/iny+1l & yy=mis+indgen(ny)*iny
+;
+pdf, param,trop,mio,mao,inx,mis,mas,iny, $
+    pdf,xx,yy
+scontour, pdf,xx,yy ,/noer, charsize=1, nlevels=30,/fill, $
+    title="q2m - ICOADS/TropFlux", small=[2,3,1]
+xyouts, 10, 6, cstat_trop, charsize=1
+xyouts, 10, 4, abs_trop, charsize=1
+
+;
+pdf, param,oaf,mio,mao,inx,mis,mas,iny, $
+    pdf,xx,yy
+scontour, pdf,xx,yy ,/noer, charsize=1, nlevels=30,/fill, $
+    title="q2m - ICOADS/OAFlux", small=[2,3,2]
+xyouts, 10, 6, cstat_oaf, charsize=1
+xyouts, 10, 4, abs_oaf, charsize=1
+
+;
+pdf, param,erai,mio,mao,inx,mis,mas,iny, $
+    pdf,xx,yy
+scontour, pdf,xx,yy ,/noer, charsize=1, nlevels=30,/fill, $
+    title="q2m - ICOADS/ERAI", small=[2,3,3]
+xyouts, 10, 6, cstat_erai, charsize=1
+xyouts, 10, 4, abs_erai, charsize=1
+
+;
+pdf, param,ncep2,mio,mao,inx,mis,mas,iny, $
+    pdf,xx,yy
+scontour, pdf,xx,yy ,/noer, charsize=1, nlevels=30,/fill, $
+    title="q2m - ICOADS/NCEP2", small=[2,3,4]
+xyouts, 10, 6, cstat_ncep2, charsize=1
+xyouts, 10, 4, abs_ncep2, charsize=1
+
+;
+pdf, param,ncep1,mio,mao,inx,mis,mas,iny, $
+    pdf,xx,yy
+scontour, pdf,xx,yy ,/noer, charsize=1, nlevels=30,/fill, $
+    title="q2m - ICOADS/NCEP1", small=[2,3,5]
+xyouts, 10, 6, cstat_ncep1, charsize=1
+xyouts, 10, 4, abs_ncep1, charsize=1
+
+;------------------------------------------------------------
+closeps
+fig="icoads_q2m_stats_paper.ps"
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+;------------------------------------------------------------
+return
+end
Index: /trunk/src/paper01/fig6/icoads_sst_stats_paper.pro
===================================================================
--- /trunk/src/paper01/fig6/icoads_sst_stats_paper.pro	(revision 41)
+++ /trunk/src/paper01/fig6/icoads_sst_stats_paper.pro	(revision 41)
@@ -0,0 +1,214 @@
+pro icoads_sst_stats_paper
+@common
+;-----------------------------------------------
+reinitplt, /z,/invert
+key_portrait = 1
+coefpalit=.9
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+; partie a changer
+;------------------------------------------------------------
+marge=[-2,-2, -4,2]
+st=19890101 & en=20091231
+domdef, box
+
+file="/Volumes/Sanathana/ICOADS/Median/sst_monthly_1960_2010_oafluxgrid.nc"
+initncdf, file
+icoads=read_ncdf("sst", st-1, en , file=file,/nostr, box=box)
+help, icoads
+
+dir="/Volumes/Sanathana/monthly_met_var/"
+file=dir+"sst_TropFlux_global_monthly_1989_2009.nc"
+initncdf, file
+trop=read_ncdf("sst", st, en , file=file,/nostr, box=box)-273.15
+help, trop
+
+file=dir+"sst_OAFlux_global_monthly_1989_2009.nc"
+initncdf, file
+oaf=read_ncdf("sst", st, en , file=file,/nostr, box=box)
+help, oaf
+
+file=dir+"sst_ERAI_global_monthly_1989_2009.nc"
+initncdf, file
+erai=read_ncdf("sst", st, en , file=file,/nostr, box=box)-273.15
+help, erai
+
+file=dir+"sst_NCEP2_global_monthly_1989_2009.nc"
+initncdf, file
+ncep2=read_ncdf("sst", st, en , file=file,/nostr, box=box)-273.15
+help, ncep2
+
+file="/Volumes/Sanathana/NOC_v2/oaflux_grid/nocv2_sst_19890101_20091231_oafluxgrid.nc"
+initncdf, file
+noc=read_ncdf("sst", st, en , file=file,/nostr, box=box)
+help, noc
+
+file=dir+"sst_NCEP1_global_monthly_1989_2009.nc"
+initncdf, file
+ncep1=read_ncdf("sst", st, en , file=file,/nostr, box=box)-273.15
+help, ncep1
+
+
+si=size(trop) & nt=si(3)
+
+lat_rama=[67, 55, 55, 80.5, 80.5, 80.5, 80.5, 90, 90, 90, 90, 90, 90, 90, 95]
+lon_rama=[-8, -12, -8,-8, -1.5, 0, 1.5, -1.5, 0, 1.5, 4, 8, 12, 15, -5]
+
+lat_pirata=[0, 350, 337, 325, 350, 337, 322, 328, 322, 326, 322, 337, 337, 322, 350, 322, 330]
+lon_pirata=[0, 0, 0, 0, -10, 12, 12, -14, 15, -19, 20, 21, 4, 4, -6, 8, -8]
+
+lat_tao=[165, 180, 205, 235, 250, 265, 156, 165, 180, 190, 205, 220, 235, 250, 265, 156, 165, 180, 190, 205, 220, 235, 250, 265, 147, 156, $
+         165, 180, 190, 205, 220, 235, 250, 265, 147, 156, 165, 180, 190, 205, 220, 235, 250, 265, 147, 156, 165, 190, 205, 220, 235, 250, 265, $
+         156, 165, 180, 190, 220, 235, 250, 265]
+
+lon_tao=[-8, -8, -8, -8, -8, -8, -5, -5, -5, -5, -5, -5, -5, -5, -5, -2, -2, -2, -2, -2, -2, -2, -2, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, $
+          2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 8, 8, 8, 8, 9, 8, 8, 8]
+
+lat=[lat_rama, lat_pirata, lat_tao]
+lon=[lon_rama, lon_pirata, lon_tao]
+
+lat_tao=lat & lon_tao=lon
+nn=n_elements(lat)
+
+list=0
+for n=0, nn-1 do begin
+  x=lat_tao(n)
+  y=lon_tao(n)
+  dx=abs(reform(glamt-x)) & dy=abs(reform(gphit)-y)
+  ind=where((dx le 0.5) and (dy le 0.5))
+  if (total(ind) ge 0.) then begin
+    list=[list,ind]
+  endif
+endfor
+
+msk=replicate(1,nxt,nyt)
+msk(list)=!Values.f_nan
+
+mask=trop*0
+for jt=0,jpt-1 do begin
+  t=reform(msk(*,*))
+  mask(*,*,jt)=t
+endfor
+
+param=icoads*mask
+trop=trop*mask & oaf=oaf*mask & erai=erai*mask
+ncep2=ncep2*mask & ncep1=ncep1*mask
+noc=noc*mask 
+
+ind=where(finite(param) and finite(erai) and finite(trop) and finite(oaf) and finite(ncep2) and finite(ncep1))
+x=param(ind) & y=trop(ind)
+param=param(ind) & trop=trop(ind) & erai=erai(ind) & oaf=oaf(ind) & ncep2=ncep2(ind) & ncep1=ncep1(ind)
+noc=noc(ind)
+
+;
+statistics, param, trop, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_trop=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.3,2x,f4.2,1x,f6.2)')
+abs_diff=total(abs(trop-param))/n_elements(trop)
+abs_trop=string(abs_diff, format='(f5.2)')
+
+statistics, param, oaf, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_oaf=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.3,2x,f4.2,1x,f6.2)')
+abs_diff=total(abs(oaf-param))/n_elements(oaf)
+abs_oaf=string(abs_diff, format='(f5.2)')
+
+;
+statistics, param, erai, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_erai=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.3,2x,f4.2,1x,f6.2)')
+abs_diff=total(abs(erai-param))/n_elements(erai)
+abs_erai=string(abs_diff, format='(f5.2)')
+
+;
+statistics, param, ncep2, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_ncep2=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.3,2x,f4.2,1x,f6.2)')
+abs_diff=total(abs(ncep2-param))/n_elements(ncep2)
+abs_ncep2=string(abs_diff, format='(f5.2)')
+;
+statistics, param, ncep1, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_ncep1=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.3,2x,f4.2,1x,f6.2)')
+abs_diff=total(abs(ncep1-param))/n_elements(ncep1)
+abs_ncep1=string(abs_diff, format='(f5.2)')
+;
+statistics, param, noc, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_noc=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.3,2x,f4.2,1x,f6.2)')
+abs_diff=total(abs(noc-param))/n_elements(noc)
+abs_noc=string(abs_diff, format='(f5.2)')
+
+;
+mio=15 & mao=32 & inx=1 & nx=(mao-mio)/inx+1l & xx=mio+indgen(nx)*inx
+mis=15 & mas=32 & iny=1 & ny=(mas-mis)/iny+1l & yy=mis+indgen(ny)*iny
+xp=18 & yp=16.5
+x1=15 & x2=32 & y1=x1 & y2=x2
+;
+pdf, param,trop,mio,mao,inx,mis,mas,iny, $
+    pdf,xx,yy
+scontour, pdf,xx,yy ,/noer, charsize=1, nlevels=30,/fill, $
+    title="sst - ICOADS/TropFlux", small=[2,3,1], $
+    xrange=[x1, x2], yrange=[y1, y2]
+xyouts, xp, yp, cstat_trop, charsize=1
+xyouts, xp, yp-1, abs_trop, charsize=1
+
+;
+pdf, param,oaf,mio,mao,inx,mis,mas,iny, $
+    pdf,xx,yy
+scontour, pdf,xx,yy ,/noer, charsize=1, nlevels=30,/fill, $
+    title="sst - ICOADS/OAFlux", small=[2,3,2], $
+     xrange=[x1, x2], yrange=[y1, y2]
+xyouts, xp, yp, cstat_oaf, charsize=1
+xyouts, xp, yp-1, abs_oaf, charsize=1
+
+;
+pdf, param,erai,mio,mao,inx,mis,mas,iny, $
+    pdf,xx,yy
+scontour, pdf,xx,yy ,/noer, charsize=1, nlevels=30,/fill, $
+    title="sst - ICOADS/ERAI", small=[2,3,3], $
+    xrange=[x1, x2], yrange=[y1, y2]
+xyouts, xp, yp, cstat_erai, charsize=1
+xyouts, xp, yp-1, abs_erai, charsize=1
+
+;
+pdf, param,ncep2,mio,mao,inx,mis,mas,iny, $
+    pdf,xx,yy
+scontour, pdf,xx,yy ,/noer, charsize=1, nlevels=30,/fill, $
+    title="sst - ICOADS/NCEP2", small=[2,3,4], $
+    xrange=[x1, x2], yrange=[y1, y2]
+xyouts, xp, yp, cstat_ncep2, charsize=1
+xyouts, xp, yp-1, abs_ncep2, charsize=1
+
+;
+pdf, param,ncep1,mio,mao,inx,mis,mas,iny, $
+    pdf,xx,yy
+scontour, pdf,xx,yy ,/noer, charsize=1, nlevels=30,/fill, $
+    title="sst - ICOADS/NCEP1", small=[2,3,5], $
+    xrange=[x1, x2], yrange=[y1, y2]
+xyouts, xp, yp, cstat_ncep1, charsize=1
+xyouts, xp, yp-1, abs_ncep1, charsize=1
+
+pdf, param,noc,mio,mao,inx,mis,mas,iny, $
+    pdf,xx,yy
+scontour, pdf,xx,yy ,/noer, charsize=1, nlevels=30,/fill, $
+    title="sst - ICOADS/NOC", small=[2,3,6], $
+    xrange=[x1, x2], yrange=[y1, y2]
+xyouts, xp, yp, cstat_noc, charsize=1
+xyouts, xp, yp-1, abs_noc, charsize=1
+
+;------------------------------------------------------------
+closeps
+fig="icoads_sst_stats_paper.ps"
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+;------------------------------------------------------------
+return
+end
Index: /trunk/src/paper01/fig6/icoads_t2m_stats_paper.pro
===================================================================
--- /trunk/src/paper01/fig6/icoads_t2m_stats_paper.pro	(revision 41)
+++ /trunk/src/paper01/fig6/icoads_t2m_stats_paper.pro	(revision 41)
@@ -0,0 +1,195 @@
+pro icoads_t2m_stats_paper
+@common
+;-----------------------------------------------
+reinitplt, /z,/invert
+key_portrait = 1
+coefpalit=.9
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+; partie a changer
+;------------------------------------------------------------
+marge=[-2,-2, -4,2]
+st=19890101 & en=20091231
+domdef, box
+
+file="/Volumes/Sanathana/ICOADS/Median/airt_monthly_1960_2010_oafluxgrid.nc"
+initncdf, file
+icoads=read_ncdf("airt", st-1, en , file=file,/nostr, box=box)
+help, icoads
+
+dir="/Volumes/Sanathana/monthly_met_var/"
+file=dir+"t2m_TropFlux_global_monthly_1989_2009.nc"
+initncdf, file
+trop=read_ncdf("t2m", st, en , file=file,/nostr, box=box)-273.15
+help, trop
+
+file=dir+"t2m_OAFlux_global_monthly_1989_2009.nc"
+initncdf, file
+oaf=read_ncdf("t2m", st, en , file=file,/nostr, box=box)
+help, oaf
+
+file=dir+"t2m_ERAI_global_monthly_1989_2009.nc"
+initncdf, file
+erai=read_ncdf("t2m", st, en , file=file,/nostr, box=box)-273.15
+help, erai
+
+file=dir+"t2m_NCEP2_global_monthly_1989_2009.nc"
+initncdf, file
+ncep2=read_ncdf("t2m", st, en , file=file,/nostr, box=box)-273.15
+help, ncep2
+
+file=dir+"t2m_NCEP1_global_monthly_1989_2009.nc"
+initncdf, file
+ncep1=read_ncdf("t2m", st, en , file=file,/nostr, box=box)-273.15
+help, ncep1
+
+
+si=size(trop) & nt=si(3)
+
+lat_rama=[67, 55, 55, 80.5, 80.5, 80.5, 80.5, 90, 90, 90, 90, 90, 90, 90, 95]
+lon_rama=[-8, -12, -8,-8, -1.5, 0, 1.5, -1.5, 0, 1.5, 4, 8, 12, 15, -5]
+
+lat_pirata=[0, 350, 337, 325, 350, 337, 322, 328, 322, 326, 322, 337, 337, 322, 350, 322, 330]
+lon_pirata=[0, 0, 0, 0, -10, 12, 12, -14, 15, -19, 20, 21, 4, 4, -6, 8, -8]
+
+lat_tao=[165, 180, 205, 235, 250, 265, 156, 165, 180, 190, 205, 220, 235, 250, 265, 156, 165, 180, 190, 205, 220, 235, 250, 265, 147, 156, $
+         165, 180, 190, 205, 220, 235, 250, 265, 147, 156, 165, 180, 190, 205, 220, 235, 250, 265, 147, 156, 165, 190, 205, 220, 235, 250, 265, $
+         156, 165, 180, 190, 220, 235, 250, 265]
+
+lon_tao=[-8, -8, -8, -8, -8, -8, -5, -5, -5, -5, -5, -5, -5, -5, -5, -2, -2, -2, -2, -2, -2, -2, -2, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, $
+          2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 8, 8, 8, 8, 9, 8, 8, 8]
+
+lat=[lat_rama, lat_pirata, lat_tao]
+lon=[lon_rama, lon_pirata, lon_tao]
+
+lat_tao=lat & lon_tao=lon
+nn=n_elements(lat)
+
+list=0
+for n=0, nn-1 do begin
+  x=lat_tao(n)
+  y=lon_tao(n)
+  dx=abs(reform(glamt-x)) & dy=abs(reform(gphit)-y)
+  ind=where((dx le 0.5) and (dy le 0.5))
+  if (total(ind) ge 0.) then begin
+    list=[list,ind]
+  endif
+endfor
+
+msk=replicate(1,nxt,nyt)
+msk(list)=!Values.f_nan
+
+mask=trop*0
+for jt=0,jpt-1 do begin
+  t=reform(msk(*,*))
+  mask(*,*,jt)=t
+endfor
+
+param=icoads*mask
+trop=trop*mask & oaf=oaf*mask & erai=erai*mask
+ncep2=ncep2*mask & ncep1=ncep1*mask
+
+
+ind=where(finite(param) and finite(erai) and finite(trop) and finite(oaf) and finite(ncep2) and finite(ncep1))
+x=param(ind) & y=trop(ind)
+param=param(ind) & trop=trop(ind) & erai=erai(ind) & oaf=oaf(ind) & ncep2=ncep2(ind) & ncep1=ncep1(ind)
+
+;
+statistics, param, trop, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_trop=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.3,2x,f4.2,1x,f6.2)')
+abs_diff=total(abs(trop-param))/n_elements(trop)
+abs_trop=string(abs_diff, format='(f5.2)')
+;
+statistics, param, oaf, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_oaf=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.3,2x,f4.2,1x,f6.2)')
+abs_diff=total(abs(oaf-param))/n_elements(oaf)
+abs_oaf=string(abs_diff, format='(f5.2)')
+
+;
+statistics, param, erai, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_erai=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.3,2x,f4.2,1x,f6.2)')
+abs_diff=total(abs(erai-param))/n_elements(erai)
+abs_erai=string(abs_diff, format='(f5.2)')
+
+;
+statistics, param, ncep2, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_ncep2=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.3,2x,f4.2,1x,f6.2)')
+abs_diff=total(abs(ncep2-param))/n_elements(ncep2)
+abs_ncep2=string(abs_diff, format='(f5.2)')
+
+;
+statistics, param, ncep1, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_ncep1=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.3,2x,f4.2,1x,f6.2)')
+abs_diff=total(abs(ncep1-param))/n_elements(ncep1)
+abs_ncep1=string(abs_diff, format='(f5.2)')
+
+;
+mio=15 & mao=32 & inx=1 & nx=(mao-mio)/inx+1l & xx=mio+indgen(nx)*inx
+mis=15 & mas=32 & iny=1 & ny=(mas-mis)/iny+1l & yy=mis+indgen(ny)*iny
+xp=16 & yp=14
+
+x1=13 & x2=32 & y1=x1 & y2=x2
+;
+pdf, param,trop,mio,mao,inx,mis,mas,iny, $
+    pdf,xx,yy
+scontour, pdf,xx,yy ,/noer, charsize=1, nlevels=30,/fill, $
+    title="t2m - ICOADS/TropFlux", small=[2,3,1], $
+    xrange=[x1, x2], yrange=[y1, y2]
+xyouts, xp, yp, cstat_trop, charsize=1
+xyouts, xp, yp-1, abs_trop, charsize=1
+
+;
+pdf, param,oaf,mio,mao,inx,mis,mas,iny, $
+    pdf,xx,yy
+scontour, pdf,xx,yy ,/noer, charsize=1, nlevels=30,/fill, $
+    title="t2m - ICOADS/OAFlux", small=[2,3,2], $
+     xrange=[x1, x2], yrange=[y1, y2]
+xyouts, xp, yp, cstat_oaf, charsize=1
+xyouts, xp, yp-1, abs_oaf, charsize=1
+
+;
+pdf, param,erai,mio,mao,inx,mis,mas,iny, $
+    pdf,xx,yy
+scontour, pdf,xx,yy ,/noer, charsize=1, nlevels=30,/fill, $
+    title="t2m - ICOADS/ERAI", small=[2,3,3], $
+    xrange=[x1, x2], yrange=[y1, y2]
+xyouts, xp, yp, cstat_erai, charsize=1
+xyouts, xp, yp-1, abs_erai, charsize=1
+
+;
+pdf, param,ncep2,mio,mao,inx,mis,mas,iny, $
+    pdf,xx,yy
+scontour, pdf,xx,yy ,/noer, charsize=1, nlevels=30,/fill, $
+    title="t2m - ICOADS/NCEP2", small=[2,3,4], $
+    xrange=[x1, x2], yrange=[y1, y2]
+xyouts, xp, yp, cstat_ncep2, charsize=1
+xyouts, xp, yp-1, abs_ncep2, charsize=1
+
+;
+pdf, param,ncep1,mio,mao,inx,mis,mas,iny, $
+    pdf,xx,yy
+scontour, pdf,xx,yy ,/noer, charsize=1, nlevels=30,/fill, $
+    title="t2m - ICOADS/NCEP1", small=[2,3,5], $
+    xrange=[x1, x2], yrange=[y1, y2]
+xyouts, xp, yp, cstat_ncep1, charsize=1
+xyouts, xp, yp-1, abs_ncep1, charsize=1
+
+;------------------------------------------------------------
+closeps
+fig="icoads_t2m_stats_paper.ps"
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+;------------------------------------------------------------
+return
+end
Index: /trunk/src/paper01/fig6/icoads_ws_stats_paper.pro
===================================================================
--- /trunk/src/paper01/fig6/icoads_ws_stats_paper.pro	(revision 41)
+++ /trunk/src/paper01/fig6/icoads_ws_stats_paper.pro	(revision 41)
@@ -0,0 +1,211 @@
+pro icoads_ws_stats_paper
+@common
+;-----------------------------------------------
+reinitplt, /z,/invert
+key_portrait = 1
+coefpalit=.9
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+; partie a changer
+;------------------------------------------------------------
+marge=[-2,-2, -4,2]
+st=19890101 & en=20091231
+domdef, box
+
+file="/Volumes/Sanathana/ICOADS/Median/ws_monthly_1960_2010_oafluxgrid.nc"
+initncdf, file
+icoads=read_ncdf("ws", st-1, en , file=file,/nostr, box=box)
+help, icoads
+
+dir="/Volumes/Sanathana/monthly_met_var/"
+file=dir+"ws_TropFlux_global_monthly_1989_2009.nc"
+initncdf, file
+trop=read_ncdf("ws", st, en , file=file,/nostr, box=box)
+help, trop
+
+file=dir+"ws_OAFlux_global_monthly_1989_2009.nc"
+initncdf, file
+oaf=read_ncdf("ws", st, en , file=file,/nostr, box=box)
+help, oaf
+
+file=dir+"ws_ERAI_global_monthly_1989_2009.nc"
+initncdf, file
+erai=read_ncdf("ws", st, en , file=file,/nostr, box=box)
+help, erai
+
+file=dir+"ws_NCEP2_global_monthly_1989_2009.nc"
+initncdf, file
+ncep2=read_ncdf("wsm", st, en , file=file,/nostr, box=box)
+help, ncep2
+
+file=dir+"ws_NCEP1_global_monthly_1989_2009.nc"
+initncdf, file
+ncep1=read_ncdf("ws", st, en , file=file,/nostr, box=box)
+help, ncep1
+
+file="/Volumes/Sanathana/NOC_v2/oaflux_grid/nocv2_ws_19890101_20091231_oafluxgrid.nc"
+initncdf, file
+noc=read_ncdf("ws", st, en , file=file,/nostr, box=box)
+help, noc
+
+si=size(trop) & nt=si(3)
+
+lat_rama=[67, 55, 55, 80.5, 80.5, 80.5, 80.5, 90, 90, 90, 90, 90, 90, 90, 95]
+lon_rama=[-8, -12, -8,-8, -1.5, 0, 1.5, -1.5, 0, 1.5, 4, 8, 12, 15, -5]
+
+lat_pirata=[0, 350, 337, 325, 350, 337, 322, 328, 322, 326, 322, 337, 337, 322, 350, 322, 330]
+lon_pirata=[0, 0, 0, 0, -10, 12, 12, -14, 15, -19, 20, 21, 4, 4, -6, 8, -8]
+
+lat_tao=[165, 180, 205, 235, 250, 265, 156, 165, 180, 190, 205, 220, 235, 250, 265, 156, 165, 180, 190, 205, 220, 235, 250, 265, 147, 156, $
+         165, 180, 190, 205, 220, 235, 250, 265, 147, 156, 165, 180, 190, 205, 220, 235, 250, 265, 147, 156, 165, 190, 205, 220, 235, 250, 265, $
+         156, 165, 180, 190, 220, 235, 250, 265]
+
+lon_tao=[-8, -8, -8, -8, -8, -8, -5, -5, -5, -5, -5, -5, -5, -5, -5, -2, -2, -2, -2, -2, -2, -2, -2, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, $
+          2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 8, 8, 8, 8, 9, 8, 8, 8]
+
+lat=[lat_rama, lat_pirata, lat_tao]
+lon=[lon_rama, lon_pirata, lon_tao]
+
+lat_tao=lat & lon_tao=lon
+nn=n_elements(lat)
+
+list=0
+for n=0, nn-1 do begin
+  x=lat_tao(n)
+  y=lon_tao(n)
+  dx=abs(reform(glamt-x)) & dy=abs(reform(gphit)-y)
+  ind=where((dx le 0.5) and (dy le 0.5))
+  if (total(ind) ge 0.) then begin
+    list=[list,ind]
+  endif
+endfor
+
+msk=replicate(1,nxt,nyt)
+msk(list)=!Values.f_nan
+
+mask=trop*0
+for jt=0,jpt-1 do begin
+  t=reform(msk(*,*))
+  mask(*,*,jt)=t
+endfor
+
+param=icoads*mask
+trop=trop*mask & oaf=oaf*mask & erai=erai*mask
+ncep2=ncep2*mask & ncep1=ncep1*mask
+noc=noc*mask
+
+ind=where(finite(param) and finite(noc) and finite(erai) and finite(trop) and finite(oaf) and finite(ncep2) and finite(ncep1))
+x=param(ind) & y=trop(ind)
+param=param(ind) & trop=trop(ind) & erai=erai(ind) & oaf=oaf(ind) & ncep2=ncep2(ind) & ncep1=ncep1(ind)
+noc=noc(ind)
+
+;
+statistics, param, trop, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_trop=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.3,2x,f4.2,1x,f6.2)')
+abs_diff=total(abs(trop-param))/n_elements(trop)
+abs_trop=string(abs_diff, format='(f5.2)')
+;
+statistics, param, oaf, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_oaf=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.3,2x,f4.2,1x,f6.2)')
+abs_diff=total(abs(oaf-param))/n_elements(oaf)
+abs_oaf=string(abs_diff, format='(f5.2)')
+;
+statistics, param, erai, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_erai=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.3,2x,f4.2,1x,f6.2)')
+abs_diff=total(abs(erai-param))/n_elements(erai)
+abs_erai=string(abs_diff, format='(f5.2)')
+
+;
+statistics, param, ncep2, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_ncep2=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.3,2x,f4.2,1x,f6.2)')
+abs_diff=total(abs(ncep2-param))/n_elements(ncep2)
+abs_ncep2=string(abs_diff, format='(f5.2)')
+;
+statistics, param, ncep1, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_ncep1=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.3,2x,f4.2,1x,f6.2)')
+abs_diff=total(abs(ncep1-param))/n_elements(ncep1)
+abs_ncep1=string(abs_diff, format='(f5.2)')
+;
+statistics, param, noc, $
+                 cor, bias, std, rmsd
+print, cor, bias, std,  rmsd
+cstat_noc=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.3,2x,f4.2,1x,f6.2)')
+abs_diff=total(abs(noc-param))/n_elements(noc)
+abs_noc=string(abs_diff, format='(f5.2)')
+;
+mio=0 & mao=15 & inx=1 & nx=(mao-mio)/inx+1l & xx=mio+indgen(nx)*inx
+mis=0 & mas=15 & iny=1 & ny=(mas-mis)/iny+1l & yy=mis+indgen(ny)*iny
+xp=4 & yp=13
+x1=0 & x2=15 & y1=x1 & y2=x2
+;
+pdf, param,trop,mio,mao,inx,mis,mas,iny, $
+    pdf,xx,yy
+scontour, pdf,xx,yy ,/noer, charsize=1, nlevels=30,/fill, $
+    title="ws - ICOADS/TropFlux", small=[2,3,1], $
+    xrange=[x1, x2], yrange=[y1, y2]
+xyouts, xp, yp, cstat_trop, charsize=1
+xyouts, xp, yp-1, abs_trop, charsize=1
+
+;
+pdf, param,oaf,mio,mao,inx,mis,mas,iny, $
+    pdf,xx,yy
+scontour, pdf,xx,yy ,/noer, charsize=1, nlevels=30,/fill, $
+    title="ws - ICOADS/OAFlux", small=[2,3,2], $
+     xrange=[x1, x2], yrange=[y1, y2]
+xyouts, xp, yp, cstat_oaf, charsize=1
+xyouts, xp, yp-1, abs_oaf, charsize=1
+
+;
+pdf, param,erai,mio,mao,inx,mis,mas,iny, $
+    pdf,xx,yy
+scontour, pdf,xx,yy ,/noer, charsize=1, nlevels=30,/fill, $
+    title="ws - ICOADS/ERAI", small=[2,3,3], $
+    xrange=[x1, x2], yrange=[y1, y2]
+xyouts, xp, yp, cstat_erai, charsize=1
+xyouts, xp, yp-1, abs_erai, charsize=1
+
+;
+pdf, param,ncep2,mio,mao,inx,mis,mas,iny, $
+    pdf,xx,yy
+scontour, pdf,xx,yy ,/noer, charsize=1, nlevels=30,/fill, $
+    title="ws - ICOADS/NCEP2", small=[2,3,4], $
+    xrange=[x1, x2], yrange=[y1, y2]
+xyouts, xp, yp, cstat_ncep2, charsize=1
+xyouts, xp, yp-1, abs_ncep2, charsize=1
+
+;
+pdf, param,ncep1,mio,mao,inx,mis,mas,iny, $
+    pdf,xx,yy
+scontour, pdf,xx,yy ,/noer, charsize=1, nlevels=30,/fill, $
+    title="ws - ICOADS/NCEP1", small=[2,3,5], $
+    xrange=[x1, x2], yrange=[y1, y2]
+xyouts, xp, yp, cstat_ncep1, charsize=1
+xyouts, xp, yp-1, abs_ncep1, charsize=1
+;
+pdf, param,noc,mio,mao,inx,mis,mas,iny, $
+    pdf,xx,yy
+scontour, pdf,xx,yy ,/noer, charsize=1, nlevels=30,/fill, $
+    title="ws - ICOADS/NOC", small=[2,3,6], $
+    xrange=[x1, x2], yrange=[y1, y2]
+xyouts, xp, yp, cstat_noc, charsize=1
+xyouts, xp, yp-1, abs_noc, charsize=1
+
+;------------------------------------------------------------
+closeps
+fig="icoads_ws_stats_paper.ps"
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+;------------------------------------------------------------
+return
+end
Index: /trunk/src/paper01/fig6/statistics.pro
===================================================================
--- /trunk/src/paper01/fig6/statistics.pro	(revision 41)
+++ /trunk/src/paper01/fig6/statistics.pro	(revision 41)
@@ -0,0 +1,29 @@
+pro statistics, moor, erai, $
+   cor, bias, std, rmsd
+@common
+;--------------------------------------------
+;; mean1= mean of mooring variable      std1=std of mooring variable
+;; mean2= mean of erai variable         std2=std of erai variable
+;--------------------------------------------
+x=moor & y=erai
+ind1=where(finite(x,/nan)) & ind2=where(finite(y,/nan))
+ind=inter(ind1,ind2)
+if (ind ne -1 ) then begin
+   x(ind)=!Values.f_nan &y(ind)=!Values.f_nan
+endif
+
+ind=where(finite(x))
+x=x(ind) & y=y(ind)
+
+nn=n_elements(ind)
+
+cor=correlate(x,y)
+xxx=moment(x)
+mean1=xxx(0) & std1=sqrt(xxx(1))
+xxx=moment(y)
+mean2=xxx(0) & std2=sqrt(xxx(1))
+bias=mean2-mean1 & std=std2/std1
+rmsd=sqrt(total((x-y)*(x-y))/n_elements(x))
+end
+;--------------------------------------------   
+
Index: /trunk/src/paper01/fig7/air_validation_scatter_2000_2009_basin.pro
===================================================================
--- /trunk/src/paper01/fig7/air_validation_scatter_2000_2009_basin.pro	(revision 41)
+++ /trunk/src/paper01/fig7/air_validation_scatter_2000_2009_basin.pro	(revision 41)
@@ -0,0 +1,385 @@
+;------------------------------------------------------------
+pro air_validation_scatter_2000_2009,date1,date2
+@common
+;------------------------------------------------------------
+
+reinitplt, /z,/invert
+key_portrait = 1
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+;; Before running this program, you have to compile the following subrutines
+;;   1.  .r read_era_total
+;;   2.  .r read_variables_v2
+;;   3.  .r read_era_box
+
+;; Give the location of mooring for validation of basic meteorological variables
+
+
+sitelist=['8s67e','12s55e', '8s55e', '8s80.5e', '1.5s80.5e', '0n80.5e', '1.5n80.5e', '1.5s90e', $
+           '0n90e', '1.5n90e', '4n90e','8n90e','12n90e', '15n90e', '5s95e', $
+           '8s165e', '8s180w',  '8s155w', '8s125w', '8s110w', '8s95w',  '5s156e', '5s165e', '5s180w', '5s170w', $
+          '5s155w', '5s140w', '5s125w', '5s110w', '5s95w', '2s156e', '2s165e', '2s180w', '2s170w', '2s155w', '2s140w', $
+          '2s125w', '2s110w', '2s95w', '0n147e', '0n156e', '0n165e', '0n180w', '0n170w', '0n155w', '0n140w', '0n125w', $
+          '0n110w', '0n95w', '2n147e', '2n156e', '2n165e', '2n180w', '2n170w', '2n155w', '2n140w', '2n125w', '2n110w', $
+          '2n95w', '5n147e', '5n156e', '5n165e', '5n170w', '5n155w', '5n140w', '5n125w', '5n110w', '5n95w', $
+          '8n156e', '8n165e', '8n180w', '8n170w', '9n140w', '8n125w', '8n110w', '8n95w', $
+          '0n0e', '0n10w', '0n23w', '0n35w', '10s10w', '12n23w', '12n38w', '14s32w', '15n38w', '19s34w', '20n38w', $
+          '21n23w', '4n23w', '4n38w', '6s10w', '8n38w', '8s30w']
+
+ocean='global'
+
+sitelist=['8s67e','12s55e', '8s55e', '8s80.5e', '1.5s80.5e', '0n80.5e', '1.5n80.5e', '1.5s90e', $
+           '0n90e', '1.5n90e', '4n90e','8n90e','12n90e', '15n90e', '5s95e']
+ocean='IO'
+
+;sitelist=['8s165e', '8s180w',  '8s155w', '8s125w', '8s110w', '8s95w',  '5s156e', '5s165e', '5s180w', '5s170w', $
+;          '5s155w', '5s140w', '5s125w', '5s110w', '5s95w', '2s156e', '2s165e', '2s180w', '2s170w', '2s155w', '2s140w', $
+;          '2s125w', '2s110w', '2s95w', '0n147e', '0n156e', '0n165e', '0n180w', '0n170w', '0n155w', '0n140w', '0n125w', $
+;          '0n110w', '0n95w', '2n147e', '2n156e', '2n165e', '2n180w', '2n170w', '2n155w', '2n140w', '2n125w', '2n110w', $
+;          '2n95w', '5n147e', '5n156e', '5n165e', '5n170w', '5n155w', '5n140w', '5n125w', '5n110w', '5n95w', $
+;          '8n156e', '8n165e', '8n180w', '8n170w', '9n140w', '8n125w', '8n110w', '8n95w']
+;ocean='Pac'
+
+;sitelist=['0n0e', '0n10w', '0n23w', '0n35w', '10s10w', '12n23w', '12n38w', '14s32w', '15n38w', '19s34w', '20n38w', $
+;          '21n23w', '4n23w', '4n38w', '6s10w', '8n38w', '8s30w']
+;ocean='AO'
+
+;sitelist=['8s165e', '8s180w',  '8s155w','5s156e', '5s165e', '5s180w', '5s170w','2s156e', '2s165e', '2s180w', $
+;          '2s170w','0n147e', '0n156e', '0n165e', '0n180w', '0n170w', '2n147e', '2n156e', '2n165e', '2n180w', $
+;          '2n170w', '5n147e', '5n156e', '5n165e', '5n170w', '8n156e', '8n165e', '8n180w', '8n170w', '9n140w',$
+;          '8n125w', '8n110w', '8n95w']
+;ocean='Pac_warmpool'
+
+;sitelist=['8s125w', '8s110w', '8s95w','5s155w', '5s140w', '5s125w', '5s110w', '5s95w','2s155w', '2s140w', $
+;          '2s125w', '2s110w', '2s95w', '0n155w', '0n140w', '0n125w', '0n110w', '0n95w', '2n155w', '2n140w', $
+;         '2n125w', '2n110w', '2n95w',  '5n155w', '5n140w', '5n125w', '5n110w', '5n95w']
+;ocean='Pac_coldtongue'
+
+;sitelist=['0n0e','0n35w', '4n23w', '4n38w', '8n38w']
+;ocean='AO_warmpool'
+
+;sitelist=['0n10w','0n23w','10s10w','12n23w','12n38w','14s32w','15n38w', '19s34w','20n38w', $
+;          '21n23w', '6s10w', '8s30w']
+;ocean='AO_coldtongue'
+
+nsmooth=1.    ;; statistics are with 7 day smoothed
+;------------------------------------------------------------------------------------------------------------------------
+;;   This program will create the following text files with statistics of respective variables
+;------------------------------------------------------------------------------------------------------------------------
+close,/all
+
+fi_air_erai='/Users/pkb/work/MY_SAXO/flux_automat/air_2000_2009_erai_'+ocean+'.txt'
+openw,1,fi_air_erai
+fi_air_trop='/Users/pkb/work/MY_SAXO/flux_automat/air_2000_2009_trop_'+ocean+'.txt'
+openw,2,fi_air_trop
+fi_air_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/air_2000_2009_oaflx_'+ocean+'.txt'
+openw,3,fi_air_oaflx
+fi_air_ncep2='/Users/pkb/work/MY_SAXO/flux_automat/air_2000_2009_ncep2_'+ocean+'.txt'
+openw,4,fi_air_ncep2
+fi_air_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/air_2000_2009_ncep1_'+ocean+'.txt'
+openw,5,fi_air_ncep1
+
+
+printf,1, 'x     y      cor    bias     std     rmsd    mean_tao'
+printf,2, 'x     y      cor    bias     std     rmsd    mean_tao'
+printf,3, 'x     y      cor    bias     std     rmsd    mean_tao'
+printf,4, 'x     y      cor    bias     std     rmsd    mean_tao'
+printf,5, 'x     y      cor    bias     std     rmsd    mean_tao'
+
+;------------------------------------------------------------------------------------------------------------------------
+;; first reading the whole ERAI uncorrected and corrected data
+
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_t2m_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+unc=read_ncdf('t2m',date1,date2,file=file,/nostr) & unc=unc-273.15 
+help, unc
+
+;file='/Volumes/Iomega_HDD/TropFlux/input_cor/full_cor/TropFlux_t2m_19890101_20091231_v3.nc'
+;file="/Users/pkb/data/TropFlux/TropFlux_t2m_19890101_20091231_v50.nc"
+;initncdf, file
+;cor=read_ncdf('t2m',date1,date2,file=file,/nostr) & cor=cor-273.15
+;help, cor
+
+;file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/OAFlux_basic_variables_1985_2009.nc'
+;initncdf, file
+;oaf=read_ncdf("air", date1, date2, file=file,/nostr)
+;help, oaf
+
+;fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/air_2m_ncep2_oafluxgrid_19890101_20091231.nc'
+;initncdf, fi
+;nce=read_ncdf("air", date1-1, date2, file=fi,/nostr) 
+;nce=nce-273.15
+;help, nce
+
+;file='/Volumes/Iomega_HDD/flux_reconstruction/ncep/t2m_ncep1_19890101_20091231.nc'
+;initncdf, file
+;nce1=read_ncdf("t2m", date1, date2, file=file,/nostr) 
+;nce1=nce1-273.15
+;help, nce1
+
+;save, unc, cor, oaf, nce, nce1, filename="airt_unc_cor_oaf_nce_nce1_2000_2009_global.idl"
+restore, file="/Users/pkb/work/MY_SAXO/airt_unc_cor_oaf_nce_nce1_2000_2009_global.idl"
+help, unc, cor, oaf, nce, nce1
+
+;------------------------------------------------------------------------------------------------------------------------
+nn=n_elements(sitelist)
+date1=date1
+date2=date2
+for n=0, nn-1 do begin
+
+;; reading data from mooring
+
+    site=sitelist(n) & csite=site
+    print, csite
+    x=x_site_location(site)
+    y=y_site_location(site)
+    if (y ge 0. and y le 30.) then y=y+360.
+    dx=0.5 & dy=0.5 & box=[y-dy, y+dy, x-dx, x+dx]
+    read_variables_v2, csite,date1,date2,nsmooth, $
+         at, sw,rh,sst,wu,wv,ws,lh
+
+
+;    air=rh_to_sphum(rh,at,1008)               ;;        at  ->  air temperature
+    air=at                                               ;;        air ->  sea surface temperature
+                                                ;;        lh  ->  latent heat flux
+                                                ;;        rh  ->  relative humidity
+                                                ;;   wu,wv,ws ->  wind speed    
+;;    
+
+
+;;  extracting the corrected and uncorrected ERAI data at the locations
+    nsmooth=1.
+
+    extract_flux_tropflux,unc,box, $
+        tropflux
+    uncr=tropflux
+
+     extract_flux_tropflux,cor,box, $  
+        tropflux
+     corr=tropflux
+    
+     extract_flux_tropflux,oaf,box, $
+        tropflux
+     oafl=tropflux
+
+     extract_flux_tropflux,nce,box, $
+        tropflux
+     ncep=tropflux
+
+     extract_flux_tropflux,nce1,box, $
+        tropflux
+     ncep1=tropflux
+
+
+    ind=where(finite(air)) & air=air(ind) & uncr_air=uncr(ind)  & corr_air=corr(ind) 
+    oafl=oafl(ind) & ncep=ncep(ind) & ncep1=ncep1(ind)
+    mean_tao=total(air,/nan)/n_elements(ind)
+     
+    statistics_3var_v1, air, uncr_air, corr_air, $
+         cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+ 
+    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)'
+    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)'
+
+    statistics_3var_v1, air, oafl, ncep, $
+         cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+    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)'
+    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)'
+
+    statistics_3var_v1, air, ncep1, ncep, $
+         cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+    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)'
+
+endfor
+;-----------------------------------------------------------------------------------------
+close,/all  
+
+fi_air_erai='/Users/pkb/work/MY_SAXO/flux_automat/air_2000_2009_erai_'+ocean+'.txt'
+res=read_ascii(fi_air_erai,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_era=reform(ff(2,*))   & cor_erai=total(cor_era)/n_elements(cor_era)
+bias_era=reform(ff(3,*))  & bias_erai=total(bias_era)/n_elements(bias_era)
+std_era=reform(ff(4,*))   & std_erai=total(std_era)/n_elements(std_era)
+rmsd_era=reform(ff(5,*))  & rmsd_erai=total(rmsd_era)/n_elements(rmsd_era)
+mean_tao=reform(ff(6,*))  & mean_erai=bias_era+mean_tao
+
+print, ''
+print, 'ERAI'
+print, cor_erai, bias_erai, std_erai, rmsd_erai
+cstat=string(cor_erai, bias_erai, std_erai, rmsd_erai, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+splot, mean_tao, mean_erai, title='T2m - TAO Vs ERAI', subtitle='', $
+     charsize=1.1, xtitle='TAO T2m', ytitle='ERAI T2m', small=[2,3,1], psym=2, $
+     xrange=[22,31], yrange=[22,31], xmin=1,ymin=1
+xyouts, 22.3,30.2, cstat, charsize=0.9
+xyouts, 22.3,29.5, 'cor   bias   std   rmsd', charsize=0.9
+
+oplot, [22,31], [22,31]
+ab=linfit(mean_tao, mean_erai,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+fi_air_trop='/Users/pkb/work/MY_SAXO/flux_automat/air_2000_2009_trop_'+ocean+'.txt'
+res=read_ascii(fi_air_trop,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_tro=reform(ff(2,*))   & cor_trop=total(cor_tro)/n_elements(cor_tro)
+bias_tro=reform(ff(3,*))  & bias_trop=total(bias_tro)/n_elements(bias_tro)
+std_tro=reform(ff(4,*))   & std_trop=total(std_tro)/n_elements(std_tro)
+rmsd_tro=reform(ff(5,*))  & rmsd_trop=total(rmsd_tro)/n_elements(rmsd_tro)
+mean_tao=reform(ff(6,*))  & mean_trop=bias_tro+mean_tao
+
+print, ''
+print, 'TropFlux'
+print, cor_trop, bias_trop, std_trop, rmsd_trop
+cstat=string(cor_trop, bias_trop, std_trop, rmsd_trop, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_trop, title='T2m - TAO Vs TropFlux', subtitle='', $
+     charsize=1.1, xtitle='TAO T2m', ytitle='TropFlux T2m', small=[2,3,2],/noer, psym=2, $
+     xrange=[22,31], yrange=[22,31], xmin=1,ymin=1
+oplot, [22,31], [22,31]
+xyouts, 22.3,30.2, cstat, charsize=0.9
+xyouts, 22.3,29.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_trop,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+fi_air_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/air_2000_2009_oaflx_'+ocean+'.txt'
+res=read_ascii(fi_air_oaflx,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_oaf=reform(ff(2,*))   & cor_oafl=total(cor_oaf)/n_elements(cor_oaf)
+bias_oaf=reform(ff(3,*))  & bias_oafl=total(bias_oaf)/n_elements(bias_oaf)
+std_oaf=reform(ff(4,*))   & std_oafl=total(std_oaf)/n_elements(std_oaf)
+rmsd_oaf=reform(ff(5,*))  & rmsd_oafl=total(rmsd_oaf)/n_elements(rmsd_oaf)
+mean_tao=reform(ff(6,*))  & mean_oafl=bias_oaf+mean_tao
+
+print, ''
+print, 'OAFlux'
+print, cor_oafl, bias_oafl, std_oafl, rmsd_oafl
+cstat=string(cor_oafl, bias_oafl, std_oafl, rmsd_oafl, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_oafl, title='T2m - TAO Vs OAFlux', subtitle='', $
+     charsize=1.1, xtitle='TAO T2m', ytitle='OAFlux T2m', small=[2,3,3],/noer, psym=2, $
+     xrange=[22,31], yrange=[22,31], xmin=1,ymin=1
+oplot, [22,31], [22,31]
+xyouts, 22.3,30.2, cstat, charsize=0.9
+xyouts, 22.3,29.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_oafl,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+
+
+fi_air_ncep='/Users/pkb/work/MY_SAXO/flux_automat/air_2000_2009_ncep2_'+ocean+'.txt'
+res=read_ascii(fi_air_ncep,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_nce=reform(ff(2,*))   & cor_ncep=total(cor_nce)/n_elements(cor_nce)
+bias_nce=reform(ff(3,*))  & bias_ncep=total(bias_nce)/n_elements(bias_nce)
+std_nce=reform(ff(4,*))   & std_ncep=total(std_nce)/n_elements(std_nce)
+rmsd_nce=reform(ff(5,*))  & rmsd_ncep=total(rmsd_nce)/n_elements(rmsd_nce)
+mean_tao=reform(ff(6,*))  & mean_ncep=bias_nce+mean_tao
+
+print, ''
+print, 'NCEP2'
+print, cor_ncep, bias_ncep, std_ncep, rmsd_ncep
+cstat=string(cor_ncep, bias_ncep, std_ncep, rmsd_ncep, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_ncep, title='T2m - TAO Vs NCEP2', subtitle='', $
+     charsize=1.1, xtitle='TAO T2m', ytitle='NCEP2 T2m', small=[2,3,4],/noer, psym=2, $
+     xrange=[22,31], yrange=[22,31], xmin=1,ymin=1
+oplot, [22,31], [22,31]
+xyouts, 22.3,30.2, cstat, charsize=0.9
+xyouts, 22.3,29.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_ncep,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+fi_air_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/air_2000_2009_ncep1_'+ocean+'.txt'
+res=read_ascii(fi_air_ncep1,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_nce=reform(ff(2,*))   & cor_ncep=total(cor_nce)/n_elements(cor_nce)
+bias_nce=reform(ff(3,*))  & bias_ncep=total(bias_nce)/n_elements(bias_nce)
+std_nce=reform(ff(4,*))   & std_ncep=total(std_nce)/n_elements(std_nce)
+rmsd_nce=reform(ff(5,*))  & rmsd_ncep=total(rmsd_nce)/n_elements(rmsd_nce)
+mean_tao=reform(ff(6,*))  & mean_ncep=bias_nce+mean_tao
+
+print, ''
+print, 'NCEP1'
+print, cor_ncep, bias_ncep, std_ncep, rmsd_ncep
+cstat=string(cor_ncep, bias_ncep, std_ncep, rmsd_ncep, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_ncep, title='T2m - TAO Vs NCEP_NCAR', subtitle='', $
+     charsize=1.1, xtitle='TAO T2m', ytitle='NCEP', small=[2,3,5],/noer, psym=2, $
+     xrange=[22,31], yrange=[22,31], xmin=1,ymin=1
+oplot, [22,31], [22,31]
+xyouts, 22.3,30.2, cstat, charsize=0.9
+xyouts, 22.3,29.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_ncep,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+;-----------------------------------------------------------
+closeps
+
+fig='air_validation_scatter_2000_2009_'+ocean+'.ps'
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+return
+end
+;--------------------------------------------------------------------------
+function x_site_location, site
+    n1=strpos(site, 's')
+if (n1 gt -1) then begin
+    ns=-1.
+    x=strmid(site, 0, n1)
+    x=float(x)*ns
+endif else begin
+    n1=strpos(site, 'n')
+    x=strmid(site, 0, n1)
+    ny=1.
+    x=float(x)*ny
+endelse
+return, float(x)
+end
+;--------------------------------------------------------------------------
+function y_site_location, site
+    n1=strpos(site, 'e')
+if (n1 gt -1) then begin
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+    endelse
+
+endif else begin
+    n1=strpos(site, 'w')
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+   endelse
+endelse
+return,float(y)
+end
+
+;--------------------------------------------------------------------------
+
Index: /trunk/src/paper01/fig7/q2m_validation_scatter_2000_2009_basin.pro
===================================================================
--- /trunk/src/paper01/fig7/q2m_validation_scatter_2000_2009_basin.pro	(revision 41)
+++ /trunk/src/paper01/fig7/q2m_validation_scatter_2000_2009_basin.pro	(revision 41)
@@ -0,0 +1,382 @@
+;------------------------------------------------------------
+pro q2m_validation_scatter_2000_2009_basin,date1,date2
+@common
+;------------------------------------------------------------
+
+reinitplt, /z,/invert
+key_portrait = 1
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+;; Before running this program, you have to compile the following subrutines
+;;   1.  .r read_era_total
+;;   2.  .r read_variables_v2
+;;   3.  .r read_era_box
+
+;; Give the location of mooring for validation of basic meteorological variables
+
+
+sitelist=['8s67e','12s55e', '8s55e', '8s80.5e', '1.5s80.5e', '0n80.5e', '1.5n80.5e', '1.5s90e', $
+           '0n90e', '1.5n90e', '4n90e','8n90e','12n90e', '15n90e', '5s95e', $
+           '8s165e', '8s180w',  '8s155w', '8s125w', '8s110w', '8s95w',  '5s156e', '5s165e', '5s180w', '5s170w', $
+          '5s155w', '5s140w', '5s125w', '5s110w', '5s95w', '2s156e', '2s165e', '2s180w', '2s170w', '2s155w', '2s140w', $
+          '2s125w', '2s110w', '2s95w', '0n147e', '0n156e', '0n165e', '0n180w', '0n170w', '0n155w', '0n140w', '0n125w', $
+          '0n110w', '0n95w', '2n147e', '2n156e', '2n165e', '2n180w', '2n170w', '2n155w', '2n140w', '2n125w', '2n110w', $
+          '2n95w', '5n147e', '5n156e', '5n165e', '5n170w', '5n155w', '5n140w', '5n125w', '5n110w', '5n95w', $
+          '8n156e', '8n165e', '8n180w', '8n170w', '9n140w', '8n125w', '8n110w', '8n95w', $
+          '0n0e', '0n10w', '0n23w', '0n35w', '10s10w', '12n23w', '12n38w', '14s32w', '15n38w', '19s34w', '20n38w', $
+          '21n23w', '4n23w', '4n38w', '6s10w', '8n38w', '8s30w']
+
+ocean='global'
+
+sitelist=['8s67e','12s55e', '8s55e', '8s80.5e', '1.5s80.5e', '0n80.5e', '1.5n80.5e', '1.5s90e', $
+           '0n90e', '1.5n90e', '4n90e','8n90e','12n90e', '15n90e', '5s95e']
+ocean='IO'
+
+sitelist=['8s165e', '8s180w',  '8s155w', '8s125w', '8s110w', '8s95w',  '5s156e', '5s165e', '5s180w', '5s170w', $
+          '5s155w', '5s140w', '5s125w', '5s110w', '5s95w', '2s156e', '2s165e', '2s180w', '2s170w', '2s155w', '2s140w', $
+          '2s125w', '2s110w', '2s95w', '0n147e', '0n156e', '0n165e', '0n180w', '0n170w', '0n155w', '0n140w', '0n125w', $
+          '0n110w', '0n95w', '2n147e', '2n156e', '2n165e', '2n180w', '2n170w', '2n155w', '2n140w', '2n125w', '2n110w', $
+          '2n95w', '5n147e', '5n156e', '5n165e', '5n170w', '5n155w', '5n140w', '5n125w', '5n110w', '5n95w', $
+          '8n156e', '8n165e', '8n180w', '8n170w', '9n140w', '8n125w', '8n110w', '8n95w']
+ocean='Pac'
+
+sitelist=['0n0e', '0n10w', '0n23w', '0n35w', '10s10w', '12n23w', '12n38w', '14s32w', '15n38w', '19s34w', '20n38w', $
+          '21n23w', '4n23w', '4n38w', '6s10w', '8n38w', '8s30w']
+ocean='AO'
+
+sitelist=['8s165e', '8s180w',  '8s155w','5s156e', '5s165e', '5s180w', '5s170w','2s156e', '2s165e', '2s180w', $
+          '2s170w','0n147e', '0n156e', '0n165e', '0n180w', '0n170w', '2n147e', '2n156e', '2n165e', '2n180w', $
+          '2n170w', '5n147e', '5n156e', '5n165e', '5n170w', '8n156e', '8n165e', '8n180w', '8n170w', '9n140w',$
+          '8n125w', '8n110w', '8n95w']
+ocean='Pac_warmpool'
+
+;sitelist=['8s125w', '8s110w', '8s95w','5s155w', '5s140w', '5s125w', '5s110w', '5s95w','2s155w', '2s140w', $
+;          '2s125w', '2s110w', '2s95w', '0n155w', '0n140w', '0n125w', '0n110w', '0n95w', '2n155w', '2n140w', $
+;          '2n125w', '2n110w', '2n95w',  '5n155w', '5n140w', '5n125w', '5n110w', '5n95w']
+;ocean='Pac_coldtongue'
+
+;sitelist=['0n0e','0n35w', '4n23w', '4n38w', '8n38w']
+;ocean='AO_warmpool'
+
+;sitelist=['0n10w','0n23w','10s10w','12n23w','12n38w','14s32w','15n38w', '19s34w','20n38w', $
+;          '21n23w', '6s10w', '8s30w']
+;ocean='AO_coldtongue'
+
+nsmooth=1.    ;; statistics are with 7 day smoothed
+;------------------------------------------------------------------------------------------------------------------------
+;;   This program will create the following text files with statistics of respective variables
+;------------------------------------------------------------------------------------------------------------------------
+close,/all
+
+fi_q2m_erai='/Users/pkb/work/MY_SAXO/flux_automat/q2m_2000_2009_erai_'+ocean+'.txt'
+openw,1,fi_q2m_erai
+fi_q2m_trop='/Users/pkb/work/MY_SAXO/flux_automat/q2m_2000_2009_trop_'+ocean+'.txt'
+openw,2,fi_q2m_trop
+fi_q2m_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/q2m_2000_2009_oaflx_'+ocean+'.txt'
+openw,3,fi_q2m_oaflx
+fi_q2m_ncep='/Users/pkb/work/MY_SAXO/flux_automat/q2m_2000_2009_ncep_'+ocean+'.txt'
+openw,4,fi_q2m_ncep
+fi_q2m_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/q2m_2000_2009_ncep1_'+ocean+'.txt'
+openw,5,fi_q2m_ncep1
+
+
+printf,1, 'x     y      cor    bias     std     rmsd    mean_tao'
+printf,2, 'x     y      cor    bias     std     rmsd    mean_tao'
+printf,3, 'x     y      cor    bias     std     rmsd    mean_tao'
+printf,4, 'x     y      cor    bias     std     rmsd    mean_tao'
+printf,5, 'x     y      cor    bias     std     rmsd    mean_tao'
+
+;------------------------------------------------------------------------------------------------------------------------
+;; first reading the whole ERAI uncorrected and corrected data
+
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_q2m_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+unc=read_ncdf('q2m',date1,date2,file=file,/nostr)
+help, unc
+
+;file='/Volumes/Iomega_HDD/TropFlux/input_cor/full_cor/TropFlux_q2m_19890101_20091231_v20.nc'
+;initncdf, file
+;cor=read_ncdf('q2m',date1,date2,file=file,/nostr) 
+;help, cor
+
+;file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/OAFlux_basic_variables_1985_2009.nc'
+;initncdf, file
+;oaf=read_ncdf("sphum", date1, date2, file=file,/nostr)
+;help, oaf
+
+;fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/sphum_ncep2_oafluxgrid_19890101_20091231.nc'
+;initncdf, fi
+;nce=read_ncdf("shum", date1-1, date2, file=fi,/nostr) 
+;nce=nce*1000
+;help, nce
+
+;file='/Volumes/Iomega_HDD/flux_reconstruction/ncep/q2m_ncep1_19890101_20091231.nc'
+;initncdf, file
+;nce1=read_ncdf("q2m", date1, date2, file=file,/nostr)
+;nce1=nce1*1000
+;help, nce1
+
+;save, unc, cor, oaf, nce, nce1, filename="q2m_era_trop_oaf_nce_nce1_2000_2009_global.idl"
+restore, file="/Users/pkb/work/MY_SAXO/q2m_era_trop_oaf_nce_nce1_2000_2009_global.idl"
+help, unc, cor, oaf, nce, nce1
+
+;------------------------------------------------------------------------------------------------------------------------
+nn=n_elements(sitelist)
+date1=date1
+date2=date2
+for n=0, nn-1 do begin
+
+;; reading data from mooring
+
+    site=sitelist(n) & csite=site
+    print, csite
+    x=x_site_location(site)
+    y=y_site_location(site)
+    if (y ge 0. and y le 30.) then y=y+360.
+    dx=0.5 & dy=0.5 & box=[y-dy, y+dy, x-dx, x+dx]
+    read_variables_v2, csite,date1,date2,nsmooth, $
+         at, sw,rh,sst,wu,wv,ws,lh
+
+
+    q2m=rh_to_sphum(rh,at,1008)               ;;        at  ->  q2m temperature
+;    q2m=at                                               ;;        q2m ->  sea surface temperature
+                                                ;;        lh  ->  latent heat flux
+                                                ;;        rh  ->  relative humidity
+                                                ;;   wu,wv,ws ->  wind speed    
+;;    
+
+
+;;  extracting the corrected and uncorrected ERAI data at the locations
+    nsmooth=1.
+
+    extract_flux_tropflux,unc,box, $
+        tropflux
+    uncr=tropflux
+
+     extract_flux_tropflux,cor,box, $  
+        tropflux
+     corr=tropflux
+    
+     extract_flux_tropflux,oaf,box, $
+        tropflux
+     oafl=tropflux
+
+     extract_flux_tropflux,nce,box, $
+        tropflux
+     ncep=tropflux
+
+     extract_flux_tropflux,nce1,box, $
+        tropflux
+     ncep1=tropflux
+
+    ind=where(finite(q2m)) & q2m=q2m(ind) & uncr_q2m=uncr(ind)  & corr_q2m=corr(ind) 
+    oafl=oafl(ind) & ncep=ncep(ind) & ncep1=ncep1(ind) 
+    mean_tao=total(q2m,/nan)/n_elements(ind)
+     
+    statistics_3var_v1, q2m, uncr_q2m, corr_q2m, $
+         cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+ 
+    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)'
+    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)'
+
+    statistics_3var_v1, q2m, oafl, ncep, $
+         cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+    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)'
+    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)'
+
+    statistics_3var_v1, q2m, ncep1, ncep, $
+         cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+    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)'
+
+endfor
+;-----------------------------------------------------------------------------------------
+close,/all  
+
+fi_q2m_erai='/Users/pkb/work/MY_SAXO/flux_automat/q2m_2000_2009_erai_'+ocean+'.txt'
+res=read_ascii(fi_q2m_erai,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_era=reform(ff(2,*))   & cor_erai=total(cor_era)/n_elements(cor_era)
+bias_era=reform(ff(3,*))  & bias_erai=total(bias_era)/n_elements(bias_era)
+std_era=reform(ff(4,*))   & std_erai=total(std_era)/n_elements(std_era)
+rmsd_era=reform(ff(5,*))  & rmsd_erai=total(rmsd_era)/n_elements(rmsd_era)
+mean_tao=reform(ff(6,*))  & mean_erai=bias_era+mean_tao
+
+print, ''
+print, 'ERAI'
+print, cor_erai, bias_erai, std_erai, rmsd_erai
+cstat=string(cor_erai, bias_erai, std_erai, rmsd_erai, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+splot, mean_tao, mean_erai, title='Q2m - TAO Vs ERAI', subtitle='', $
+     charsize=1.1, xtitle='TAO Q2m', ytitle='ERAI Q2m', small=[2,3,1], psym=2, $
+     xrange=[11,21], yrange=[11,21], xmin=1,ymin=1
+xyouts, 12,20.2, cstat, charsize=0.9
+xyouts, 12,19.7, 'cor   bias   std   rmsd', charsize=0.9
+
+oplot, [11,21], [11,21]
+ab=linfit(mean_tao, mean_erai,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+fi_q2m_trop='/Users/pkb/work/MY_SAXO/flux_automat/q2m_2000_2009_trop_'+ocean+'.txt'
+res=read_ascii(fi_q2m_trop,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_tro=reform(ff(2,*))   & cor_trop=total(cor_tro)/n_elements(cor_tro)
+bias_tro=reform(ff(3,*))  & bias_trop=total(bias_tro)/n_elements(bias_tro)
+std_tro=reform(ff(4,*))   & std_trop=total(std_tro)/n_elements(std_tro)
+rmsd_tro=reform(ff(5,*))  & rmsd_trop=total(rmsd_tro)/n_elements(rmsd_tro)
+mean_tao=reform(ff(6,*))  & mean_trop=bias_tro+mean_tao
+
+print, ''
+print, 'TropFlux'
+print, cor_trop, bias_trop, std_trop, rmsd_trop
+cstat=string(cor_trop, bias_trop, std_trop, rmsd_trop, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_trop, title='Q2m - TAO Vs TropFlux', subtitle='', $
+     charsize=1.1, xtitle='TAO Q2m', ytitle='TropFlux Q2m', small=[2,3,2],/noer, psym=2, $
+     xrange=[11,21], yrange=[11,21], xmin=1,ymin=1
+oplot, [11,21], [11,21]
+xyouts, 12,20.2, cstat, charsize=0.9
+xyouts, 12,19.7, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_trop,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+fi_q2m_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/q2m_2000_2009_oaflx_'+ocean+'.txt'
+res=read_ascii(fi_q2m_oaflx,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_oaf=reform(ff(2,*))   & cor_oafl=total(cor_oaf)/n_elements(cor_oaf)
+bias_oaf=reform(ff(3,*))  & bias_oafl=total(bias_oaf)/n_elements(bias_oaf)
+std_oaf=reform(ff(4,*))   & std_oafl=total(std_oaf)/n_elements(std_oaf)
+rmsd_oaf=reform(ff(5,*))  & rmsd_oafl=total(rmsd_oaf)/n_elements(rmsd_oaf)
+mean_tao=reform(ff(6,*))  & mean_oafl=bias_oaf+mean_tao
+
+print, ''
+print, 'OAFlux'
+print, cor_oafl, bias_oafl, std_oafl, rmsd_oafl
+cstat=string(cor_oafl, bias_oafl, std_oafl, rmsd_oafl, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_oafl, title='Q2m - TAO Vs OAFlux', subtitle='', $
+     charsize=1.1, xtitle='TAO Q2m', ytitle='OAFlux Q2m', small=[2,3,3],/noer, psym=2, $
+     xrange=[11,21], yrange=[11,21], xmin=1,ymin=1
+oplot, [11,21], [11,21]
+xyouts, 12,20.2, cstat, charsize=0.9
+xyouts, 12,19.7, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_oafl,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+
+fi_q2m_ncep='/Users/pkb/work/MY_SAXO/flux_automat/q2m_2000_2009_ncep_'+ocean+'.txt'
+res=read_ascii(fi_q2m_ncep,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_nce=reform(ff(2,*))   & cor_ncep=total(cor_nce)/n_elements(cor_nce)
+bias_nce=reform(ff(3,*))  & bias_ncep=total(bias_nce)/n_elements(bias_nce)
+std_nce=reform(ff(4,*))   & std_ncep=total(std_nce)/n_elements(std_nce)
+rmsd_nce=reform(ff(5,*))  & rmsd_ncep=total(rmsd_nce)/n_elements(rmsd_nce)
+mean_tao=reform(ff(6,*))  & mean_ncep=bias_nce+mean_tao
+
+print, ''
+print, 'NCEP2'
+print, cor_ncep, bias_ncep, std_ncep, rmsd_ncep
+cstat=string(cor_ncep, bias_ncep, std_ncep, rmsd_ncep, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_ncep, title='Q2m - TAO Vs NCEP2', subtitle='', $
+     charsize=1.1, xtitle='TAO Q2m', ytitle='NCEP2 Q2m', small=[2,3,4],/noer, psym=2, $
+     xrange=[11,21], yrange=[11,21], xmin=1,ymin=1
+oplot, [11,21], [11,21]
+xyouts, 12,20.2, cstat, charsize=0.9
+xyouts, 12,19.7, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_ncep,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+fi_q2m_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/q2m_2000_2009_ncep1_'+ocean+'.txt'
+res=read_ascii(fi_q2m_ncep1,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_nce=reform(ff(2,*))   & cor_ncep=total(cor_nce)/n_elements(cor_nce)
+bias_nce=reform(ff(3,*))  & bias_ncep=total(bias_nce)/n_elements(bias_nce)
+std_nce=reform(ff(4,*))   & std_ncep=total(std_nce)/n_elements(std_nce)
+rmsd_nce=reform(ff(5,*))  & rmsd_ncep=total(rmsd_nce)/n_elements(rmsd_nce)
+mean_tao=reform(ff(6,*))  & mean_ncep=bias_nce+mean_tao
+
+print, ''
+print, 'NCEP1'
+print, cor_ncep, bias_ncep, std_ncep, rmsd_ncep
+cstat=string(cor_ncep, bias_ncep, std_ncep, rmsd_ncep, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_ncep, title='Q2m - TAO Vs NCEP', subtitle='', $
+     charsize=1.1, xtitle='TAO Q2m', ytitle='NCEP1 Q2m', small=[2,3,5],/noer, psym=2, $
+     xrange=[11,21], yrange=[11,21], xmin=1,ymin=1
+oplot, [11,21], [11,21]
+xyouts, 12,20.2, cstat, charsize=0.9
+xyouts, 12,19.7, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_ncep,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+;-----------------------------------------------------------
+closeps
+
+fig='q2m_validation_scatter_2000_2009_'+ocean+'.ps'
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+return
+end
+;--------------------------------------------------------------------------
+function x_site_location, site
+    n1=strpos(site, 's')
+if (n1 gt -1) then begin
+    ns=-1.
+    x=strmid(site, 0, n1)
+    x=float(x)*ns
+endif else begin
+    n1=strpos(site, 'n')
+    x=strmid(site, 0, n1)
+    ny=1.
+    x=float(x)*ny
+endelse
+return, float(x)
+end
+;--------------------------------------------------------------------------
+function y_site_location, site
+    n1=strpos(site, 'e')
+if (n1 gt -1) then begin
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+    endelse
+
+endif else begin
+    n1=strpos(site, 'w')
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+   endelse
+endelse
+return,float(y)
+end
+
+;--------------------------------------------------------------------------
+
Index: /trunk/src/paper01/fig7/sst_validation_scatter_2000_2009_basin.pro
===================================================================
--- /trunk/src/paper01/fig7/sst_validation_scatter_2000_2009_basin.pro	(revision 41)
+++ /trunk/src/paper01/fig7/sst_validation_scatter_2000_2009_basin.pro	(revision 41)
@@ -0,0 +1,405 @@
+;------------------------------------------------------------
+pro sst_validation_scatter_2000_2009_basin,date1,date2
+@common
+;------------------------------------------------------------
+
+reinitplt, /z,/invert
+key_portrait = 1
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+;; Before running this program, you have to compile the following subrutines
+;;   1.  .r read_era_total
+;;   2.  .r read_variables_v2
+;;   3.  .r read_era_box
+
+;; Give the location of mooring for validation of basic meteorological variables
+
+
+sitelist=['8s67e','12s55e', '8s55e', '8s80.5e', '1.5s80.5e', '0n80.5e', '1.5n80.5e', '1.5s90e', $
+           '0n90e', '1.5n90e', '4n90e','8n90e','12n90e', '15n90e', '5s95e', $
+           '8s165e', '8s180w',  '8s155w', '8s125w', '8s110w', '8s95w',  '5s156e', '5s165e', '5s180w', '5s170w', $
+          '5s155w', '5s140w', '5s125w', '5s110w', '5s95w', '2s156e', '2s165e', '2s180w', '2s170w', '2s155w', '2s140w', $
+          '2s125w', '2s110w', '2s95w', '0n147e', '0n156e', '0n165e', '0n180w', '0n170w', '0n155w', '0n140w', '0n125w', $
+          '0n110w', '0n95w', '2n147e', '2n156e', '2n165e', '2n180w', '2n170w', '2n155w', '2n140w', '2n125w', '2n110w', $
+          '2n95w', '5n147e', '5n156e', '5n165e', '5n170w', '5n155w', '5n140w', '5n125w', '5n110w', '5n95w', $
+          '8n156e', '8n165e', '8n180w', '8n170w', '9n140w', '8n125w', '8n110w', '8n95w', $
+          '0n0e', '0n10w', '0n23w', '0n35w', '10s10w', '12n23w', '12n38w', '14s32w', '15n38w', '19s34w', '20n38w', $
+          '21n23w', '4n23w', '4n38w', '6s10w', '8n38w', '8s30w']
+
+;ocean='IO'
+;sitelist=['8s67e','12s55e', '8s55e', '8s80.5e', '1.5s80.5e', '0n80.5e', '1.5n80.5e', '1.5s90e', $
+;           '0n90e', '1.5n90e', '4n90e','8n90e','12n90e', '15n90e', '5s95e']
+
+ocean='Pac'
+sitelist=['8s165e', '8s180w',  '8s155w', '8s125w', '8s110w', '8s95w',  '5s156e', '5s165e', '5s180w', '5s170w', $
+          '5s155w', '5s140w', '5s125w', '5s110w', '5s95w', '2s156e', '2s165e', '2s180w', '2s170w', '2s155w', '2s140w', $
+          '2s125w', '2s110w', '2s95w', '0n147e', '0n156e', '0n165e', '0n180w', '0n170w', '0n155w', '0n140w', '0n125w', $
+          '0n110w', '0n95w', '2n147e', '2n156e', '2n165e', '2n180w', '2n170w', '2n155w', '2n140w', '2n125w', '2n110w', $
+          '2n95w', '5n147e', '5n156e', '5n165e', '5n170w', '5n155w', '5n140w', '5n125w', '5n110w', '5n95w', $
+          '8n156e', '8n165e', '8n180w', '8n170w', '9n140w', '8n125w', '8n110w', '8n95w']
+ocean='AO'
+sitelist=['0n0e', '0n10w', '0n23w', '0n35w', '10s10w', '12n23w', '12n38w', '14s32w', '15n38w', '19s34w', '20n38w', $
+          '21n23w', '4n23w', '4n38w', '6s10w', '8n38w', '8s30w']
+
+nsmooth=1.    
+;------------------------------------------------------------------------------------------------------------------------
+;;   This program will create the following text files with statistics of respective variables
+;------------------------------------------------------------------------------------------------------------------------
+close,/all
+
+fi_sst_erai='/Users/pkb/work/MY_SAXO/flux_automat/sst_2000_2009_erai_'+ocean+'.txt'
+openw,1,fi_sst_erai
+fi_sst_trop='/Users/pkb/work/MY_SAXO/flux_automat/sst_2000_2009_trop_'+ocean+'.txt'
+openw,2,fi_sst_trop
+fi_sst_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/sst_2000_2009_oaflx_'+ocean+'.txt'
+openw,3,fi_sst_oaflx
+fi_sst_ncep='/Users/pkb/work/MY_SAXO/flux_automat/sst_2000_2009_ncep_'+ocean+'.txt'
+openw,4,fi_sst_ncep
+fi_sst_tmi='/Users/pkb/work/MY_SAXO/flux_automat/sst_2000_2009_tmi_'+ocean+'.txt'
+openw,5,fi_sst_tmi
+fi_sst_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/sst_2000_2009_ncep1_'+ocean+'.txt'
+openw,6,fi_sst_ncep1
+
+
+
+printf,1, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,2, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,3, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,4, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,5, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,6, 'x     y      cor    bias     std     rmsd      mean_tao'
+
+;------------------------------------------------------------------------------------------------------------------------
+;; first reading the whole ERAI uncorrected and corrected data
+
+;file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_sst_19890101_20091231_oafluxgrid.nc'
+;initncdf, file
+;unc=read_ncdf('sst',date1,date2,file=file,/nostr) & unc=unc-273.15 
+;help, unc
+
+;file='/Volumes/Iomega_HDD/TropFlux/input_cor/full_cor/TropFlux_sst_19890101_20091231_v20.nc'
+;initncdf, file
+;cor=read_ncdf('sst',date1,date2,file=file,/nostr) & cor=cor-273.15
+;help, cor
+
+;file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/OAFlux_basic_variables_1985_2009.nc'
+;initncdf, file
+;oaf=read_ncdf("sst", date1, date2, file=file,/nostr)
+;help, oaf
+
+;fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/sst_ncep2_oafluxgrid_19890101_20091231.nc'
+;initncdf, fi
+;nce=read_ncdf("sst", date1-1, date2, file=fi,/nostr) 
+;nce=nce-273.15
+;help, nce
+
+;fi='/Volumes/Iomega_HDD/work/flux_reconstruction/gridded_data/tmi_OI_oafluxgrid_30N30S.nc'
+;initncdf, fi
+;sst_tmi=read_ncdf("sst", date1, date2, file=fi,/nostr)
+;help, sst_tmi
+
+;file='/Volumes/Iomega_HDD/flux_reconstruction/ncep/sst_ncep1_19890101_20091231.nc'
+;initncdf, file
+;nce1=read_ncdf("sst", date1, date2, file=file,/nostr)
+;nce1=nce1-273.15
+;help, nce1
+
+;save, unc, cor, oaf, nce, sst_tmi, nce1, filename="sst_era_trop_oaf_nce_tmi_2000_2009_global.idl"
+;; full data from 2000-2009 period are read first, and hence the above lines are commented
+
+restore, file="/Users/pkb/work/MY_SAXO/sst_era_trop_oaf_nce_tmi_2000_2009_global.idl"
+help, unc, cor, oaf, nce, sst_tmi, nce1
+;; data from 20000101, 20090931
+;------------------------------------------------------------------------------------------------------------------------
+nn=n_elements(sitelist)
+date1=date1
+date2=date2
+for n=0, nn-1 do begin
+
+;; reading data from mooring
+
+    site=sitelist(n) & csite=site
+    print, csite
+    x=x_site_location(site)
+    y=y_site_location(site)
+    if (y ge 0. and y le 30.) then y=y+360.
+    dx=0.5 & dy=0.5 & box=[y-dy, y+dy, x-dx, x+dx]
+    read_variables_v2, csite,date1,date2,nsmooth, $
+         at, sw,rh,sst,wu,wv,ws,lh
+
+
+    ind=where(finite(sst)) & valid=n_elements(ind)
+
+    if (valid ge 180) then begin
+
+      ;;  extracting the corrected and uncorrected ERAI data at the locations
+      nsmooth=1.
+
+      extract_flux_tropflux,unc,box, $
+        tropflux
+      uncr=tropflux
+
+      extract_flux_tropflux,cor,box, $  
+        tropflux
+      corr=tropflux
+    
+      extract_flux_tropflux,oaf,box, $
+        tropflux
+      oafl=tropflux
+
+      extract_flux_tropflux,nce,box, $
+        tropflux
+      ncep=tropflux
+
+      extract_flux_tropflux,sst_tmi,box, $
+        tropflux
+      tmi=tropflux
+
+      extract_flux_tropflux,nce1,box, $
+        tropflux
+      ncep1=tropflux
+
+
+      ind=where(finite(sst)) & sst=sst(ind) & uncr_sst=uncr(ind)  & corr_sst=corr(ind) 
+      oafl=oafl(ind) & ncep=ncep(ind) & tmi=tmi(ind) & ncep1=ncep1(ind)
+      mean_tao=total(sst,/nan)/n_elements(ind)
+     
+      statistics_3var_v1, sst, uncr_sst, corr_sst, $
+         cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+ 
+      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)'
+      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)'
+
+      statistics_3var_v1, sst, oafl, ncep, $
+         cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+      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)'
+      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)'
+
+      statistics_3var_v1, sst, tmi, ncep1, $
+         cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+      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)'
+      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)'
+
+  endif
+
+endfor
+;-----------------------------------------------------------------------------------------
+close,/all  
+
+fi_sst_erai='/Users/pkb/work/MY_SAXO/flux_automat/sst_2000_2009_erai_'+ocean+'.txt'
+res=read_ascii(fi_sst_erai,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_era=reform(ff(2,*))   & cor_erai=total(cor_era)/n_elements(cor_era)
+bias_era=reform(ff(3,*))  & bias_erai=total(bias_era)/n_elements(bias_era)
+std_era=reform(ff(4,*))   & std_erai=total(std_era)/n_elements(std_era)
+rmsd_era=reform(ff(5,*))  & rmsd_erai=total(rmsd_era)/n_elements(rmsd_era)
+mean_tao=reform(ff(6,*))  & mean_erai=bias_era+mean_tao
+
+print, ''
+print, 'ERAI'
+print, cor_erai, bias_erai, std_erai, rmsd_erai
+cstat=string(cor_erai, bias_erai, std_erai, rmsd_erai, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+splot, mean_tao, mean_erai, title='SST - TAO Vs ERAI', subtitle='', $
+     charsize=1.1, xtitle='TAO SST', ytitle='ERAI SST', small=[2,3,1], psym=2, $
+     xrange=[22,31], yrange=[22,31], xmin=1,ymin=1
+xyouts, 22.3,30.2, cstat, charsize=0.9
+xyouts, 22.3,29.5, 'cor   bias   std   rmsd', charsize=0.9
+
+oplot, [22,31], [22,31]
+ab=linfit(mean_tao, mean_erai,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+fi_sst_trop='/Users/pkb/work/MY_SAXO/flux_automat/sst_2000_2009_trop_'+ocean+'.txt'
+res=read_ascii(fi_sst_trop,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_tro=reform(ff(2,*))   & cor_trop=total(cor_tro)/n_elements(cor_tro)
+bias_tro=reform(ff(3,*))  & bias_trop=total(bias_tro)/n_elements(bias_tro)
+std_tro=reform(ff(4,*))   & std_trop=total(std_tro)/n_elements(std_tro)
+rmsd_tro=reform(ff(5,*))  & rmsd_trop=total(rmsd_tro)/n_elements(rmsd_tro)
+mean_tao=reform(ff(6,*))  & mean_trop=bias_tro+mean_tao
+
+print, ''
+print, 'TropFlux'
+print, cor_trop, bias_trop, std_trop, rmsd_trop
+cstat=string(cor_trop, bias_trop, std_trop, rmsd_trop, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_trop, title='SST - TAO Vs TropFlux', subtitle='', $
+     charsize=1.1, xtitle='TAO SST', ytitle='TropFlux SST', small=[2,3,2],/noer, psym=2, $
+     xrange=[22,31], yrange=[22,31], xmin=1,ymin=1
+oplot, [22,31], [22,31]
+xyouts, 22.3,30.2, cstat, charsize=0.9
+xyouts, 22.3,29.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_trop,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+fi_sst_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/sst_2000_2009_oaflx_'+ocean+'.txt'
+res=read_ascii(fi_sst_oaflx,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_oaf=reform(ff(2,*))   & cor_oafl=total(cor_oaf)/n_elements(cor_oaf)
+bias_oaf=reform(ff(3,*))  & bias_oafl=total(bias_oaf)/n_elements(bias_oaf)
+std_oaf=reform(ff(4,*))   & std_oafl=total(std_oaf)/n_elements(std_oaf)
+rmsd_oaf=reform(ff(5,*))  & rmsd_oafl=total(rmsd_oaf)/n_elements(rmsd_oaf)
+mean_tao=reform(ff(6,*))  & mean_oafl=bias_oaf+mean_tao
+
+print, ''
+print, 'OAFlux'
+print, cor_oafl, bias_oafl, std_oafl, rmsd_oafl
+cstat=string(cor_oafl, bias_oafl, std_oafl, rmsd_oafl, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_oafl, title='SST - TAO Vs OAFlux', subtitle='', $
+     charsize=1.1, xtitle='TAO SST', ytitle='OAFlux SST', small=[2,3,3],/noer, psym=2, $
+     xrange=[22,31], yrange=[22,31], xmin=1,ymin=1
+oplot, [22,31], [22,31]
+xyouts, 22.3,30.2, cstat, charsize=0.9
+xyouts, 22.3,29.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_oafl,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+
+
+fi_sst_ncep='/Users/pkb/work/MY_SAXO/flux_automat/sst_2000_2009_ncep_'+ocean+'.txt'
+res=read_ascii(fi_sst_ncep,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_nce=reform(ff(2,*))   & cor_ncep=total(cor_nce)/n_elements(cor_nce)
+bias_nce=reform(ff(3,*))  & bias_ncep=total(bias_nce)/n_elements(bias_nce)
+std_nce=reform(ff(4,*))   & std_ncep=total(std_nce)/n_elements(std_nce)
+rmsd_nce=reform(ff(5,*))  & rmsd_ncep=total(rmsd_nce)/n_elements(rmsd_nce)
+mean_tao=reform(ff(6,*))  & mean_ncep=bias_nce+mean_tao
+
+print, ''
+print, 'NCEP2'
+print, cor_ncep, bias_ncep, std_ncep, rmsd_ncep
+cstat=string(cor_ncep, bias_ncep, std_ncep, rmsd_ncep, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_ncep, title='SST - TAO Vs NCEP2', subtitle='', $
+     charsize=1.1, xtitle='TAO SST', ytitle='NCEP2 SST', small=[2,3,4],/noer, psym=2, $
+     xrange=[22,31], yrange=[22,31], xmin=1,ymin=1
+oplot, [22,31], [22,31]
+xyouts, 22.3,30.2, cstat, charsize=0.9
+xyouts, 22.3,29.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_ncep,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+
+fi_sst_tmi='/Users/pkb/work/MY_SAXO/flux_automat/sst_2000_2009_tmi_'+ocean+'.txt'
+res=read_ascii(fi_sst_tmi,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_tm=reform(ff(2,*))   & cor_tmi=total(cor_tm)/n_elements(cor_tm)
+bias_tm=reform(ff(3,*))  & bias_tmi=total(bias_tm)/n_elements(bias_tm)
+std_tm=reform(ff(4,*))   & std_tmi=total(std_tm)/n_elements(std_tm)
+rmsd_tm=reform(ff(5,*))  & rmsd_tmi=total(rmsd_tm)/n_elements(rmsd_tm)
+mean_tao=reform(ff(6,*))  & mean_tmi=bias_tm+mean_tao
+
+print, ''
+print, 'TMI'
+print, cor_tmi, bias_tmi, std_tmi, rmsd_tmi
+cstat=string(cor_tmi, bias_tmi, std_tmi, rmsd_tmi, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_tmi, title='SST - TAO Vs TMI', subtitle='', $
+     charsize=1.1, xtitle='TAO SST', ytitle='TMI SST', small=[2,3,5],/noer, psym=2, $
+     xrange=[22,31], yrange=[22,31], xmin=1,ymin=1
+oplot, [22,31], [22,31]
+xyouts, 22.3,30.2, cstat, charsize=0.9
+xyouts, 22.3,29.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_tmi,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+fi_sst_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/sst_2000_2009_ncep1_'+ocean+'.txt'
+res=read_ascii(fi_sst_ncep1,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_nce=reform(ff(2,*))   & cor_ncep=total(cor_nce)/n_elements(cor_nce)
+bias_nce=reform(ff(3,*))  & bias_ncep=total(bias_nce)/n_elements(bias_nce)
+std_nce=reform(ff(4,*))   & std_ncep=total(std_nce)/n_elements(std_nce)
+rmsd_nce=reform(ff(5,*))  & rmsd_ncep=total(rmsd_nce)/n_elements(rmsd_nce)
+mean_tao=reform(ff(6,*))  & mean_ncep=bias_nce+mean_tao
+
+print, ''
+print, 'NCEP1'
+print, cor_ncep, bias_ncep, std_ncep, rmsd_ncep
+cstat=string(cor_ncep, bias_ncep, std_ncep, rmsd_ncep, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_ncep, title='SST - TAO Vs NCEP_NCAR', subtitle='', $
+     charsize=1.1, xtitle='TAO SST', ytitle='NCEP SST', small=[2,3,6],/noer, psym=2, $
+     xrange=[22,31], yrange=[22,31], xmin=1,ymin=1
+oplot, [22,31], [22,31]
+xyouts, 22.3,30.2, cstat, charsize=0.9
+xyouts, 22.3,29.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_ncep,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+;-----------------------------------------------------------
+closeps
+
+fig='sst_validation_scatter_2000_2009_'+ocean+'.ps'
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+return
+end
+;--------------------------------------------------------------------------
+function x_site_location, site
+    n1=strpos(site, 's')
+if (n1 gt -1) then begin
+    ns=-1.
+    x=strmid(site, 0, n1)
+    x=float(x)*ns
+endif else begin
+    n1=strpos(site, 'n')
+    x=strmid(site, 0, n1)
+    ny=1.
+    x=float(x)*ny
+endelse
+return, float(x)
+end
+;--------------------------------------------------------------------------
+function y_site_location, site
+    n1=strpos(site, 'e')
+if (n1 gt -1) then begin
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+    endelse
+
+endif else begin
+    n1=strpos(site, 'w')
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+   endelse
+endelse
+return,float(y)
+end
+
+;--------------------------------------------------------------------------
+
Index: /trunk/src/paper01/fig7/ws_validation_scatter_2000_2009_basin.pro
===================================================================
--- /trunk/src/paper01/fig7/ws_validation_scatter_2000_2009_basin.pro	(revision 41)
+++ /trunk/src/paper01/fig7/ws_validation_scatter_2000_2009_basin.pro	(revision 41)
@@ -0,0 +1,429 @@
+;------------------------------------------------------------
+pro ws_validation_scatter_2000_2009_basin,date1,date2
+@common
+;------------------------------------------------------------
+
+reinitplt, /z,/invert
+key_portrait = 1
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+;; Before running this program, you have to compile the following subrutines
+;;   1.  .r read_era_total
+;;   2.  .r read_variables_v2
+;;   3.  .r read_era_box
+
+;; Give the location of mooring for validation of basic meteorological variables
+
+
+sitelist=['8s67e','12s55e', '8s55e', '8s80.5e', '1.5s80.5e', '0n80.5e', '1.5n80.5e', '1.5s90e', $
+           '0n90e', '1.5n90e', '4n90e','8n90e','12n90e', '15n90e', '5s95e', $
+           '8s165e', '8s180w',  '8s155w', '8s125w', '8s110w', '8s95w',  '5s156e', '5s165e', '5s180w', '5s170w', $
+          '5s155w', '5s140w', '5s125w', '5s110w', '5s95w', '2s156e', '2s165e', '2s180w', '2s170w', '2s155w', '2s140w', $
+          '2s125w', '2s110w', '2s95w', '0n147e', '0n156e', '0n165e', '0n180w', '0n170w', '0n155w', '0n140w', '0n125w', $
+          '0n110w', '0n95w', '2n147e', '2n156e', '2n165e', '2n180w', '2n170w', '2n155w', '2n140w', '2n125w', '2n110w', $
+          '2n95w', '5n147e', '5n156e', '5n165e', '5n170w', '5n155w', '5n140w', '5n125w', '5n110w', '5n95w', $
+          '8n156e', '8n165e', '8n180w', '8n170w', '9n140w', '8n125w', '8n110w', '8n95w', $
+          '0n0e', '0n10w', '0n23w', '0n35w', '10s10w', '12n23w', '12n38w', '14s32w', '15n38w', '19s34w', '20n38w', $
+          '21n23w', '4n23w', '4n38w', '6s10w', '8n38w', '8s30w']
+ocean='global'
+
+sitelist=['8s67e','12s55e', '8s55e', '8s80.5e', '1.5s80.5e', '0n80.5e', '1.5n80.5e', '1.5s90e', $
+           '0n90e', '1.5n90e', '4n90e','8n90e','12n90e', '15n90e', '5s95e']
+ocean='IO'
+
+sitelist=['8s165e', '8s180w',  '8s155w', '8s125w', '8s110w', '8s95w',  '5s156e', '5s165e', '5s180w', '5s170w', $
+          '5s155w', '5s140w', '5s125w', '5s110w', '5s95w', '2s156e', '2s165e', '2s180w', '2s170w', '2s155w', '2s140w', $
+          '2s125w', '2s110w', '2s95w', '0n147e', '0n156e', '0n165e', '0n180w', '0n170w', '0n155w', '0n140w', '0n125w', $
+          '0n110w', '0n95w', '2n147e', '2n156e', '2n165e', '2n180w', '2n170w', '2n155w', '2n140w', '2n125w', '2n110w', $
+          '2n95w', '5n147e', '5n156e', '5n165e', '5n170w', '5n155w', '5n140w', '5n125w', '5n110w', '5n95w', $
+          '8n156e', '8n165e', '8n180w', '8n170w', '9n140w', '8n125w', '8n110w', '8n95w']
+ocean='Pac'
+
+sitelist=['8s165e', '8s180w',  '8s155w','5s156e', '5s165e', '5s180w', '5s170w','2s156e', '2s165e', '2s180w', $
+          '2s170w','0n147e', '0n156e', '0n165e', '0n180w', '0n170w', '2n147e', '2n156e', '2n165e', '2n180w', $
+          '2n170w', '5n147e', '5n156e', '5n165e', '5n170w', '8n156e', '8n165e', '8n180w', '8n170w', '9n140w',$
+          '8n125w', '8n110w', '8n95w']
+ocean='Pac_warmpool'
+
+sitelist=['8s125w', '8s110w', '8s95w','5s155w', '5s140w', '5s125w', '5s110w', '5s95w','2s155w', '2s140w', $
+          '2s125w', '2s110w', '2s95w', '0n155w', '0n140w', '0n125w', '0n110w', '0n95w', '2n155w', '2n140w', $
+          '2n125w', '2n110w', '2n95w',  '5n155w', '5n140w', '5n125w', '5n110w', '5n95w'] 
+ocean='Pac_coldtongue'
+
+
+;sitelist=['0n0e', '0n10w', '0n23w', '0n35w', '10s10w', '12n23w', '12n38w', '14s32w', '15n38w', '19s34w', '20n38w', $
+;          '21n23w', '4n23w', '4n38w', '6s10w', '8n38w', '8s30w']
+;ocean='AO'
+
+;sitelist=['0n0e','0n35w', '4n23w', '4n38w', '8n38w']
+;ocean='AO_warmpool'
+
+;sitelist=['0n10w','0n23w','10s10w','12n23w','12n38w','14s32w','15n38w', '19s34w','20n38w', $
+;          '21n23w', '6s10w', '8s30w']
+;ocean='AO_coldtongue'
+
+nsmooth=1
+;------------------------------------------------------------------------------------------------------------------------
+;;   This program will create the following text files with statistics of respective variables
+;------------------------------------------------------------------------------------------------------------------------
+close,/all
+
+fi_ws_erai='/Users/pkb/work/MY_SAXO/flux_automat/ws_2000_2009_erai_'+ocean+'.txt'
+openw,1,fi_ws_erai
+fi_ws_trop='/Users/pkb/work/MY_SAXO/flux_automat/ws_2000_2009_trop_'+ocean+'.txt'
+openw,2,fi_ws_trop
+fi_ws_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/ws_2000_2009_oaflx_'+ocean+'.txt'
+openw,3,fi_ws_oaflx
+fi_ws_ncep='/Users/pkb/work/MY_SAXO/flux_automat/ws_2000_2009_ncep_'+ocean+'.txt'
+openw,4,fi_ws_ncep
+fi_ws_tmi='/Users/pkb/work/MY_SAXO/flux_automat/ws_2000_2009_tmi_'+ocean+'.txt'
+openw,5,fi_ws_tmi
+fi_ws_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/ws_2000_2009_ncep1_'+ocean+'.txt'
+openw,6,fi_ws_ncep1
+
+
+printf,1, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,2, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,3, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,4, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,5, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,6, 'x     y      cor    bias     std     rmsd      mean_tao'
+
+;------------------------------------------------------------------------------------------------------------------------
+;; first reading the whole ERAI uncorrected and corrected data
+;; date1=20000101 & date2=20090931
+
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_ws_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+u=read_ncdf('u10',date1,date2,file=file,/nostr) 
+;v=read_ncdf('v10',date1,date2,file=file,/nostr)     
+;unc=sqrt(u*u+v*v) 
+;help, unc
+
+;file='/Volumes/Iomega_HDD/TropFlux/input_cor/full_cor/TropFlux_ws_19890101_20091231_v20.nc'
+;initncdf, file
+;cor=read_ncdf('ws',date1,date2,file=file,/nostr) 
+;help, cor
+
+;file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/OAFlux_basic_variables_1985_2009.nc'
+;initncdf, file
+;oaf=read_ncdf("wind", date1, date2, file=file,/nostr)
+;help, oaf
+
+;fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/uwind_ncep2_oafluxgrid_19890101_20091231.nc'
+;initncdf, fi
+;u=read_ncdf("u", date1-1, date2, file=fi,/nostr) 
+;fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/vwind_ncep2_oafluxgrid_19890101_20091231.nc'
+;initncdf, fi
+;v=read_ncdf("v", date1-1, date2, file=fi,/nostr)   
+;nce=sqrt(u*u+v*v)
+;help, nce
+
+;dir='/Volumes/Iomega_HDD/work/flux_reconstruction/gridded_data/'
+;fi=dir+'zonal_wind_speed_oafluxgrid_30N30S.nc'
+;initncdf, fi
+;u=read_ncdf("u", date1, date2, file=fi,/nostr)
+;fi=dir+'meridional_wind_speed_oafluxgrid_30N30S.nc'
+;initncdf, fi
+;v=read_ncdf("v", date1, date2, file=fi,/nostr)
+;ws_tmi=sqrt(u*u+v*v)
+;help, ws_tmi
+
+;file='/Volumes/Iomega_HDD/flux_reconstruction/ncep/wind_ncep1_19890101_20091231.nc'
+;initncdf, file
+;u=read_ncdf("u", date1, date2, file=file,/nostr)
+;v=read_ncdf("v", date1, date2, file=file,/nostr)
+;nce1=sqrt(u*u+v*v)
+;help, nce1
+
+;save, unc, cor, oaf, nce, ws_tmi, nce1, filename="ws_era_trop_oaf_nce_qscat_2000_2009_global.idl"
+restore, file="/Users/pkb/work/MY_SAXO/ws_era_trop_oaf_nce_qscat_2000_2009_global.idl"
+help, unc, cor, oaf, nce, ws_tmi, nce1
+
+;------------------------------------------------------------------------------------------------------------------------
+nn=n_elements(sitelist)
+date1=date1
+date2=date2
+for n=0, nn-1 do begin
+
+;; reading data from mooring
+
+    site=sitelist(n) & csite=site
+    print, csite
+    x=x_site_location(site)
+    y=y_site_location(site)
+    if (y ge 0. and y le 30.) then y=y+360.
+    dx=0.5 & dy=0.5 & box=[y-dy, y+dy, x-dx, x+dx]
+    read_variables_v2, csite,date1,date2,nsmooth, $
+         at, sw,rh,sst,wu,wv,ws, lh
+
+    ws=alog(10./0.000152)/alog(4./0.000152)*ws
+
+;;  extracting the corrected and uncorrected ERAI data at the locations
+    nsmooth=1.
+
+    extract_flux_tropflux,unc,box, $
+        tropflux
+    uncr=tropflux
+
+     extract_flux_tropflux,cor,box, $  
+        tropflux
+     corr=tropflux
+    
+     extract_flux_tropflux,oaf,box, $
+        tropflux
+     oafl=tropflux
+
+     extract_flux_tropflux,nce,box, $
+        tropflux
+     ncep=tropflux
+
+     extract_flux_tropflux,ws_tmi,box, $
+        tropflux
+     tmi=tropflux
+
+     extract_flux_tropflux,nce1,box, $
+        tropflux
+     ncep1=tropflux
+
+    ind=where(finite(ws)) & ws=ws(ind) & uncr_ws=uncr(ind)  & corr_ws=corr(ind) 
+    oafl=oafl(ind) & ncep=ncep(ind) & tmi=tmi(ind) & ncep1=ncep1(ind)
+
+    mean_tao=total(ws)/n_elements(ws)
+ 
+    statistics_3var_v1, ws, uncr_ws, corr_ws, $
+         cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+ 
+    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,f5.2)'
+    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,f5.2)'
+
+    statistics_3var_v1, ws, oafl, ncep, $
+         cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+    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,f5.2)'
+    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,f5.2)'
+
+    statistics_3var_v1, ws, tmi, ncep1, $
+         cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+    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,f5.2)'
+    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,f5.2)'
+
+endfor
+;-----------------------------------------------------------------------------------------
+close,/all  
+fi_ws_erai='/Users/pkb/work/MY_SAXO/flux_automat/ws_2000_2009_erai_'+ocean+'.txt'
+res=read_ascii(fi_ws_erai,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_era=reform(ff(2,*))   & cor_erai=total(cor_era)/n_elements(cor_era)
+bias_era=reform(ff(3,*))  & bias_erai=total(bias_era)/n_elements(bias_era)
+std_era=reform(ff(4,*))   & std_erai=total(std_era)/n_elements(std_era)
+rmsd_era=reform(ff(5,*))  & rmsd_erai=total(rmsd_era)/n_elements(rmsd_era)
+mean_tao=reform(ff(6,*))  & mean_erai=bias_era+mean_tao
+
+print, ''
+print, 'ERAI'
+print, cor_erai, bias_erai, std_erai, rmsd_erai
+cstat=string(cor_erai, bias_erai, std_erai, rmsd_erai, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+splot, mean_tao, mean_erai, title='WS - TAO Vs ERAI', subtitle='', $
+     charsize=1.1, xtitle='TAO WS', ytitle='ERAI WS', small=[2,3,1], psym=2, $
+     xrange=[2,10], yrange=[2,10], xmin=1,ymin=1
+xyouts, 2.5,9.4, cstat, charsize=0.9
+xyouts, 2.5,8.5, 'cor   bias   std   rmsd', charsize=0.9
+
+oplot, [2,10], [2,10]
+ab=linfit(mean_tao, mean_erai,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+fi_ws_trop='/Users/pkb/work/MY_SAXO/flux_automat/ws_2000_2009_trop_'+ocean+'.txt'
+res=read_ascii(fi_ws_trop,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_tro=reform(ff(2,*))   & cor_trop=total(cor_tro)/n_elements(cor_tro)
+bias_tro=reform(ff(3,*))  & bias_trop=total(bias_tro)/n_elements(bias_tro)
+std_tro=reform(ff(4,*))   & std_trop=total(std_tro)/n_elements(std_tro)
+rmsd_tro=reform(ff(5,*))  & rmsd_trop=total(rmsd_tro)/n_elements(rmsd_tro)
+mean_tao=reform(ff(6,*))  & mean_trop=bias_tro+mean_tao
+
+print, ''
+print, 'TropFlux'
+print, cor_trop, bias_trop, std_trop, rmsd_trop
+cstat=string(cor_trop, bias_trop, std_trop, rmsd_trop, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_trop, title='WS - TAO Vs TropFlux', subtitle='', $
+     charsize=1.1, xtitle='TAO WS', ytitle='TropFlux WS', small=[2,3,2],/noer, psym=2, $
+     xrange=[2,10], yrange=[2,10], xmin=1,ymin=1
+oplot, [2,10], [2,10]
+xyouts, 2.5,9.4, cstat, charsize=0.9
+xyouts, 2.5,8.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_trop,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+fi_ws_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/ws_2000_2009_oaflx_'+ocean+'.txt'
+res=read_ascii(fi_ws_oaflx,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_oaf=reform(ff(2,*))   & cor_oafl=total(cor_oaf)/n_elements(cor_oaf)
+bias_oaf=reform(ff(3,*))  & bias_oafl=total(bias_oaf)/n_elements(bias_oaf)
+std_oaf=reform(ff(4,*))   & std_oafl=total(std_oaf)/n_elements(std_oaf)
+rmsd_oaf=reform(ff(5,*))  & rmsd_oafl=total(rmsd_oaf)/n_elements(rmsd_oaf)
+mean_tao=reform(ff(6,*))  & mean_oafl=bias_oaf+mean_tao
+
+print, ''
+print, 'OAFlux'
+print, cor_oafl, bias_oafl, std_oafl, rmsd_oafl
+cstat=string(cor_oafl, bias_oafl, std_oafl, rmsd_oafl, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_oafl, title='WS - TAO Vs OAFlux', subtitle='', $
+     charsize=1.1, xtitle='TAO WS', ytitle='OAFlux WS', small=[2,3,3],/noer, psym=2, $
+     xrange=[2,10], yrange=[2,10], xmin=1,ymin=1
+oplot, [2,10], [2,10]
+xyouts, 2.5,9.4, cstat, charsize=0.9
+xyouts, 2.5,8.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_oafl,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+
+
+fi_ws_ncep='/Users/pkb/work/MY_SAXO/flux_automat/ws_2000_2009_ncep_'+ocean+'.txt'
+res=read_ascii(fi_ws_ncep,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_nce=reform(ff(2,*))   & cor_ncep=total(cor_nce)/n_elements(cor_nce)
+bias_nce=reform(ff(3,*))  & bias_ncep=total(bias_nce)/n_elements(bias_nce)
+std_nce=reform(ff(4,*))   & std_ncep=total(std_nce)/n_elements(std_nce)
+rmsd_nce=reform(ff(5,*))  & rmsd_ncep=total(rmsd_nce)/n_elements(rmsd_nce)
+mean_tao=reform(ff(6,*))  & mean_ncep=bias_nce+mean_tao
+
+print, ''
+print, 'NCEP2'
+print, cor_ncep, bias_ncep, std_ncep, rmsd_ncep
+cstat=string(cor_ncep, bias_ncep, std_ncep, rmsd_ncep, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_ncep, title='WS - TAO Vs NCEP2', subtitle='', $
+     charsize=1.1, xtitle='TAO WS', ytitle='NCEP2 WS', small=[2,3,4],/noer, psym=2, $
+     xrange=[2,10], yrange=[2,10], xmin=1,ymin=1
+oplot, [2,10], [2,10]
+xyouts, 2.5,9.4, cstat, charsize=0.9
+xyouts, 2.5,8.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_ncep,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+fi_ws_tmi='/Users/pkb/work/MY_SAXO/flux_automat/ws_2000_2009_tmi_'+ocean+'.txt'
+res=read_ascii(fi_ws_tmi,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_tm=reform(ff(2,*))   & cor_tmi=total(cor_tm)/n_elements(cor_tm)
+bias_tm=reform(ff(3,*))  & bias_tmi=total(bias_tm)/n_elements(bias_tm)
+std_tm=reform(ff(4,*))   & std_tmi=total(std_tm)/n_elements(std_tm)
+rmsd_tm=reform(ff(5,*))  & rmsd_tmi=total(rmsd_tm)/n_elements(rmsd_tm)
+mean_tao=reform(ff(6,*))  & mean_tmi=bias_tm+mean_tao
+
+print, ''
+print, 'Qscat'
+print, cor_tmi, bias_tmi, std_tmi, rmsd_tmi
+cstat=string(cor_tmi, bias_tmi, std_tmi, rmsd_tmi, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_tmi, title='WS - TAO Vs Qscat', subtitle='', $
+     charsize=1.1, xtitle='TAO WS', ytitle='TMI WS', small=[2,3,5],/noer, psym=2, $
+     xrange=[2,10], yrange=[2,10], xmin=1,ymin=1
+oplot, [2,10], [2,10]
+xyouts, 2.5,9.4, cstat, charsize=0.9
+xyouts, 2.5,8.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_tmi,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+
+fi_ws_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/ws_2000_2009_ncep1_'+ocean+'.txt'
+res=read_ascii(fi_ws_ncep1,data_start=1)
+ff=res.field1
+lat=reform(ff(0,*))
+lon=reform(ff(1,*))
+cor_nce=reform(ff(2,*))   & cor_ncep=total(cor_nce)/n_elements(cor_nce)
+bias_nce=reform(ff(3,*))  & bias_ncep=total(bias_nce)/n_elements(bias_nce)
+std_nce=reform(ff(4,*))   & std_ncep=total(std_nce)/n_elements(std_nce)
+rmsd_nce=reform(ff(5,*))  & rmsd_ncep=total(rmsd_nce)/n_elements(rmsd_nce)
+mean_tao=reform(ff(6,*))  & mean_ncep=bias_nce+mean_tao
+
+print, ''
+print, 'NCEP'
+print, cor_ncep, bias_ncep, std_ncep, rmsd_ncep
+cstat=string(cor_ncep, bias_ncep, std_ncep, rmsd_ncep, format='(f4.2,1x,f6.2,1x,f4.2,1x,f4.2)')
+
+splot, mean_tao, mean_ncep, title='WS - TAO Vs NCEP', subtitle='', $
+     charsize=1.1, xtitle='TAO WS', ytitle='NCEP WS', small=[2,3,6],/noer, psym=2, $
+     xrange=[2,10], yrange=[2,10], xmin=1,ymin=1
+oplot, [2,10], [2,10]
+xyouts, 2.5,9.4, cstat, charsize=0.9
+xyouts, 2.5,8.5, 'cor   bias   std   rmsd', charsize=0.9
+
+ab=linfit(mean_tao, mean_ncep,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1))
+oplot, mean_tao, yfit, color=250, thick=2
+
+;-----------------------------------------------------------
+closeps
+
+fig='ws_validation_scatter_2000_2009_'+ocean+'.ps'
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+return
+end
+;--------------------------------------------------------------------------
+function x_site_location, site
+    n1=strpos(site, 's')
+if (n1 gt -1) then begin
+    ns=-1.
+    x=strmid(site, 0, n1)
+    x=float(x)*ns
+endif else begin
+    n1=strpos(site, 'n')
+    x=strmid(site, 0, n1)
+    ny=1.
+    x=float(x)*ny
+endelse
+return, float(x)
+end
+;--------------------------------------------------------------------------
+function y_site_location, site
+    n1=strpos(site, 'e')
+if (n1 gt -1) then begin
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+    endelse
+
+endif else begin
+    n1=strpos(site, 'w')
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+   endelse
+endelse
+return,float(y)
+end
+
+;--------------------------------------------------------------------------
+
Index: /trunk/src/paper01/fig8/lhf_validation_scatter_2000_2009.pro
===================================================================
--- /trunk/src/paper01/fig8/lhf_validation_scatter_2000_2009.pro	(revision 41)
+++ /trunk/src/paper01/fig8/lhf_validation_scatter_2000_2009.pro	(revision 41)
@@ -0,0 +1,358 @@
+;------------------------------------------------------------
+pro lhf_validation_scatter_2000_2009,date1,date2
+@common
+;------------------------------------------------------------
+
+reinitplt, /z,/invert
+key_portrait = 1
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+;; Before running this program, you have to compile the following subrutines
+
+;;  1.    read_variables_v2
+;;  2.    statistics_3var_v1
+
+;; evaluation is done for 20000101 - 20091231 period
+;; location of moorings
+
+
+sitelist=['8s67e','12s55e', '8s55e', '8s80.5e', '1.5s80.5e', '0n80.5e', '1.5n80.5e', '1.5s90e', $
+           '0n90e', '1.5n90e', '4n90e','8n90e','12n90e', '15n90e', '5s95e', $
+           '8s165e', '8s180w',  '8s155w', '8s125w', '8s110w', '8s95w',  '5s156e', '5s165e', '5s180w', '5s170w', $
+          '5s155w', '5s140w', '5s125w', '5s110w', '5s95w', '2s156e', '2s165e', '2s180w', '2s170w', '2s155w', '2s140w', $
+          '2s125w', '2s110w', '2s95w', '0n147e', '0n156e', '0n165e', '0n180w', '0n170w', '0n155w', '0n140w', '0n125w', $
+          '0n110w', '0n95w', '2n147e', '2n156e', '2n165e', '2n180w', '2n170w', '2n155w', '2n140w', '2n125w', '2n110w', $
+          '2n95w', '5n147e', '5n156e', '5n165e', '5n170w', '5n155w', '5n140w', '5n125w', '5n110w', '5n95w', $
+          '8n156e', '8n165e', '8n180w', '8n170w', '9n140w', '8n125w', '8n110w', '8n95w', $
+          '0n0e', '0n10w', '0n23w', '0n35w', '10s10w', '12n23w', '12n38w', '14s32w', '15n38w', '19s34w', '20n38w', $
+          '21n23w', '4n23w', '4n38w', '6s10w', '8n38w', '8s30w']
+
+ocean='global'
+
+;------------------------------------------------------------------------------------------------------------------------
+;;   This program will create the following text files with statistics of respective variables
+;------------------------------------------------------------------------------------------------------------------------
+close,/all
+
+fi_lhf_erai='/Users/pkb/work/MY_SAXO/flux_automat/lhf_2000_2009_erai_v52.txt'
+openw,1,fi_lhf_erai
+fi_lhf_trop='/Users/pkb/work/MY_SAXO/flux_automat/lhf_2000_2009_trop_v52.txt'
+openw,2,fi_lhf_trop
+fi_lhf_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/lhf_2000_2009_oaflx_v52.txt'
+openw,3,fi_lhf_oaflx
+fi_lhf_ncep='/Users/pkb/work/MY_SAXO/flux_automat/lhf_2000_2009_ncep_v52.txt'
+openw,4,fi_lhf_ncep
+fi_lhf_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/lhf_2000_2009_ncep1_v52.txt'
+openw,5,fi_lhf_ncep1
+
+
+printf,1, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,2, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,3, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,4, 'x     y      cor    bias     std     rmsd      mean_tao'
+
+;------------------------------------------------------------------------------------------------------------------------
+;; first reading the whole ERAI uncorrected and corrected data
+
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_lhf_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+unc=read_ncdf('lhf',date1,date2,file=file,/nostr) 
+help, unc
+
+file="/Users/pkb/data/TropFlux/TropFlux_19890101_20091231.nc"
+initncdf, file
+cor=read_ncdf('lhf',date1,date2,file=file,/nostr)
+cor=-1*cor
+help, cor
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/lhf_oafluxgrid_1985_2009.nc'
+initncdf, file
+oaf=read_ncdf("lhf", date1, date2, file=file,/nostr)
+help, oaf
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/lhf_ncep2_oafluxgrid_19890101_20091231.nc'
+initncdf, fi
+nce=read_ncdf("lhf", date1, date2, file=fi,/nostr) 
+help, nce
+
+file='/Volumes/Iomega_HDD/flux_reconstruction/ncep/fluxe_ncep1_19890101_20091231.nc'
+initncdf, file
+nce1=-1*read_ncdf("lhf", date1, date2, file=file,/nostr) 
+help, nce1
+
+nsmooth=1.
+;------------------------------------------------------------------------------------------------------------------------
+nn=n_elements(sitelist)
+date1=date1
+date2=date2
+for n=0, nn-1 do begin
+
+;; reading data from mooring
+
+    site=sitelist(n) & csite=site
+    print, csite
+    x=x_site_location(site)
+    y=y_site_location(site)
+    if (y ge 0. and y le 30.) then y=y+360.
+    dx=0.5 & dy=0.5 & box=[y-dy, y+dy, x-dx, x+dx]
+    read_variables_v2, csite,date1,date2,nsmooth, $
+         at, sw,rh,sst,wu,wv,ws,lh
+
+    lhf=lh & ind=where(finite(lhf)) & valid=n_elements(ind)
+ 
+    if (valid ge 180. ) then begin
+
+    	extract_flux_tropflux,unc,box, $
+        	tropflux
+    	uncr=tropflux
+
+     	extract_flux_tropflux,cor,box, $  
+       		 tropflux
+     	corr=tropflux
+    
+     	extract_flux_tropflux,oaf,box, $
+        	tropflux
+     	oafl=tropflux
+
+     	extract_flux_tropflux,nce,box, $
+        	tropflux
+     	ncep=tropflux
+
+        extract_flux_tropflux,nce1,box, $
+                tropflux
+        ncep1=tropflux
+
+
+    	ind=where(finite(lhf)) & lhf=lhf(ind) & uncr_lhf=uncr(ind)  & corr_lhf=corr(ind) & oafl=oafl(ind) & ncep=ncep(ind) & ncep1=ncep1(ind)
+        mean_tao=total(lhf,/nan)/n_elements(lhf)
+
+    	statistics_3var_v1, lhf, uncr_lhf, corr_lhf, $
+        	 cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+ 
+    	printf, 1, x, y, cor1, bias1, std1, rmsd1, mean_tao, format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f7.2,3x,f4.2,3x,f5.2,3x,f6.2)'
+    	printf, 2, x, y, cor2, bias2, std2, rmsd2, mean_tao, format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f7.2,3x,f4.2,3x,f5.2,3x,f6.2)'
+
+    	statistics_3var_v1, lhf, oafl, ncep, $
+         	cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+    	printf, 3, x, y, cor1, bias1, std1, rmsd1, mean_tao,format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f7.2,3x,f4.2,3x,f5.2,3x,f6.2)'
+    	printf, 4, x, y, cor2, bias2, std2, rmsd2, mean_tao,format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f7.2,3x,f4.2,3x,f5.2,3x,f6.2)'
+
+        statistics_3var_v1, lhf, ncep1, ncep, $
+                cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+        printf, 5, x, y, cor1, bias1, std1, rmsd1, mean_tao,format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f7.2,3x,f4.2,3x,f5.2,3x,f6.2)'
+
+
+    endif
+endfor
+
+close,/all
+
+fi_lhf_erai='/Users/pkb/work/MY_SAXO/flux_automat/lhf_2000_2009_erai_v52.txt'
+res=read_ascii(fi_lhf_erai,data_start=1)
+ff=res.field1
+cor_erai=reform(ff(2,*))
+bias_erai=reform(ff(3,*))
+std_erai=reform(ff(4,*))
+rmsd_erai=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_erai=mean_tao+bias_erai
+
+ind=where(finite(cor_erai)) & cor=total(cor_erai,/nan)/n_elements(ind)
+ind=where(finite(bias_erai)) & bias=total(bias_erai,/nan)/n_elements(ind)
+ind=where(finite(rmsd_erai)) & rmsd=total(rmsd_erai,/nan)/n_elements(ind)
+ind=where(finite(std_erai)) & std=total(std_erai,/nan)/n_elements(ind)
+
+print, ''
+print, 'ERAI'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_erai, charsize=1.1, title='LHF - TAO Vs ERAI', $
+     xrange=[20,200], yrange=[20,200], small=[2,3,1], psym=2 
+xyouts, 50,25, cstat, charsize=1.
+xyouts, 50,10, 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_erai
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [20,200], [20,200]
+
+fi_lhf_trop='/Users/pkb/work/MY_SAXO/flux_automat/lhf_2000_2009_trop_v52.txt'
+res=read_ascii(fi_lhf_trop,data_start=1)
+ff=res.field1
+cor_trop=reform(ff(2,*))
+bias_trop=reform(ff(3,*))
+std_trop=reform(ff(4,*))
+rmsd_trop=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_trop=mean_tao+bias_trop
+
+ind=where(finite(cor_trop)) & cor=total(cor_trop,/nan)/n_elements(ind)
+ind=where(finite(bias_trop)) & bias=total(bias_trop,/nan)/n_elements(ind)
+ind=where(finite(rmsd_trop)) & rmsd=total(rmsd_trop,/nan)/n_elements(ind)
+ind=where(finite(std_trop)) & std=total(std_trop,/nan)/n_elements(ind)
+
+print, ''
+print, 'TropFlux'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_trop, charsize=1.1, title='LHF - TAO Vs TropFlux', $
+     xrange=[20,200], yrange=[20,200], small=[2,3,2],/noer, psym=2
+x=mean_tao & y=mean_trop
+xyouts, 50,25, cstat, charsize=1.
+xyouts, 50,10, 'cor    bias    std    rmsd', charsize=1.
+
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [20,200], [20,200]
+
+
+fi_lhf_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/lhf_2000_2009_oaflx_v52.txt'
+res=read_ascii(fi_lhf_oaflx,data_start=1)
+ff=res.field1
+cor_oaf=reform(ff(2,*))
+bias_oaf=reform(ff(3,*))
+std_oaf=reform(ff(4,*))
+rmsd_oaf=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_oaf=mean_tao+bias_oaf
+
+ind=where(finite(cor_oaf)) & cor=total(cor_oaf,/nan)/n_elements(ind)
+ind=where(finite(bias_oaf)) & bias=total(bias_oaf,/nan)/n_elements(ind)
+ind=where(finite(rmsd_oaf)) & rmsd=total(rmsd_oaf,/nan)/n_elements(ind)
+ind=where(finite(std_oaf)) & std=total(std_oaf,/nan)/n_elements(ind)
+
+print, ''
+print, 'OAFlux'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_oaf, charsize=1.1, title='LHF - TAO Vs OAFlux', $
+     xrange=[20,200], yrange=[20,200], small=[2,3,3],/noer, psym=2
+xyouts, 50,25, cstat, charsize=1.
+xyouts, 50,10, 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_oaf
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [20,200], [20,200]
+
+fi_lhf_ncep='/Users/pkb/work/MY_SAXO/flux_automat/lhf_2000_2009_ncep_v52.txt'
+res=read_ascii(fi_lhf_ncep,data_start=1)
+ff=res.field1
+cor_nce=reform(ff(2,*))
+bias_nce=reform(ff(3,*))
+std_nce=reform(ff(4,*))
+rmsd_nce=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_nce=mean_tao+bias_nce
+
+ind=where(finite(cor_nce)) & cor=total(cor_nce,/nan)/n_elements(ind)
+ind=where(finite(bias_nce)) & bias=total(bias_nce,/nan)/n_elements(ind)
+ind=where(finite(rmsd_nce)) & rmsd=total(rmsd_nce,/nan)/n_elements(ind)
+ind=where(finite(std_nce)) & std=total(std_nce,/nan)/n_elements(ind)
+
+print, ''
+print, 'NCEP2'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_nce, charsize=1.1, title='LHF - TAO Vs NCEP2', $
+     xrange=[20,200], yrange=[20,200], small=[2,3,4],/noer, psym=2
+xyouts, 50,25, cstat, charsize=1.
+xyouts, 50,10, 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_nce
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [20,200], [20,200]
+
+fi_lhf_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/lhf_2000_2009_ncep1_v52.txt'
+res=read_ascii(fi_lhf_ncep1,data_start=1)
+ff=res.field1
+cor_nce=reform(ff(2,*))
+bias_nce=reform(ff(3,*))
+std_nce=reform(ff(4,*))
+rmsd_nce=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_nce=mean_tao+bias_nce
+
+ind=where(finite(cor_nce)) & cor=total(cor_nce,/nan)/n_elements(ind)
+ind=where(finite(bias_nce)) & bias=total(bias_nce,/nan)/n_elements(ind)
+ind=where(finite(rmsd_nce)) & rmsd=total(rmsd_nce,/nan)/n_elements(ind)
+ind=where(finite(std_nce)) & std=total(std_nce,/nan)/n_elements(ind)
+
+print, ''
+print, 'NCEP1'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_nce, charsize=1.1, title='LHF - TAO Vs NCEP1', $
+     xrange=[20,200], yrange=[20,200], small=[2,3,5],/noer, psym=2
+xyouts, 50,25, cstat, charsize=1.
+xyouts, 50,10, 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_nce
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [20,200], [20,200]
+
+;-----------------------------------------------------------
+closeps
+
+fig='lhf_validation_scatter_2000_2009.ps'
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+return
+end
+;--------------------------------------------------------------------------
+function x_site_location, site
+    n1=strpos(site, 's')
+if (n1 gt -1) then begin
+    ns=-1.
+    x=strmid(site, 0, n1)
+    x=float(x)*ns
+endif else begin
+    n1=strpos(site, 'n')
+    x=strmid(site, 0, n1)
+    ny=1.
+    x=float(x)*ny
+endelse
+return, float(x)
+end
+;--------------------------------------------------------------------------
+function y_site_location, site
+    n1=strpos(site, 'e')
+if (n1 gt -1) then begin
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+    endelse
+
+endif else begin
+    n1=strpos(site, 'w')
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+   endelse
+endelse
+return,float(y)
+end
+
+;--------------------------------------------------------------------------
+
Index: /trunk/src/paper01/fig8/shf_validation_scatter_2000_2009.pro
===================================================================
--- /trunk/src/paper01/fig8/shf_validation_scatter_2000_2009.pro	(revision 41)
+++ /trunk/src/paper01/fig8/shf_validation_scatter_2000_2009.pro	(revision 41)
@@ -0,0 +1,358 @@
+;------------------------------------------------------------
+pro shf_validation_scatter_2000_2009,date1,date2
+@common
+;------------------------------------------------------------
+
+reinitplt, /z,/invert
+key_portrait = 1
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+;; Before running this program, you have to compile the following subrutines
+;;   1.  .r read_variables_sh
+;;   2.  .r statistics_3var_v1
+
+;; evaluation is done for 20000101, 20091231 period
+
+;; location of moorings
+
+sitelist=['8s67e','12s55e', '8s55e', '8s80.5e', '1.5s80.5e', '0n80.5e', '1.5n80.5e', '1.5s90e', $
+           '0n90e', '1.5n90e', '4n90e','8n90e','12n90e', '15n90e', '5s95e', $
+           '8s165e', '8s180w',  '8s155w', '8s125w', '8s110w', '8s95w',  '5s156e', '5s165e', '5s180w', '5s170w', $
+          '5s155w', '5s140w', '5s125w', '5s110w', '5s95w', '2s156e', '2s165e', '2s180w', '2s170w', '2s155w', '2s140w', $
+          '2s125w', '2s110w', '2s95w', '0n147e', '0n156e', '0n165e', '0n180w', '0n170w', '0n155w', '0n140w', '0n125w', $
+          '0n110w', '0n95w', '2n147e', '2n156e', '2n165e', '2n180w', '2n170w', '2n155w', '2n140w', '2n125w', '2n110w', $
+          '2n95w', '5n147e', '5n156e', '5n165e', '5n170w', '5n155w', '5n140w', '5n125w', '5n110w', '5n95w', $
+          '8n156e', '8n165e', '8n180w', '8n170w', '9n140w', '8n125w', '8n110w', '8n95w', $
+          '0n0e', '0n10w', '0n23w', '0n35w', '10s10w', '12n23w', '12n38w', '14s32w', '15n38w', '19s34w', '20n38w', $
+          '21n23w', '4n23w', '4n38w', '6s10w', '8n38w', '8s30w']
+
+ocean='global'
+
+nsmooth=1. 
+;------------------------------------------------------------------------------------------------------------------------
+;;   This program will create the following text files with statistics of respective variables
+;------------------------------------------------------------------------------------------------------------------------
+close,/all
+
+fi_shf_erai='/Users/pkb/work/MY_SAXO/flux_automat/shf_2000_2009_erai_v52.txt'
+openw,1,fi_shf_erai
+fi_shf_trop='/Users/pkb/work/MY_SAXO/flux_automat/shf_2000_2009_trop_v52.txt'
+openw,2,fi_shf_trop
+fi_shf_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/shf_2000_2009_oaflx_v52.txt'
+openw,3,fi_shf_oaflx
+fi_shf_ncep='/Users/pkb/work/MY_SAXO/flux_automat/shf_2000_2009_ncep_v52.txt'
+openw,4,fi_shf_ncep
+
+fi_shf_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/shf_2000_2009_ncep1_v52.txt'
+openw,5,fi_shf_ncep1
+
+
+printf,1, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,2, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,3, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,4, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,5, 'x     y      cor    bias     std     rmsd      mean_tao'
+
+;------------------------------------------------------------------------------------------------------------------------
+;; first reading the whole ERAI uncorrected and corrected data
+
+file='/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_shf_19890101_20091231_oafluxgrid.nc'
+initncdf, file
+unc=read_ncdf('shf',date1,date2,file=file,/nostr) 
+help, unc
+
+file='/Volumes/Iomega_HDD/TropFlux/input_cor/full_cor/TropFlux_19890101_20091231_v51.nc'
+initncdf, file
+cor=read_ncdf('shf',date1,date2,file=file,/nostr)
+cor=-1*cor
+help, cor
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/shf_oafluxgrid_1985_2009.nc'
+initncdf, file
+oaf=read_ncdf("shf", date1, date2, file=file,/nostr)
+help, oaf
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/shf_ncep2_oafluxgrid_19890101_20091231.nc'
+initncdf, fi
+nce=read_ncdf("shf", date1, date2, file=fi,/nostr) 
+help, nce
+
+file='/Volumes/Iomega_HDD/flux_reconstruction/ncep/fluxe_ncep1_19890101_20091231.nc'
+initncdf, file
+nce1=-1*read_ncdf("shf", date1, date2, file=file,/nostr)
+help, nce1
+
+;------------------------------------------------------------------------------------------------------------------------
+nn=n_elements(sitelist)
+date1=date1
+date2=date2
+for n=0, nn-1 do begin
+
+;; reading data from mooring
+
+    site=sitelist(n) & csite=site
+    print, csite
+    x=x_site_location(site)
+    y=y_site_location(site)
+    if (y ge 0. and y le 30.) then y=y+360.
+    dx=0.5 & dy=0.5 & box=[y-dy, y+dy, x-dx, x+dx]
+
+    read_variables_sh, csite,date1,date2,nsmooth, $
+         at, sw,rh,sst,wu,wv,ws,sh
+    shf=sh & ind=where(finite(shf)) & valid=n_elements(ind)
+ 
+    if (valid ge 180. ) then begin
+
+    	extract_flux_tropflux,unc,box, $
+        	tropflux
+    	uncr=tropflux
+
+     	extract_flux_tropflux,cor,box, $  
+       		 tropflux
+     	corr=tropflux
+    
+     	extract_flux_tropflux,oaf,box, $
+        	tropflux
+     	oafl=tropflux
+
+     	extract_flux_tropflux,nce,box, $
+        	tropflux
+     	ncep=tropflux
+
+        extract_flux_tropflux,nce1,box, $
+                tropflux
+        ncep1=tropflux
+
+    	ind=where(finite(shf)) & shf=shf(ind) & uncr_shf=uncr(ind)  & corr_shf=corr(ind) & oafl=oafl(ind) & ncep=ncep(ind)
+        ncep1=ncep1(ind) & mean_tao=total(shf,/nan)/n_elements(shf)
+
+    	statistics_3var_v1, shf, uncr_shf, corr_shf, $
+        	 cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+ 
+    	printf, 1, x, y, cor1, bias1, std1, rmsd1, mean_tao, format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f7.2,3x,f4.2,3x,f5.2,3x,f6.2)'
+    	printf, 2, x, y, cor2, bias2, std2, rmsd2, mean_tao, format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f7.2,3x,f4.2,3x,f5.2,3x,f6.2)'
+
+    	statistics_3var_v1, shf, oafl, ncep, $
+         	cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+    	printf, 3, x, y, cor1, bias1, std1, rmsd1, mean_tao,format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f7.2,3x,f4.2,3x,f5.2,3x,f6.2)'
+   	printf, 4, x, y, cor2, bias2, std2, rmsd2, mean_tao,format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f7.2,3x,f4.2,3x,f5.2,3x,f6.2)'
+
+        statistics_3var_v1, shf, ncep1, ncep, $
+                cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+        printf, 5, x, y, cor1, bias1, std1, rmsd1, mean_tao,format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f7.2,3x,f4.2,3x,f5.2,3x,f6.2)'
+
+    endif
+endfor
+
+close,/all
+
+fi_shf_erai='/Users/pkb/work/MY_SAXO/flux_automat/shf_2000_2009_erai_v52.txt'
+res=read_ascii(fi_shf_erai,data_start=1)
+ff=res.field1
+cor_erai=reform(ff(2,*))
+bias_erai=reform(ff(3,*))
+std_erai=reform(ff(4,*))
+rmsd_erai=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_erai=mean_tao+bias_erai
+
+ind=where(finite(cor_erai)) & cor=total(cor_erai,/nan)/n_elements(ind)
+ind=where(finite(bias_erai)) & bias=total(bias_erai,/nan)/n_elements(ind)
+ind=where(finite(rmsd_erai)) & rmsd=total(rmsd_erai,/nan)/n_elements(ind)
+ind=where(finite(std_erai)) & std=total(std_erai,/nan)/n_elements(ind)
+
+print, ''
+print, 'ERAI'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_erai, charsize=1.1, title='SHF - TAO Vs ERAI', $
+     xrange=[-5,25], yrange=[-5,25], small=[2,3,1], psym=2, xmin=1,ymin=1
+xyouts, 0,-0.5, cstat, charsize=1.
+xyouts, 0,-4., 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_erai
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [-5,25], [-5,25]
+
+
+fi_shf_trop='/Users/pkb/work/MY_SAXO/flux_automat/shf_2000_2009_trop_v52.txt'
+res=read_ascii(fi_shf_trop,data_start=1)
+ff=res.field1
+cor_trop=reform(ff(2,*))
+bias_trop=reform(ff(3,*))
+std_trop=reform(ff(4,*))
+rmsd_trop=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_trop=mean_tao+bias_trop
+
+ind=where(finite(cor_trop)) & cor=total(cor_trop,/nan)/n_elements(ind)
+ind=where(finite(bias_trop)) & bias=total(bias_trop,/nan)/n_elements(ind)
+ind=where(finite(rmsd_trop)) & rmsd=total(rmsd_trop,/nan)/n_elements(ind)
+ind=where(finite(std_trop)) & std=total(std_trop,/nan)/n_elements(ind)
+
+print, ''
+print, 'TropFlux'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_trop, charsize=1.1, title='SHF - TAO Vs TropFlux', $
+     xmin=1,ymin=1,xrange=[-5,25], yrange=[-5,25], small=[2,3,2],/noer, psym=2
+xyouts, 0,-0.5, cstat, charsize=1.
+xyouts, 0,-4., 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_trop
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [-5,25], [-5,25]
+
+
+fi_shf_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/shf_2000_2009_oaflx_v52.txt'
+res=read_ascii(fi_shf_oaflx,data_start=1)
+ff=res.field1
+cor_oaf=reform(ff(2,*))
+bias_oaf=reform(ff(3,*))
+std_oaf=reform(ff(4,*))
+rmsd_oaf=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_oaf=mean_tao+bias_oaf
+
+ind=where(finite(cor_oaf)) & cor=total(cor_oaf,/nan)/n_elements(ind)
+ind=where(finite(bias_oaf)) & bias=total(bias_oaf,/nan)/n_elements(ind)
+ind=where(finite(rmsd_oaf)) & rmsd=total(rmsd_oaf,/nan)/n_elements(ind)
+ind=where(finite(std_oaf)) & std=total(std_oaf,/nan)/n_elements(ind)
+
+print, ''
+print, 'OAFlux'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_oaf, charsize=1.1, title='SHF - TAO Vs OAFlux', $
+     xmin=1,ymin=1,xrange=[-5,25], yrange=[-5,25], small=[2,3,3],/noer, psym=2
+xyouts, 0,-0.5, cstat, charsize=1.
+xyouts, 0,-4., 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_oaf
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [-5,25], [-5,25]
+
+fi_shf_ncep='/Users/pkb/work/MY_SAXO/flux_automat/shf_2000_2009_ncep_v52.txt'
+res=read_ascii(fi_shf_ncep,data_start=1)
+ff=res.field1
+cor_nce=reform(ff(2,*))
+bias_nce=reform(ff(3,*))
+std_nce=reform(ff(4,*))
+rmsd_nce=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_nce=mean_tao+bias_nce
+
+ind=where(finite(cor_nce)) & cor=total(cor_nce,/nan)/n_elements(ind)
+ind=where(finite(bias_nce)) & bias=total(bias_nce,/nan)/n_elements(ind)
+ind=where(finite(rmsd_nce)) & rmsd=total(rmsd_nce,/nan)/n_elements(ind)
+ind=where(finite(std_nce)) & std=total(std_nce,/nan)/n_elements(ind)
+
+print, ''
+print, 'NCEP2'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_nce, charsize=1.1, title='SHF - TAO Vs NCEP2', $
+     xmin=1,ymin=1,xrange=[-5,25], yrange=[-5,25], small=[2,3,4],/noer, psym=2
+xyouts, 0,-0.5, cstat, charsize=1.
+xyouts, 0,-4., 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_nce
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [-5,25], [-5,25]
+
+fi_shf_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/shf_2000_2009_ncep1_v52.txt'
+res=read_ascii(fi_shf_ncep1,data_start=1)
+ff=res.field1
+cor_nce=reform(ff(2,*))
+bias_nce=reform(ff(3,*))
+std_nce=reform(ff(4,*))
+rmsd_nce=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_nce=mean_tao+bias_nce
+
+ind=where(finite(cor_nce)) & cor=total(cor_nce,/nan)/n_elements(ind)
+ind=where(finite(bias_nce)) & bias=total(bias_nce,/nan)/n_elements(ind)
+ind=where(finite(rmsd_nce)) & rmsd=total(rmsd_nce,/nan)/n_elements(ind)
+ind=where(finite(std_nce)) & std=total(std_nce,/nan)/n_elements(ind)
+
+print, ''
+print, 'NCEP1'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_nce, charsize=1.1, title='SHF - TAO Vs NCEP1', $
+     xmin=1,ymin=1,xrange=[-5,25], yrange=[-5,25], small=[2,3,5],/noer, psym=2
+xyouts, 0,-0.5, cstat, charsize=1.
+xyouts, 0,-4., 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_nce
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [-5,25], [-5,25]
+
+;-----------------------------------------------------------
+closeps
+
+fig='shf_validation_scatter_2000_2009.ps'
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+return
+end
+;--------------------------------------------------------------------------
+function x_site_location, site
+    n1=strpos(site, 's')
+if (n1 gt -1) then begin
+    ns=-1.
+    x=strmid(site, 0, n1)
+    x=float(x)*ns
+endif else begin
+    n1=strpos(site, 'n')
+    x=strmid(site, 0, n1)
+    ny=1.
+    x=float(x)*ny
+endelse
+return, float(x)
+end
+;--------------------------------------------------------------------------
+function y_site_location, site
+    n1=strpos(site, 'e')
+if (n1 gt -1) then begin
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+    endelse
+
+endif else begin
+    n1=strpos(site, 'w')
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+   endelse
+endelse
+return,float(y)
+end
+
+;--------------------------------------------------------------------------
+
Index: /trunk/src/paper01/fig9/lwr_validation_scatter_2000_2007.pro
===================================================================
--- /trunk/src/paper01/fig9/lwr_validation_scatter_2000_2007.pro	(revision 41)
+++ /trunk/src/paper01/fig9/lwr_validation_scatter_2000_2007.pro	(revision 41)
@@ -0,0 +1,415 @@
+;------------------------------------------------------------
+pro lwr_validation_scatter_2000_2007,date1,date2
+@common
+;------------------------------------------------------------
+
+reinitplt, /z,/invert
+key_portrait = 1
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+;; Before running this program, you have to compile the following subrutines
+;;   1.  .r read_lw_global_v2
+;;   2.  .r statistics_3var_v1
+
+;; evaluation is done for 20000101-20071231 period
+
+;; location of moorings
+
+sitelist=['8s67e','12s55e', '8s55e', '8s80.5e', '1.5s80.5e', '0n80.5e', '1.5n80.5e', '1.5s90e', $
+           '0n90e', '1.5n90e', '4n90e','8n90e','12n90e', '15n90e', '5s95e', $
+           '8s165e', '8s180w',  '8s155w', '8s125w', '8s110w', '8s95w',  '5s156e', '5s165e', '5s180w', '5s170w', $
+          '5s155w', '5s140w', '5s125w', '5s110w', '5s95w', '2s156e', '2s165e', '2s180w', '2s170w', '2s155w', '2s140w', $
+          '2s125w', '2s110w', '2s95w', '0n147e', '0n156e', '0n165e', '0n180w', '0n170w', '0n155w', '0n140w', '0n125w', $
+          '0n110w', '0n95w', '2n147e', '2n156e', '2n165e', '2n180w', '2n170w', '2n155w', '2n140w', '2n125w', '2n110w', $
+          '2n95w', '5n147e', '5n156e', '5n165e', '5n170w', '5n155w', '5n140w', '5n125w', '5n110w', '5n95w', $
+          '8n156e', '8n165e', '8n180w', '8n170w', '9n140w', '8n125w', '8n110w', '8n95w', $
+          '0n0e', '0n10w', '0n23w', '0n35w', '10s10w', '12n23w', '12n38w', '14s32w', '15n38w', '19s34w', '20n38w', $
+          '21n23w', '4n23w', '4n38w', '6s10w', '8n38w', '8s30w']
+
+sitelist=['0n110w', '0n140w', '0n165e', '0n170w', '0n23w', '0n80.5e', '0n95w', '10s10w', '12n23w', '15n38w', $
+          '15n90e', '2n95w', '2s95w', '5n95w', '5s95w', '8n95w', '8s67e', '8s95w']
+
+ocean='global'
+
+da1=20000101 & da2=20071231
+nsmooth=1.    
+;------------------------------------------------------------------------------------------------------------------------
+;;   This program will create the following text files with statistics of respective variables
+;------------------------------------------------------------------------------------------------------------------------
+close,/all
+
+fi_lwr_erai='/Users/pkb/work/MY_SAXO/flux_automat/lwr_2000_2007_erai.txt'
+openw,1,fi_lwr_erai
+fi_lwr_trop='/Users/pkb/work/MY_SAXO/flux_automat/lwr_2000_2007_trop.txt'
+openw,2,fi_lwr_trop
+fi_lwr_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/lwr_2000_2007_oaflx.txt'
+openw,3,fi_lwr_oaflx
+fi_lwr_ncep='/Users/pkb/work/MY_SAXO/flux_automat/lwr_2000_2007_ncep.txt'
+openw,4,fi_lwr_ncep
+fi_lwr_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/lwr_2000_2007_ncep1.txt'
+openw,5,fi_lwr_ncep1
+fi_lwr_clark='/Users/pkb/work/MY_SAXO/flux_automat/lwr_2000_2007_clark.txt'
+openw,6,fi_lwr_clark
+
+printf,1, 'x     y      cor    bias     std     rmsd'
+printf,2, 'x     y      cor    bias     std     rmsd'
+printf,3, 'x     y      cor    bias     std     rmsd'
+printf,4, 'x     y      cor    bias     std     rmsd'
+printf,5, 'x     y      cor    bias     std     rmsd'
+printf,6, 'x     y      cor    bias     std     rmsd'
+
+;------------------------------------------------------------------------------------------------------------------------
+;; first reading the whole ERAI uncorrected and corrected data
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/gridded_data/erai_fluxes_19930101_20090801_TROP_oafluxgrid.nc'
+initncdf, file
+unc=read_ncdf('lwr',date1,date2,file=file,/nostr)  
+help, unc
+
+file="/Volumes/Sanathana/TropFlux_data/TropFlux_lwr_19890101_20091231.nc"
+initncdf, file
+cor=read_ncdf('lwr',date1,date2,file=file,/nostr) & cor=-1*cor
+help, cor
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/lwr_oafluxgrid_1985_2007.nc'
+initncdf, file
+oaf=read_ncdf("lwr", date1, date2, file=file,/nostr)
+help, oaf
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/NCEP2_flux_19890101_20090729.nc'
+initncdf, fi
+nce=read_ncdf("lwr", date1, date2, file=fi,/nostr) ;;  & nce=-1*nce 
+help, nce
+
+file='/Volumes/Iomega_HDD/flux_reconstruction/ncep/fluxe_ncep1_19890101_20091231.nc'
+initncdf, file
+nce1=-1*read_ncdf("lwr", date1, date2, file=file,/nostr)
+help, nce1
+
+file='/Volumes/Iomega_HDD/TropFlux/input_cor/full_cor/TropFlux_19890101_20091231.nc'
+initncdf, file
+clark=-1*read_ncdf("lwr", date1, date2, file=file,/nostr)
+help, clark
+
+;------------------------------------------------------------------------------------------------------------------------
+nn=n_elements(sitelist)
+date1=date1
+date2=date2
+for n=0, nn-1 do begin
+
+;; reading data from mooring
+
+    site=sitelist(n) & csite=site
+    print, csite
+    x=x_site_location(site)
+    y=y_site_location(site)
+    if (y ge 0. and y le 30.) then y=y+360.
+    dx=0.5 & dy=0.5 & box=[y-dy, y+dy, x-dx, x+dx]
+    read_lw_global_v2, csite, date1, date2, box, $
+                           lw
+
+    lwr=lw & ind=where(finite(lwr)) & valid=n_elements(ind)
+ 
+    if (valid ge 180. ) then begin
+
+    	extract_flux_tropflux,unc,box, $
+        	tropflux
+    	uncr=tropflux
+
+     	extract_flux_tropflux,cor,box, $  
+       		 tropflux
+     	corr=tropflux
+    
+     	extract_flux_tropflux,oaf,box, $
+        	tropflux
+     	oafl=tropflux
+
+     	extract_flux_tropflux,nce,box, $
+        	tropflux
+     	ncep=tropflux
+
+        extract_flux_tropflux,nce1,box, $
+                tropflux
+        ncep1=tropflux
+
+        extract_flux_tropflux,clark,box, $
+                tropflux
+        clrk=tropflux
+
+
+    	ind=where(finite(lwr)) & lwr=lwr(ind) & uncr_lwr=uncr(ind)  & corr_lwr=corr(ind) & oafl=oafl(ind) & ncep=ncep(ind) & clrk=clrk(ind)
+        ncep1=ncep1(ind)
+        mean_tao=total(lwr)/n_elements(ind)
+
+    	statistics_3var_v1, lwr, uncr_lwr, corr_lwr, $
+        	 cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+ 
+    	printf, 1, x, y, cor1, bias1, std1, rmsd1, mean_tao, format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f6.2,3x,f4.2,3x,f5.2,3x,f6.2)'
+    	printf, 2, x, y, cor2, bias2, std2, rmsd2, mean_tao,format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f6.2,3x,f4.2,3x,f5.2,3x,f6.2)'
+
+    	statistics_3var_v1, lwr, oafl, ncep, $
+         	cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+    	printf, 3, x, y, cor1, bias1, std1, rmsd1, mean_tao,format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f6.2,3x,f4.2,3x,f5.2,3x,f6.2)'
+    	printf, 4, x, y, cor2, bias2, std2, rmsd2, mean_tao,format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f6.2,3x,f4.2,3x,f5.2,3x,f6.2)'
+
+        statistics_3var_v1, lwr, ncep1, clrk, $
+                cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+        printf, 5, x, y, cor1, bias1, std1, rmsd1, mean_tao,format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f6.2,3x,f4.2,3x,f5.2,3x,f6.2)'
+        printf, 6, x, y, cor2, bias2, std2, rmsd2, mean_tao,format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f6.2,3x,f4.2,3x,f5.2,3x,f6.2)'
+
+    endif	
+endfor
+;-----------------------------------------------------------------------------------------
+close,/all  
+
+fi_lwr_erai='/Users/pkb/work/MY_SAXO/flux_automat/lwr_2000_2007_erai.txt'
+res=read_ascii(fi_lwr_erai,data_start=1)
+ff=res.field1
+cor_erai=reform(ff(2,*))
+bias_erai=reform(ff(3,*))
+std_erai=reform(ff(4,*))
+rmsd_erai=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_erai=mean_tao+bias_erai
+
+ind=where(finite(cor_erai)) & cor=total(cor_erai,/nan)/n_elements(ind)
+ind=where(finite(bias_erai)) & bias=total(bias_erai,/nan)/n_elements(ind)
+ind=where(finite(rmsd_erai)) & rmsd=total(rmsd_erai,/nan)/n_elements(ind)
+ind=where(finite(std_erai)) & std=total(std_erai,/nan)/n_elements(ind)
+
+print, ''
+print, 'ERAI'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_erai, charsize=1.1, title='LWR - TAO Vs ERAI', $
+     xrange=[0,100], yrange=[0,100], small=[2,3,1], psym=2, xmin=1, ymin=1
+xyouts, 40,10, cstat, charsize=1.
+xyouts, 40,3, 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_erai
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [0,100], [0,100]
+
+significance_test, mean_tao, mean_erai
+
+fi_lwr_trop='/Users/pkb/work/MY_SAXO/flux_automat/lwr_2000_2007_trop.txt'
+res=read_ascii(fi_lwr_trop,data_start=1)
+ff=res.field1
+cor_trop=reform(ff(2,*))
+bias_trop=reform(ff(3,*))
+std_trop=reform(ff(4,*))
+rmsd_trop=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_trop=mean_tao+bias_trop
+
+ind=where(finite(cor_trop)) & cor=total(cor_trop,/nan)/n_elements(ind)
+ind=where(finite(bias_trop)) & bias=total(bias_trop,/nan)/n_elements(ind)
+ind=where(finite(rmsd_trop)) & rmsd=total(rmsd_trop,/nan)/n_elements(ind)
+ind=where(finite(std_trop)) & std=total(std_trop,/nan)/n_elements(ind)
+
+print, ''
+print, 'TropFlux'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_trop, charsize=1.1, title='LWR - TAO Vs TropFlux', $
+     xmin=1,ymin=1,xrange=[0,100], yrange=[0,100], small=[2,3,2],/noer, psym=2
+xyouts, 40,10, cstat, charsize=1.
+xyouts, 40,3, 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_trop
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [0,100], [0,100]
+
+significance_test, mean_tao, mean_trop
+
+fi_lwr_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/lwr_2000_2007_oaflx.txt'
+res=read_ascii(fi_lwr_oaflx,data_start=1)
+ff=res.field1
+cor_oaf=reform(ff(2,*))
+bias_oaf=reform(ff(3,*))
+std_oaf=reform(ff(4,*))
+rmsd_oaf=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_oaf=mean_tao+bias_oaf
+
+ind=where(finite(cor_oaf)) & cor=total(cor_oaf,/nan)/n_elements(ind)
+ind=where(finite(bias_oaf)) & bias=total(bias_oaf,/nan)/n_elements(ind)
+ind=where(finite(rmsd_oaf)) & rmsd=total(rmsd_oaf,/nan)/n_elements(ind)
+ind=where(finite(std_oaf)) & std=total(std_oaf,/nan)/n_elements(ind)
+
+print, ''
+print, 'OAFlux'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_oaf, charsize=1.1, title='LWR - TAO Vs OAFlux', $
+     xmin=1,ymin=1,xrange=[0,100], yrange=[0,100], small=[2,3,3],/noer, psym=2
+xyouts, 40,10, cstat, charsize=1.
+xyouts, 40,3, 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_oaf
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [0,100], [0,100]
+
+significance_test, mean_tao, mean_oaf
+
+fi_lwr_ncep='/Users/pkb/work/MY_SAXO/flux_automat/lwr_2000_2007_ncep.txt'
+res=read_ascii(fi_lwr_ncep,data_start=1)
+ff=res.field1
+cor_nce=reform(ff(2,*))
+bias_nce=reform(ff(3,*))
+std_nce=reform(ff(4,*))
+rmsd_nce=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_nce=mean_tao+bias_nce
+
+ind=where(finite(cor_nce)) & cor=total(cor_nce,/nan)/n_elements(ind)
+ind=where(finite(bias_nce)) & bias=total(bias_nce,/nan)/n_elements(ind)
+ind=where(finite(rmsd_nce)) & rmsd=total(rmsd_nce,/nan)/n_elements(ind)
+ind=where(finite(std_nce)) & std=total(std_nce,/nan)/n_elements(ind)
+
+print, ''
+print, 'NCEP2'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_nce, charsize=1.1, title='LWR - TAO Vs NCEP2', $
+     xmin=1,ymin=1,xrange=[0,100], yrange=[0,100], small=[2,3,4],/noer, psym=2
+xyouts, 40,10, cstat, charsize=1.
+xyouts, 40,3, 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_nce
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [0,100], [0,100]
+
+significance_test, mean_tao, mean_nce
+
+fi_lwr_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/lwr_2000_2007_ncep1.txt'
+res=read_ascii(fi_lwr_ncep1,data_start=1)
+ff=res.field1
+cor_nce=reform(ff(2,*))
+bias_nce=reform(ff(3,*))
+std_nce=reform(ff(4,*))
+rmsd_nce=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_nce=mean_tao+bias_nce
+
+ind=where(finite(cor_nce)) & cor=total(cor_nce,/nan)/n_elements(ind)
+ind=where(finite(bias_nce)) & bias=total(bias_nce,/nan)/n_elements(ind)
+ind=where(finite(rmsd_nce)) & rmsd=total(rmsd_nce,/nan)/n_elements(ind)
+ind=where(finite(std_nce)) & std=total(std_nce,/nan)/n_elements(ind)
+
+print, ''
+print, 'NCEP1'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_nce, charsize=1.1, title='LWR - TAO Vs NCEP1', $
+     xmin=1,ymin=1,xrange=[0,100], yrange=[0,100], small=[2,3,5],/noer, psym=2
+xyouts, 40,10, cstat, charsize=1.
+xyouts, 40,3, 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_nce
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [0,100], [0,100]
+
+significance_test, mean_tao, mean_nce
+
+fi_lwr_clark='/Users/pkb/work/MY_SAXO/flux_automat/lwr_2000_2007_clark.txt'
+res=read_ascii(fi_lwr_clark,data_start=1)
+ff=res.field1
+cor_clark=reform(ff(2,*))
+bias_clark=reform(ff(3,*))
+std_clark=reform(ff(4,*))
+rmsd_clark=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_clark=mean_tao+bias_clark
+
+ind=where(finite(cor_clark)) & cor=total(cor_clark,/nan)/n_elements(ind)
+ind=where(finite(bias_clark)) & bias=total(bias_clark,/nan)/n_elements(ind)
+ind=where(finite(rmsd_clark)) & rmsd=total(rmsd_clark,/nan)/n_elements(ind)
+ind=where(finite(std_clark)) & std=total(std_clark,/nan)/n_elements(ind)
+
+print, ''
+print, 'CLARK LWR'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_clark, charsize=1.1, title='LWR - TAO Vs CLARK', $
+     xmin=1,ymin=1,xrange=[0,100], yrange=[0,100], small=[2,3,6],/noer, psym=2
+xyouts, 40,10, cstat, charsize=1.
+xyouts, 40,3, 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_clark
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [0,100], [0,100]
+
+significance_test, mean_tao, mean_clark
+
+;-----------------------------------------------------------
+closeps
+
+fig='lwr_validation_scatter_2000_2007.ps'
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+return
+end
+;--------------------------------------------------------------------------
+function x_site_location, site
+    n1=strpos(site, 's')
+if (n1 gt -1) then begin
+    ns=-1.
+    x=strmid(site, 0, n1)
+    x=float(x)*ns
+endif else begin
+    n1=strpos(site, 'n')
+    x=strmid(site, 0, n1)
+    ny=1.
+    x=float(x)*ny
+endelse
+return, float(x)
+end
+;--------------------------------------------------------------------------
+function y_site_location, site
+    n1=strpos(site, 'e')
+if (n1 gt -1) then begin
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+    endelse
+
+endif else begin
+    n1=strpos(site, 'w')
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+   endelse
+endelse
+return,float(y)
+end
+
+;--------------------------------------------------------------------------
+
Index: /trunk/src/paper01/fig9/swr_validation_scatter_2000_2007.pro
===================================================================
--- /trunk/src/paper01/fig9/swr_validation_scatter_2000_2007.pro	(revision 41)
+++ /trunk/src/paper01/fig9/swr_validation_scatter_2000_2007.pro	(revision 41)
@@ -0,0 +1,407 @@
+;------------------------------------------------------------
+pro swr_validation_scatter_2000_2007,date1,date2
+@common
+;------------------------------------------------------------
+
+reinitplt, /z,/invert
+key_portrait = 1
+
+openps, FILENAME = 'idl.ps'
+;------------------------------------------------------------
+;; Before running this program, you have to compile the following subrutines
+;;   1.  .r read_global_sw_v50
+;;   2.  .r statistics_3var_v1
+
+;; evaluation is done for 20000101-20071231 period
+
+;; location of mooring
+
+
+sitelist=['5n165e','8s67e','12s55e', '8s55e', '8s80.5e', '1.5s80.5e', '0n80.5e', '1.5n80.5e', '1.5s90e', $
+           '0n90e', '1.5n90e', '4n90e','8n90e','12n90e', '15n90e', '5s95e', $
+           '8s165e', '8s180w',  '8s155w', '8s125w', '8s110w', '8s95w',  '5s156e', '5s165e', '5s180w', '5s170w', $
+          '5s155w', '5s140w', '5s125w', '5s110w', '5s95w', '2s156e', '2s165e', '2s180w', '2s170w', '2s155w', '2s140w', $
+          '2s125w', '2s110w', '2s95w', '0n147e', '0n156e', '0n165e', '0n180w', '0n170w', '0n155w', '0n140w', '0n125w', $
+          '0n110w', '0n95w', '2n147e', '2n156e', '2n165e', '2n180w', '2n170w', '2n155w', '2n140w', '2n125w', '2n110w', $
+          '2n95w', '5n147e', '5n156e', '5n170w', '5n155w', '5n140w', '5n125w', '5n110w', '5n95w', $
+          '8n156e', '8n165e', '8n180w', '8n170w', '9n140w', '8n125w', '8n110w', '8n95w', $
+          '0n0e', '0n10w', '0n23w', '0n35w', '10s10w', '12n23w', '12n38w', '14s32w', '15n38w', '19s34w', '20n38w', $
+          '21n23w', '4n23w', '4n38w', '6s10w', '8n38w', '8s30w']
+
+ocean='global'
+
+;da1=20000101 & da2=20071231
+nsmooth=1.   
+;------------------------------------------------------------------------------------------------------------------------
+;;   This program will create the following text files with statistics of respective variables
+;------------------------------------------------------------------------------------------------------------------------
+close,/all
+
+fi_swr_erai='/Users/pkb/work/MY_SAXO/flux_automat/swr_2000_2007_erai_v50.txt'
+openw,1,fi_swr_erai
+fi_swr_trop='/Users/pkb/work/MY_SAXO/flux_automat/swr_2000_2007_trop_v50.txt'
+openw,2,fi_swr_trop
+fi_swr_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/swr_2000_2007_oaflx_v50.txt'
+openw,3,fi_swr_oaflx
+fi_swr_ncep='/Users/pkb/work/MY_SAXO/flux_automat/swr_2000_2007_ncep_v50.txt'
+openw,4,fi_swr_ncep
+fi_swr_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/swr_2000_2007_ncep1_v50.txt'
+openw,5,fi_swr_ncep1
+fi_swr_olr='/Users/pkb/work/MY_SAXO/flux_automat/swr_2000_2007_olr_v50.txt'
+openw,6,fi_swr_olr
+
+
+printf,1, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,2, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,3, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,4, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,5, 'x     y      cor    bias     std     rmsd      mean_tao'
+printf,6, 'x     y      cor    bias     std     rmsd      mean_tao'
+
+;------------------------------------------------------------------------------------------------------------------------
+;; first reading the whole ERAI uncorrected and corrected data
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/gridded_data/erai_fluxes_20000101_20090801_TROP_oafluxgrid.nc'
+initncdf, file
+unc=read_ncdf('swr',date1,date2,file=file,/nostr) & unc=-1*unc 
+help, unc
+
+file='/Users/pkb/data/TropFlux/TropFlux_swr_19890101_20071231_DT_v51.nc'
+initncdf, file
+cor=read_ncdf('swr',date1,date2,file=file,/nostr)
+help, cor
+
+file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/swr_oafluxgrid_1985_2007.nc'
+initncdf, file
+oaf=read_ncdf("swr", date1, date2, file=file,/nostr)
+help, oaf
+
+fi='/Volumes/Iomega_HDD/flux_reconstruction/ncep2/swr_ncep2_oaflxgrid_19890101_20091231.nc'
+initncdf, fi
+nce=read_ncdf("swr", date1, date2, file=fi,/nostr) & nce=0.94*nce 
+help, nce
+
+file='/Volumes/Iomega_HDD/flux_reconstruction/ncep/fluxe_ncep1_19890101_20091231.nc'
+initncdf, file
+nce1=read_ncdf("swr", date1, date2, file=file,/nostr)
+help, nce1
+
+file='/Users/pkb/data/TropFlux/TropFlux_swr_19890101_20091231_NRT_v50.nc'
+initncdf, file
+sw_olr=read_ncdf("sw", date1-1, date2, file=file,/nostr)
+help, sw_olr
+;------------------------------------------------------------------------------------------------------------------------
+nn=n_elements(sitelist)
+date1=date1
+date2=date2
+for n=0, nn-1 do begin
+
+;; reading data from mooring
+
+    site=sitelist(n) & csite=site
+    print, csite
+    x=x_site_location(site)
+    y=y_site_location(site)
+    if (y ge 0. and y le 30.) then y=y+360.
+    dx=0.5 & dy=0.5 & box=[y-dy, y+dy, x-dx, x+dx]
+
+    read_global_sw_v50, csite, date1, date2, box, $
+                           sw
+
+    swr=sw & ind=where(finite(swr)) & valid=n_elements(ind)
+ 
+    if (valid ge 180. ) then begin
+
+    	extract_flux_tropflux,unc,box, $
+        	tropflux
+    	uncr=tropflux
+
+     	extract_flux_tropflux,cor,box, $  
+       		 tropflux
+     	corr=tropflux
+    
+     	extract_flux_tropflux,oaf,box, $
+        	tropflux
+     	oafl=tropflux
+
+     	extract_flux_tropflux,nce,box, $
+        	tropflux
+     	ncep=tropflux
+
+        extract_flux_tropflux,nce1,box, $
+                tropflux
+        ncep1=tropflux
+
+    
+        extract_flux_tropflux,sw_olr,box, $
+                tropflux
+        olr=tropflux
+
+	ind=where(finite(swr)) & swr=swr(ind) & uncr_swr=uncr(ind)  & corr_swr=corr(ind) & oafl=oafl(ind) & ncep=ncep(ind)
+        ncep1=ncep1(ind) & olr_sw=olr(ind)& mean_tao=total(swr,/nan)/n_elements(swr)
+
+    	statistics_3var_v1, swr, uncr_swr, corr_swr, $
+        	 cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+ 
+    	printf, 1, x, y, cor1, bias1, std1, rmsd1, mean_tao, format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f7.2,3x,f4.2,3x,f5.2,3x,f6.2)'
+    	printf, 2, x, y, cor2, bias2, std2, rmsd2, mean_tao, format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f7.2,3x,f4.2,3x,f5.2,3x,f6.2)'
+
+    	statistics_3var_v1, swr, oafl, ncep, $
+         	cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+    	printf, 3, x, y, cor1, bias1, std1, rmsd1, mean_tao,format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f7.2,3x,f4.2,3x,f5.2,3x,f6.2)'
+    	printf, 4, x, y, cor2, bias2, std2, rmsd2, mean_tao,format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f7.2,3x,f4.2,3x,f5.2,3x,f6.2)'
+
+        statistics_3var_v1, swr, ncep1, olr_sw, $
+                cor1, cor2, bias1, bias2, std1, std2, rmsd1, rmsd2
+        printf, 5, x, y, cor1, bias1, std1, rmsd1, mean_tao,format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f7.2,3x,f4.2,3x,f5.2,3x,f6.2)'
+        printf, 6, x, y, cor2, bias2, std2, rmsd2, mean_tao,format='(f6.2, 3x, f6.2, 3x, f4.2,3x,f7.2,3x,f4.2,3x,f5.2,3x,f6.2)'
+
+    endif
+endfor
+
+close,/all
+
+fi_swr_erai='/Users/pkb/work/MY_SAXO/flux_automat/swr_2000_2007_erai_v50.txt'
+res=read_ascii(fi_swr_erai,data_start=1)
+ff=res.field1
+cor_erai=reform(ff(2,*))
+bias_erai=reform(ff(3,*))
+std_erai=reform(ff(4,*))
+rmsd_erai=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_erai=mean_tao+bias_erai
+
+ind=where(finite(cor_erai)) & cor=total(cor_erai,/nan)/n_elements(ind)
+ind=where(finite(bias_erai)) & bias=total(bias_erai,/nan)/n_elements(ind)
+ind=where(finite(rmsd_erai)) & rmsd=total(rmsd_erai,/nan)/n_elements(ind)
+ind=where(finite(std_erai)) & std=total(std_erai,/nan)/n_elements(ind)
+
+print, ''
+print, 'ERAI'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_erai, charsize=1.1, title='SWR - TAO Vs ERAI', $
+     xrange=[100,300], yrange=[100,300], small=[2,3,1], psym=2, xmin=1, ymin=1
+xyouts, 180,175, cstat, charsize=1.
+xyouts, 180,160, 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_erai
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [100,300], [100,300]
+
+
+fi_swr_trop='/Users/pkb/work/MY_SAXO/flux_automat/swr_2000_2007_trop_v50.txt'
+res=read_ascii(fi_swr_trop,data_start=1)
+ff=res.field1
+cor_trop=reform(ff(2,*))
+bias_trop=reform(ff(3,*))
+std_trop=reform(ff(4,*))
+rmsd_trop=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_trop=mean_tao+bias_trop
+
+ind=where(finite(cor_trop)) & cor=total(cor_trop,/nan)/n_elements(ind)
+ind=where(finite(bias_trop)) & bias=total(bias_trop,/nan)/n_elements(ind)
+ind=where(finite(rmsd_trop)) & rmsd=total(rmsd_trop,/nan)/n_elements(ind)
+ind=where(finite(std_trop)) & std=total(std_trop,/nan)/n_elements(ind)
+
+print, ''
+print, 'TropFlux'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_trop, charsize=1.1, title='SWR - TAO Vs TropFlux_DT', $
+     xmin=1,ymin=1,xrange=[100,300], yrange=[100,300], small=[2,3,2],/noer, psym=2
+xyouts, 180,175, cstat, charsize=1.
+xyouts, 180,160, 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_trop
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [100,300], [100,300]
+
+
+fi_swr_oaflx='/Users/pkb/work/MY_SAXO/flux_automat/swr_2000_2007_oaflx_v50.txt'
+res=read_ascii(fi_swr_oaflx,data_start=1)
+ff=res.field1
+cor_oaf=reform(ff(2,*))
+bias_oaf=reform(ff(3,*))
+std_oaf=reform(ff(4,*))
+rmsd_oaf=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_oaf=mean_tao+bias_oaf
+
+ind=where(finite(cor_oaf)) & cor=total(cor_oaf,/nan)/n_elements(ind)
+ind=where(finite(bias_oaf)) & bias=total(bias_oaf,/nan)/n_elements(ind)
+ind=where(finite(rmsd_oaf)) & rmsd=total(rmsd_oaf,/nan)/n_elements(ind)
+ind=where(finite(std_oaf)) & std=total(std_oaf,/nan)/n_elements(ind)
+
+print, ''
+print, 'OAFlux'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_oaf, charsize=1.1, title='SWR - TAO Vs OAFlux', $
+     xmin=1,ymin=1,xrange=[100,300], yrange=[100,300], small=[2,3,3],/noer, psym=2
+xyouts, 180,175, cstat, charsize=1.
+xyouts, 180,160, 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_oaf
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [100,300], [100,300]
+
+
+fi_swr_ncep='/Users/pkb/work/MY_SAXO/flux_automat/swr_2000_2007_ncep_v50.txt'
+res=read_ascii(fi_swr_ncep,data_start=1)
+ff=res.field1
+cor_nce=reform(ff(2,*))
+bias_nce=reform(ff(3,*))
+std_nce=reform(ff(4,*))
+rmsd_nce=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_nce=mean_tao+bias_nce
+
+ind=where(finite(cor_nce)) & cor=total(cor_nce,/nan)/n_elements(ind)
+ind=where(finite(bias_nce)) & bias=total(bias_nce,/nan)/n_elements(ind)
+ind=where(finite(rmsd_nce)) & rmsd=total(rmsd_nce,/nan)/n_elements(ind)
+ind=where(finite(std_nce)) & std=total(std_nce,/nan)/n_elements(ind)
+
+print, ''
+print, 'NCEP2'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_nce, charsize=1.1, title='SWR - TAO Vs NCEP2', $
+     xmin=1,ymin=1,xrange=[100,300], yrange=[100,300], small=[2,3,4],/noer, psym=2
+xyouts, 180,175, cstat, charsize=1.
+xyouts, 180,160, 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_nce
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [100,300], [100,300]
+
+
+fi_swr_ncep1='/Users/pkb/work/MY_SAXO/flux_automat/swr_2000_2007_ncep1_v50.txt'
+res=read_ascii(fi_swr_ncep1,data_start=1)
+ff=res.field1
+cor_nce=reform(ff(2,*))
+bias_nce=reform(ff(3,*))
+std_nce=reform(ff(4,*))
+rmsd_nce=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_nce=mean_tao+bias_nce
+
+ind=where(finite(cor_nce)) & cor=total(cor_nce,/nan)/n_elements(ind)
+ind=where(finite(bias_nce)) & bias=total(bias_nce,/nan)/n_elements(ind)
+ind=where(finite(rmsd_nce)) & rmsd=total(rmsd_nce,/nan)/n_elements(ind)
+ind=where(finite(std_nce)) & std=total(std_nce,/nan)/n_elements(ind)
+
+print, ''
+print, 'NCEP1'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_nce, charsize=1.1, title='SWR - TAO Vs NCEP1', $
+     xmin=1,ymin=1,xrange=[100,300], yrange=[100,300], small=[2,3,5],/noer, psym=2
+xyouts, 180,175, cstat, charsize=1.
+xyouts, 180,160, 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_nce
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [100,300], [100,300]
+
+
+fi_swr_olr='/Users/pkb/work/MY_SAXO/flux_automat/swr_2000_2007_olr_v50.txt'
+res=read_ascii(fi_swr_olr,data_start=1)
+ff=res.field1
+cor_olr=reform(ff(2,*))
+bias_olr=reform(ff(3,*))
+std_olr=reform(ff(4,*))
+rmsd_olr=reform(ff(5,*))
+mean_tao=reform(ff(6,*))
+mean_olr=mean_tao+bias_olr
+
+ind=where(finite(cor_olr)) & cor=total(cor_olr,/nan)/n_elements(ind)
+ind=where(finite(bias_olr)) & bias=total(bias_olr,/nan)/n_elements(ind)
+ind=where(finite(rmsd_olr)) & rmsd=total(rmsd_olr,/nan)/n_elements(ind)
+ind=where(finite(std_olr)) & std=total(std_olr,/nan)/n_elements(ind)
+
+print, ''
+print, 'SWR_olr'
+print, cor, bias, std, rmsd
+cstat=string(cor, bias, std, rmsd, format='(f4.2,2x,f6.2,2x,f4.2,1x,f6.2)')
+
+splot, mean_tao, mean_olr, charsize=1.1, title='SWR - TAO Vs SWR_olr', $
+     xmin=1,ymin=1,xrange=[100,300], yrange=[100,300], small=[2,3,6],/noer, psym=2
+xyouts, 180,175, cstat, charsize=1.
+xyouts, 180,160, 'cor    bias    std    rmsd', charsize=1.
+
+x=mean_tao & y=mean_olr
+ab=linfit(x,y,yfit=yfit)
+a=float(ab(0)) & b=float(ab(1)) & print, a,b
+oplot, x, yfit, thick=2, color=250
+oplot, [100,300], [100,300]
+
+
+;-----------------------------------------------------------
+closeps
+
+fig='swr_validation_scatter_2000_2007.ps'
+spawn, 'mv '+psdir+'idl.ps '+cpsdir+fig
+spawn, 'gv '+cpsdir+fig
+return
+end
+;--------------------------------------------------------------------------
+function x_site_location, site
+    n1=strpos(site, 's')
+if (n1 gt -1) then begin
+    ns=-1.
+    x=strmid(site, 0, n1)
+    x=float(x)*ns
+endif else begin
+    n1=strpos(site, 'n')
+    x=strmid(site, 0, n1)
+    ny=1.
+    x=float(x)*ny
+endelse
+return, float(x)
+end
+;--------------------------------------------------------------------------
+function y_site_location, site
+    n1=strpos(site, 'e')
+if (n1 gt -1) then begin
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+    endelse
+
+endif else begin
+    n1=strpos(site, 'w')
+    n=strpos(site, 's')
+    if (n gt -1) then begin
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+    endif else begin
+        n=strpos(site, 'n')
+        y=strmid(site, n+1, n1-n-1)
+        y=180+(180-float(y))
+   endelse
+endelse
+return,float(y)
+end
+
+;--------------------------------------------------------------------------
+
