Changeset 43 for trunk/src/paper01/fig13
- Timestamp:
- 04/11/11 18:05:51 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/paper01/fig13/net_flux_validation_scatter_2000_2007.pro
r41 r43 1 ;------------------------------------------------------------ 2 pro net_flux_validation_scatter_2000_2007,date1,date2 1 ;+ 2 ; .. _net_flux_validation_scatter_2000_2007.pro 3 ; 4 ; ========================================= 5 ; net_flux_validation_scatter_2000_2007.pro 6 ; ========================================= 7 ; 8 ; DESCRIPTION 9 ; =========== 10 ; 11 ; SEE ALSO 12 ; ======== 13 ; 14 ; :ref:`tropflux_profile.sh` 15 ; 16 ; EXAMPLES 17 ; ======== 18 ; 19 ; :: 20 ; 21 ; IDL> @tropflux_init 22 ; IDL> date1=++ 23 ; IDL> date2=++ 24 ; IDL> net_flux_validation_scatter_2000_2007, date1, date2 25 ; 26 ; EVOLUTIONS 27 ; ========== 28 ; 29 ; $Id$ 30 ; 31 ; - fplod 20110411T142955Z aedon.locean-ipsl.upmc.fr (Darwin) 32 ; 33 ; * minimal header 34 ; 35 ;- 36 pro net_flux_validation_scatter_2000_2007, date1, date2 3 37 @common 4 ;------------------------------------------------------------5 38 6 39 reinitplt, /z,/invert … … 8 41 9 42 openps, FILENAME = 'idl.ps' 10 ;------------------------------------------------------------11 43 12 44 sitelist=['8s67e','12s55e', '8s55e', '8s80.5e', '1.5s80.5e', '0n80.5e', '1.5n80.5e', '1.5s90e', $ … … 27 59 28 60 ocean='net_flux' 29 nsmooth=1. 30 ;------------------------------------------------------------------------------------------------------------------------ 61 nsmooth=1. 31 62 ;; This program will create the following text files with statistics of respective variables 32 ;------------------------------------------------------------------------------------------------------------------------33 63 file_trop='/Users/pkb/data/TropFlux/TropFlux_19890101_20091231.nc' 34 64 initncdf, file_trop 35 65 shf_trop=read_ncdf("shf", date1, date2, file=file_trop,/nostr) 36 66 lhf_trop=read_ncdf("lhf", date1, date2, file=file_trop,/nostr) 37 lwr_trop=read_ncdf("lwr", date1, date2, file=file_trop,/nostr) 67 lwr_trop=read_ncdf("lwr", date1, date2, file=file_trop,/nostr) 38 68 39 69 file_trop='/Users/pkb/data/TropFlux/TropFlux_swr_19890101_20071231_DT_v50.nc' … … 71 101 file_oaf='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/shf_oafluxgrid_1985_2008.nc' 72 102 initncdf, file_oaf 73 shf=read_ncdf("shf", date1, date2, file=file_oaf,/nostr) 103 shf=read_ncdf("shf", date1, date2, file=file_oaf,/nostr) 74 104 file_oaf='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/lhf_oafluxgrid_1985_2008.nc' 75 105 initncdf, file_oaf 76 lhf=read_ncdf("lhf", date1, date2, file=file_oaf,/nostr) 106 lhf=read_ncdf("lhf", date1, date2, file=file_oaf,/nostr) 77 107 file_oaf='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/lwr_oafluxgrid_1985_2007.nc' 78 108 initncdf, file_oaf 79 lwr=read_ncdf("lwr", date1, date2, file=file_oaf,/nostr) 109 lwr=read_ncdf("lwr", date1, date2, file=file_oaf,/nostr) 80 110 file_oaf='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/swr_oafluxgrid_1985_2007.nc' 81 111 initncdf, file_oaf … … 94 124 help, ncep1 95 125 96 ;------------------------------------------------------------------------------------------------------------------------97 126 close,/all 98 127 … … 118 147 printf,6, 'x y cor bias std rmsd mean_tao' 119 148 120 ;------------------------------------------------------------------------------------------------------------------------121 149 nn=n_elements(sitelist) 122 150 … … 133 161 if (y ge 0. and y le 30.) then y=y+360. 134 162 dx=0.5 & dy=0.5 & box=[y-dy, y+dy, x-dx, x+dx] 135 163 136 164 read_variables_net_flux, csite,date1,date2,nsmooth, $ 137 165 net 138 166 tao=net & ind=where(finite(tao)) & valid=n_elements(ind) 139 167 140 ;; 168 ;; 141 169 if (valid ge 180. ) then begin 142 170 … … 155 183 extract_flux_tropflux, trop, box, $ 156 184 tropflux 157 tropflux_new=tropflux 185 tropflux_new=tropflux 158 186 159 187 extract_flux_tropflux, ncep1, box, $ … … 165 193 tropdf=tropflux 166 194 167 ind=where(finite(tao)) & tao=tao(ind) & oaf_net=oaflux(ind) & nce_net=ncepflux(ind) & trop_net=tropflux_new(ind) 195 ind=where(finite(tao)) & tao=tao(ind) & oaf_net=oaflux(ind) & nce_net=ncepflux(ind) & trop_net=tropflux_new(ind) 168 196 erai_net=eraiflux(ind) & nce1_net=ncepflux1(ind) & tropd_net=tropdf(ind) 169 197 … … 383 411 oplot, [-100,200], [-100,200] 384 412 385 ;-----------------------------------------------------------386 413 closeps 387 414 … … 391 418 return 392 419 end 393 ;--------------------------------------------------------------------------394 420 function x_site_location, site 395 421 n1=strpos(site, 's') … … 406 432 return, float(x) 407 433 end 408 ;--------------------------------------------------------------------------409 434 function y_site_location, site 410 435 n1=strpos(site, 'e') … … 432 457 return,float(y) 433 458 end 434 435 ;--------------------------------------------------------------------------436
Note: See TracChangeset
for help on using the changeset viewer.