Ignore:
Timestamp:
08/25/11 13:02:20 (13 years ago)
Author:
pinsard
Message:

get rid of multistatement lines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/paper01/fig14/coare_validation_net_1992_93_all_v10.pro

    r85 r94  
    111111net1=sw92_1+lw92_1+lh92_1+sh92_1 
    112112 
    113 st1=921111 & en1=921203 
     113st1=921111  
     114en1=921203 
    114115 
    115116;; second leg 
     
    126127 
    127128;; start data - 17/12/92 and end date 31/12/92 
    128 st2=19921217 & en2=19921231 
     129st2=19921217  
     130en2=19921231 
    129131 
    130132;; third leg 
     
    141143 
    142144;; start data - 01/01/93 and end date 11/01/93 
    143 st3=19930101 & en3=19930111 
     145st3=19930101  
     146en3=19930111 
    144147 
    145148;; fourth leg 
     
    156159 
    157160;; start data - 28/01/93 and end date 16/02/93 
    158 st4=19930128 & en4=19930216 
     161st4=19930128  
     162en4=19930216 
    159163 
    160164net=[net1, net2, net3, net4] 
     
    163167;; reading other data sets 
    164168 
    165 st1=19921111 & en1=19921203 
    166 st2=19921217 & en2=19921231 
    167 st3=19930101 & en3=19930111 
    168 st4=19930128 & en4=19930216 
     169st1=19921111  
     170en1=19921203 
     171st2=19921217  
     172en2=19921231 
     173st3=19930101  
     174en3=19930111 
     175st4=19930128  
     176en4=19930216 
    169177 
    170178file=project_id_env+"erai_swr_19910101_20091231_oafluxgrid.nc" 
    171179initncdf, file 
    172 swr1=read_ncdf('swr',st1,en1,file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy", box=box,/nan) & swr1=reform(swr1) 
    173 swr2=read_ncdf('swr',st2,en2,file=file,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy", box=box,/nan) & swr2=reform(swr2) 
    174 swr3=read_ncdf('swr',st3,en3,file=file,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy", box=box,/nan) & swr3=reform(swr3) 
    175 swr4=read_ncdf('swr',st4,en4,file=file,/nostr, box=box) & swr4=grossemoyenne(swr4, "xy", box=box,/nan) & swr4=reform(swr4) 
     180swr1=read_ncdf('swr',st1,en1,file=file,/nostr, box=box)  
     181swr1=grossemoyenne(swr1, "xy", box=box,/nan)  
     182swr1=reform(swr1) 
     183swr2=read_ncdf('swr',st2,en2,file=file,/nostr, box=box)  
     184swr2=grossemoyenne(swr2, "xy", box=box,/nan)  
     185swr2=reform(swr2) 
     186swr3=read_ncdf('swr',st3,en3,file=file,/nostr, box=box)  
     187swr3=grossemoyenne(swr3, "xy", box=box,/nan)  
     188swr3=reform(swr3) 
     189swr4=read_ncdf('swr',st4,en4,file=file,/nostr, box=box)  
     190swr4=grossemoyenne(swr4, "xy", box=box,/nan)  
     191swr4=reform(swr4) 
    176192 
    177193file=project_id_env+'erai_lwr_19890101_20091231_oafluxgrid.nc' 
    178194initncdf, file 
    179 lwr1=read_ncdf('lwr',st1-1,en1,file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy", box=box,/nan) & lwr1=reform(lwr1) 
    180 lwr2=read_ncdf('lwr',st2-1,en2,file=file,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy", box=box,/nan) & lwr2=reform(lwr2) 
    181 lwr3=read_ncdf('lwr',st3-1,en3,file=file,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy", box=box,/nan) & lwr3=reform(lwr3) 
    182 lwr4=read_ncdf('lwr',st4-1,en4,file=file,/nostr, box=box) & lwr4=grossemoyenne(lwr4, "xy", box=box,/nan) & lwr4=reform(lwr4) 
     195lwr1=read_ncdf('lwr',st1-1,en1,file=file,/nostr, box=box)  
     196lwr1=grossemoyenne(lwr1, "xy", box=box,/nan)  
     197lwr1=reform(lwr1) 
     198lwr2=read_ncdf('lwr',st2-1,en2,file=file,/nostr, box=box)  
     199lwr2=grossemoyenne(lwr2, "xy", box=box,/nan)  
     200lwr2=reform(lwr2) 
     201lwr3=read_ncdf('lwr',st3-1,en3,file=file,/nostr, box=box)  
     202lwr3=grossemoyenne(lwr3, "xy", box=box,/nan)  
     203lwr3=reform(lwr3) 
     204lwr4=read_ncdf('lwr',st4-1,en4,file=file,/nostr, box=box)  
     205lwr4=grossemoyenne(lwr4, "xy", box=box,/nan)  
     206lwr4=reform(lwr4) 
    183207 
    184208file=project_id_env+'erai_lhf_19890101_20091231_oafluxgrid.nc' 
    185209initncdf, file 
    186 lhf1=-1*read_ncdf('lhf',st1,en1,file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy", box=box,/nan) & lhf1=reform(lhf1) 
    187 lhf2=-1*read_ncdf('lhf',st2,en2,file=file,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy", box=box,/nan) & lhf2=reform(lhf2) 
    188 lhf3=-1*read_ncdf('lhf',st3,en3,file=file,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy", box=box,/nan) & lhf3=reform(lhf3) 
    189 lhf4=-1*read_ncdf('lhf',st4,en4,file=file,/nostr, box=box) & lhf4=grossemoyenne(lhf4, "xy", box=box,/nan) & lhf4=reform(lhf4) 
     210lhf1=-1*read_ncdf('lhf',st1,en1,file=file,/nostr, box=box)  
     211lhf1=grossemoyenne(lhf1, "xy", box=box,/nan)  
     212lhf1=reform(lhf1) 
     213lhf2=-1*read_ncdf('lhf',st2,en2,file=file,/nostr, box=box)  
     214lhf2=grossemoyenne(lhf2, "xy", box=box,/nan)  
     215lhf2=reform(lhf2) 
     216lhf3=-1*read_ncdf('lhf',st3,en3,file=file,/nostr, box=box)  
     217lhf3=grossemoyenne(lhf3, "xy", box=box,/nan)  
     218lhf3=reform(lhf3) 
     219lhf4=-1*read_ncdf('lhf',st4,en4,file=file,/nostr, box=box)  
     220lhf4=grossemoyenne(lhf4, "xy", box=box,/nan)  
     221lhf4=reform(lhf4) 
    190222 
    191223file=project_id_env+'erai_shf_19890101_20091231_oafluxgrid.nc' 
    192224initncdf, file 
    193 shf1=-1*read_ncdf('shf',st1,en1,file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy", box=box,/nan) & shf1=reform(shf1) 
    194 shf2=-1*read_ncdf('shf',st2,en2,file=file,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy", box=box,/nan) & shf2=reform(shf2) 
    195 shf3=-1*read_ncdf('shf',st3,en3,file=file,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy", box=box,/nan) & shf3=reform(shf3) 
    196 shf4=-1*read_ncdf('shf',st4,en4,file=file,/nostr, box=box) & shf4=grossemoyenne(shf4, "xy", box=box,/nan) & shf4=reform(shf4) 
    197  
    198 net1=swr1+lwr1+lhf1+shf1 & net2=swr2+lwr2+lhf2+shf2 
    199 net3=swr3+lwr3+lhf3+shf3 & net4=swr4+lwr4+lhf4+shf4 
     225shf1=-1*read_ncdf('shf',st1,en1,file=file,/nostr, box=box)  
     226shf1=grossemoyenne(shf1, "xy", box=box,/nan)  
     227shf1=reform(shf1) 
     228shf2=-1*read_ncdf('shf',st2,en2,file=file,/nostr, box=box)  
     229shf2=grossemoyenne(shf2, "xy", box=box,/nan)  
     230shf2=reform(shf2) 
     231shf3=-1*read_ncdf('shf',st3,en3,file=file,/nostr, box=box)  
     232shf3=grossemoyenne(shf3, "xy", box=box,/nan)  
     233shf3=reform(shf3) 
     234shf4=-1*read_ncdf('shf',st4,en4,file=file,/nostr, box=box)  
     235shf4=grossemoyenne(shf4, "xy", box=box,/nan)  
     236shf4=reform(shf4) 
     237 
     238net1=swr1+lwr1+lhf1+shf1  
     239net2=swr2+lwr2+lhf2+shf2 
     240net3=swr3+lwr3+lhf3+shf3  
     241net4=swr4+lwr4+lhf4+shf4 
    200242era=[net1,net2,net3,net4] 
    201243 
    202244help, era 
    203 swr1=0 & swr2=0 & swr3=0 & swr4=0 & lwr1=0 & lwr2=0 & lwr3=0 & lwr4=0 
    204 lhf1=0 & lhf2=0 & lhf3=0 & lhf4=0 & shf1=0 & shf2=0 & shf3=0 & shf4=0 
    205 net1=0 & net2=0 & net3=0 & net4=0 
     245swr1=0  
     246swr2=0  
     247swr3=0  
     248swr4=0  
     249lwr1=0  
     250lwr2=0  
     251lwr3=0  
     252lwr4=0 
     253lhf1=0  
     254lhf2=0  
     255lhf3=0  
     256lhf4=0  
     257shf1=0  
     258shf2=0  
     259shf3=0  
     260shf4=0 
     261net1=0  
     262net2=0  
     263net3=0  
     264net4=0 
    206265 
    207266file=project_id_env+"TropFlux_19890101_20091231.nc" 
    208267initncdf, file 
    209 swr1=read_ncdf('swr',st1,en1,file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy",/nan, box=box) & swr1=reform(swr1) 
    210 swr2=read_ncdf('swr',st2,en2,file=file,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy",/nan, box=box) & swr2=reform(swr2) 
    211 swr3=read_ncdf('swr',st3,en3,file=file,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy",/nan, box=box) & swr3=reform(swr3) 
    212 swr4=read_ncdf('swr',st4,en4,file=file,/nostr, box=box) & swr4=grossemoyenne(swr4, "xy",/nan, box=box) & swr4=reform(swr4) 
    213  
    214 lwr1=read_ncdf('lwr',st1,en1,file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy",/nan, box=box) & lwr1=reform(lwr1) 
    215 lwr2=read_ncdf('lwr',st2,en2,file=file,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy",/nan, box=box) & lwr2=reform(lwr2) 
    216 lwr3=read_ncdf('lwr',st3,en3,file=file,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy",/nan, box=box) & lwr3=reform(lwr3) 
    217 lwr4=read_ncdf('lwr',st4,en4,file=file,/nostr, box=box) & lwr4=grossemoyenne(lwr4, "xy",/nan, box=box) & lwr4=reform(lwr4) 
    218  
    219 lhf1=read_ncdf('lhf',st1,en1,file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy",/nan, box=box) & lhf1=reform(lhf1) 
    220 lhf2=read_ncdf('lhf',st2,en2,file=file,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy",/nan, box=box) & lhf2=reform(lhf2) 
    221 lhf3=read_ncdf('lhf',st3,en3,file=file,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy",/nan, box=box) & lhf3=reform(lhf3) 
    222 lhf4=read_ncdf('lhf',st4,en4,file=file,/nostr, box=box) & lhf4=grossemoyenne(lhf4, "xy",/nan, box=box) & lhf4=reform(lhf4) 
    223  
    224 shf1=read_ncdf('shf',st1,en1,file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy",/nan, box=box) & shf1=reform(shf1) 
    225 shf2=read_ncdf('shf',st2,en2,file=file,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy",/nan, box=box) & shf2=reform(shf2) 
    226 shf3=read_ncdf('shf',st3,en3,file=file,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy",/nan, box=box) & shf3=reform(shf3) 
    227 shf4=read_ncdf('shf',st4,en4,file=file,/nostr, box=box) & shf4=grossemoyenne(shf4, "xy",/nan, box=box) & shf4=reform(shf4) 
    228  
    229 net1=swr1+lwr1+lhf1+shf1 & net2=swr2+lwr2+lhf2+shf2 
    230 net3=swr3+lwr3+lhf3+shf3 & net4=swr4+lwr4+lhf4+shf4 
     268swr1=read_ncdf('swr',st1,en1,file=file,/nostr, box=box)  
     269swr1=grossemoyenne(swr1, "xy",/nan, box=box)  
     270swr1=reform(swr1) 
     271swr2=read_ncdf('swr',st2,en2,file=file,/nostr, box=box)  
     272swr2=grossemoyenne(swr2, "xy",/nan, box=box)  
     273swr2=reform(swr2) 
     274swr3=read_ncdf('swr',st3,en3,file=file,/nostr, box=box)  
     275swr3=grossemoyenne(swr3, "xy",/nan, box=box)  
     276swr3=reform(swr3) 
     277swr4=read_ncdf('swr',st4,en4,file=file,/nostr, box=box)  
     278swr4=grossemoyenne(swr4, "xy",/nan, box=box)  
     279swr4=reform(swr4) 
     280 
     281lwr1=read_ncdf('lwr',st1,en1,file=file,/nostr, box=box)  
     282lwr1=grossemoyenne(lwr1, "xy",/nan, box=box)  
     283lwr1=reform(lwr1) 
     284lwr2=read_ncdf('lwr',st2,en2,file=file,/nostr, box=box)  
     285lwr2=grossemoyenne(lwr2, "xy",/nan, box=box)  
     286lwr2=reform(lwr2) 
     287lwr3=read_ncdf('lwr',st3,en3,file=file,/nostr, box=box)  
     288lwr3=grossemoyenne(lwr3, "xy",/nan, box=box)  
     289lwr3=reform(lwr3) 
     290lwr4=read_ncdf('lwr',st4,en4,file=file,/nostr, box=box)  
     291lwr4=grossemoyenne(lwr4, "xy",/nan, box=box)  
     292lwr4=reform(lwr4) 
     293 
     294lhf1=read_ncdf('lhf',st1,en1,file=file,/nostr, box=box)  
     295lhf1=grossemoyenne(lhf1, "xy",/nan, box=box)  
     296lhf1=reform(lhf1) 
     297lhf2=read_ncdf('lhf',st2,en2,file=file,/nostr, box=box)  
     298lhf2=grossemoyenne(lhf2, "xy",/nan, box=box)  
     299lhf2=reform(lhf2) 
     300lhf3=read_ncdf('lhf',st3,en3,file=file,/nostr, box=box)  
     301lhf3=grossemoyenne(lhf3, "xy",/nan, box=box)  
     302lhf3=reform(lhf3) 
     303lhf4=read_ncdf('lhf',st4,en4,file=file,/nostr, box=box)  
     304lhf4=grossemoyenne(lhf4, "xy",/nan, box=box)  
     305lhf4=reform(lhf4) 
     306 
     307shf1=read_ncdf('shf',st1,en1,file=file,/nostr, box=box)  
     308shf1=grossemoyenne(shf1, "xy",/nan, box=box)  
     309shf1=reform(shf1) 
     310shf2=read_ncdf('shf',st2,en2,file=file,/nostr, box=box)  
     311shf2=grossemoyenne(shf2, "xy",/nan, box=box)  
     312shf2=reform(shf2) 
     313shf3=read_ncdf('shf',st3,en3,file=file,/nostr, box=box)  
     314shf3=grossemoyenne(shf3, "xy",/nan, box=box)  
     315shf3=reform(shf3) 
     316shf4=read_ncdf('shf',st4,en4,file=file,/nostr, box=box)  
     317shf4=grossemoyenne(shf4, "xy",/nan, box=box)  
     318shf4=reform(shf4) 
     319 
     320net1=swr1+lwr1+lhf1+shf1  
     321net2=swr2+lwr2+lhf2+shf2 
     322net3=swr3+lwr3+lhf3+shf3  
     323net4=swr4+lwr4+lhf4+shf4 
    231324 
    232325file=project_id_env+"TropFlux_swr_19890101_20091231_NRT_v50.nc" 
    233326initncdf, file 
    234 olr1=read_ncdf("sw", st1-1, en1, file=file,/nostr, box=box) & olr1=grossemoyenne(olr1, "xy",/nan, box=box) & olr1=reform(olr1) 
    235 olr2=read_ncdf("sw", st2-1, en2, file=file,/nostr, box=box) & olr2=grossemoyenne(olr2, "xy",/nan, box=box) & olr2=reform(olr2) 
    236 olr3=read_ncdf("sw", st3-1, en3, file=file,/nostr, box=box) & olr3=grossemoyenne(olr3, "xy",/nan, box=box) & olr3=reform(olr3) 
    237 olr4=read_ncdf("sw", st4-1, en4, file=file,/nostr, box=box) & olr4=grossemoyenne(olr4, "xy",/nan, box=box) & olr4=reform(olr4) 
    238  
    239 neto_1=olr1+lwr1+lhf1+shf1 & neto_2=olr2+lwr2+lhf2+shf2 
    240 neto_3=olr3+lwr3+lhf3+shf3 & neto_4=olr4+lwr4+lhf4+shf4 
     327olr1=read_ncdf("sw", st1-1, en1, file=file,/nostr, box=box)  
     328olr1=grossemoyenne(olr1, "xy",/nan, box=box)  
     329olr1=reform(olr1) 
     330olr2=read_ncdf("sw", st2-1, en2, file=file,/nostr, box=box)  
     331olr2=grossemoyenne(olr2, "xy",/nan, box=box)  
     332olr2=reform(olr2) 
     333olr3=read_ncdf("sw", st3-1, en3, file=file,/nostr, box=box)  
     334olr3=grossemoyenne(olr3, "xy",/nan, box=box)  
     335olr3=reform(olr3) 
     336olr4=read_ncdf("sw", st4-1, en4, file=file,/nostr, box=box)  
     337olr4=grossemoyenne(olr4, "xy",/nan, box=box)  
     338olr4=reform(olr4) 
     339 
     340neto_1=olr1+lwr1+lhf1+shf1  
     341neto_2=olr2+lwr2+lhf2+shf2 
     342neto_3=olr3+lwr3+lhf3+shf3  
     343neto_4=olr4+lwr4+lhf4+shf4 
    241344 
    242345trop=[net1,net2,net3,net4] 
     
    244347help, trop, olr 
    245348 
    246 swr1=0 & swr2=0 & swr3=0 & swr4=0 & lwr1=0 & lwr2=0 & lwr3=0 & lwr4=0 
    247 lhf1=0 & lhf2=0 & lhf3=0 & lhf4=0 & shf1=0 & shf2=0 & shf3=0 & shf4=0 
    248 net1=0 & net2=0 & net3=0 & net4=0 & neto_1=0 & neto_2=0 & neto_3=0 & neto_4=0 
     349swr1=0  
     350swr2=0  
     351swr3=0  
     352swr4=0  
     353lwr1=0  
     354lwr2=0  
     355lwr3=0  
     356lwr4=0 
     357lhf1=0  
     358lhf2=0  
     359lhf3=0  
     360lhf4=0  
     361shf1=0  
     362shf2=0  
     363shf3=0  
     364shf4=0 
     365net1=0  
     366net2=0  
     367net3=0  
     368net4=0  
     369neto_1=0  
     370neto_2=0  
     371neto_3=0  
     372neto_4=0 
    249373 
    250374file=project_id_env+'swr_oafluxgrid_1985_2007.nc' 
    251375initncdf, file 
    252 swr1=read_ncdf("swr", st1, en1, file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy",/nan, box=box) & swr1=reform(swr1) 
    253 swr2=read_ncdf("swr", st2, en2, file=file,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy",/nan, box=box) & swr2=reform(swr2) 
    254 swr3=read_ncdf("swr", st3, en3, file=file,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy",/nan, box=box) & swr3=reform(swr3) 
    255 swr4=read_ncdf("swr", st4, en4, file=file,/nostr, box=box) & swr4=grossemoyenne(swr4, "xy",/nan, box=box) & swr4=reform(swr4) 
     376swr1=read_ncdf("swr", st1, en1, file=file,/nostr, box=box)  
     377swr1=grossemoyenne(swr1, "xy",/nan, box=box)  
     378swr1=reform(swr1) 
     379swr2=read_ncdf("swr", st2, en2, file=file,/nostr, box=box)  
     380swr2=grossemoyenne(swr2, "xy",/nan, box=box)  
     381swr2=reform(swr2) 
     382swr3=read_ncdf("swr", st3, en3, file=file,/nostr, box=box)  
     383swr3=grossemoyenne(swr3, "xy",/nan, box=box)  
     384swr3=reform(swr3) 
     385swr4=read_ncdf("swr", st4, en4, file=file,/nostr, box=box)  
     386swr4=grossemoyenne(swr4, "xy",/nan, box=box)  
     387swr4=reform(swr4) 
    256388 
    257389file=project_id_env+'lwr_oafluxgrid_1985_2007.nc' 
    258390initncdf, file 
    259 lwr1=-1*read_ncdf("lwr", st1, en1, file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy",/nan, box=box) & lwr1=reform(lwr1) 
    260 lwr2=-1*read_ncdf("lwr", st2, en2, file=file,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy",/nan, box=box) & lwr2=reform(lwr2) 
    261 lwr3=-1*read_ncdf("lwr", st3, en3, file=file,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy",/nan, box=box) & lwr3=reform(lwr3) 
    262 lwr4=-1*read_ncdf("lwr", st4, en4, file=file,/nostr, box=box) & lwr4=grossemoyenne(lwr4, "xy",/nan, box=box) & lwr4=reform(lwr4) 
     391lwr1=-1*read_ncdf("lwr", st1, en1, file=file,/nostr, box=box)  
     392lwr1=grossemoyenne(lwr1, "xy",/nan, box=box)  
     393lwr1=reform(lwr1) 
     394lwr2=-1*read_ncdf("lwr", st2, en2, file=file,/nostr, box=box)  
     395lwr2=grossemoyenne(lwr2, "xy",/nan, box=box)  
     396lwr2=reform(lwr2) 
     397lwr3=-1*read_ncdf("lwr", st3, en3, file=file,/nostr, box=box)  
     398lwr3=grossemoyenne(lwr3, "xy",/nan, box=box)  
     399lwr3=reform(lwr3) 
     400lwr4=-1*read_ncdf("lwr", st4, en4, file=file,/nostr, box=box)  
     401lwr4=grossemoyenne(lwr4, "xy",/nan, box=box)  
     402lwr4=reform(lwr4) 
    263403 
    264404file=project_id_env+'lhf_oafluxgrid_1985_2009.nc' 
    265405initncdf, file 
    266 lhf1=-1*read_ncdf("lhf", st1, en1, file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy",/nan, box=box) & lhf1=reform(lhf1) 
    267 lhf2=-1*read_ncdf("lhf", st2, en2, file=file,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy",/nan, box=box) & lhf2=reform(lhf2) 
    268 lhf3=-1*read_ncdf("lhf", st3, en3, file=file,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy",/nan, box=box) & lhf3=reform(lhf3) 
    269 lhf4=-1*read_ncdf("lhf", st4, en4, file=file,/nostr, box=box) & lhf4=grossemoyenne(lhf4, "xy",/nan, box=box) & lhf4=reform(lhf4) 
     406lhf1=-1*read_ncdf("lhf", st1, en1, file=file,/nostr, box=box)  
     407lhf1=grossemoyenne(lhf1, "xy",/nan, box=box)  
     408lhf1=reform(lhf1) 
     409lhf2=-1*read_ncdf("lhf", st2, en2, file=file,/nostr, box=box)  
     410lhf2=grossemoyenne(lhf2, "xy",/nan, box=box)  
     411lhf2=reform(lhf2) 
     412lhf3=-1*read_ncdf("lhf", st3, en3, file=file,/nostr, box=box)  
     413lhf3=grossemoyenne(lhf3, "xy",/nan, box=box) 
     414lhf3=reform(lhf3) 
     415lhf4=-1*read_ncdf("lhf", st4, en4, file=file,/nostr, box=box)  
     416lhf4=grossemoyenne(lhf4, "xy",/nan, box=box)  
     417lhf4=reform(lhf4) 
    270418 
    271419file=project_id_env+'shf_oafluxgrid_1985_2009.nc' 
    272420initncdf, file 
    273 shf1=-1*read_ncdf("shf", st1, en1, file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy",/nan, box=box) & shf1=reform(shf1) 
    274 shf2=-1*read_ncdf("shf", st2, en2, file=file,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy",/nan, box=box) & shf2=reform(shf2) 
    275 shf3=-1*read_ncdf("shf", st3, en3, file=file,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy",/nan, box=box) & shf3=reform(shf3) 
    276 shf4=-1*read_ncdf("shf", st4, en4, file=file,/nostr, box=box) & shf4=grossemoyenne(shf4, "xy",/nan, box=box) & shf4=reform(shf4) 
    277  
    278 net1=swr1+lwr1+lhf1+shf1 & net2=swr2+lwr2+lhf2+shf2 
    279 net3=swr3+lwr3+lhf3+shf3 & net4=swr4+lwr4+lhf4+shf4 
     421shf1=-1*read_ncdf("shf", st1, en1, file=file,/nostr, box=box)  
     422shf1=grossemoyenne(shf1, "xy",/nan, box=box)  
     423shf1=reform(shf1) 
     424shf2=-1*read_ncdf("shf", st2, en2, file=file,/nostr, box=box)  
     425shf2=grossemoyenne(shf2, "xy",/nan, box=box)  
     426shf2=reform(shf2) 
     427shf3=-1*read_ncdf("shf", st3, en3, file=file,/nostr, box=box)  
     428shf3=grossemoyenne(shf3, "xy",/nan, box=box)  
     429shf3=reform(shf3) 
     430shf4=-1*read_ncdf("shf", st4, en4, file=file,/nostr, box=box)  
     431shf4=grossemoyenne(shf4, "xy",/nan, box=box)  
     432shf4=reform(shf4) 
     433 
     434net1=swr1+lwr1+lhf1+shf1  
     435net2=swr2+lwr2+lhf2+shf2 
     436net3=swr3+lwr3+lhf3+shf3  
     437net4=swr4+lwr4+lhf4+shf4 
    280438 
    281439oaf=[net1,net2,net3,net4] 
    282440 
    283441help, oaf 
    284 swr1=0 & swr2=0 & swr3=0 & swr4=0 & lwr1=0 & lwr2=0 & lwr3=0 & lwr4=0 
    285 lhf1=0 & lhf2=0 & lhf3=0 & lhf4=0 & shf1=0 & shf2=0 & shf3=0 & shf4=0 
    286 net1=0 & net2=0 & net3=0 & net4=0 
     442swr1=0  
     443swr2=0  
     444swr3=0  
     445swr4=0  
     446lwr1=0  
     447lwr2=0  
     448lwr3=0  
     449lwr4=0 
     450lhf1=0  
     451lhf2=0  
     452lhf3=0  
     453lhf4=0  
     454shf1=0  
     455shf2=0  
     456shf3=0 
     457shf4=0 
     458net1=0  
     459net2=0  
     460net3=0  
     461net4=0 
    287462 
    288463fi=project_id_env+'swr_ncep2_oaflxgrid_19890101_20091231.nc' 
    289464initncdf, fi 
    290 swr1=read_ncdf("swr", st1, en1, file=fi,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy",/nan, box=box) & swr1=reform(swr1) 
    291 swr2=read_ncdf("swr", st2, en2, file=fi,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy",/nan, box=box) & swr2=reform(swr2) 
    292 swr3=read_ncdf("swr", st3, en3, file=fi,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy",/nan, box=box) & swr3=reform(swr3) 
    293 swr4=read_ncdf("swr", st4, en4, file=fi,/nostr, box=box) & swr4=grossemoyenne(swr4, "xy",/nan, box=box) & swr4=reform(swr4) 
     465swr1=read_ncdf("swr", st1, en1, file=fi,/nostr, box=box)  
     466swr1=grossemoyenne(swr1, "xy",/nan, box=box)  
     467swr1=reform(swr1) 
     468swr2=read_ncdf("swr", st2, en2, file=fi,/nostr, box=box)  
     469swr2=grossemoyenne(swr2, "xy",/nan, box=box)  
     470swr2=reform(swr2) 
     471swr3=read_ncdf("swr", st3, en3, file=fi,/nostr, box=box)  
     472swr3=grossemoyenne(swr3, "xy",/nan, box=box)  
     473swr3=reform(swr3) 
     474swr4=read_ncdf("swr", st4, en4, file=fi,/nostr, box=box)  
     475swr4=grossemoyenne(swr4, "xy",/nan, box=box)  
     476swr4=reform(swr4) 
    294477 
    295478fi=project_id_env+"NCEP2_flux_19890101_20090729.nc" 
    296479initncdf, fi 
    297 lwr1=-1*read_ncdf("lwr", st1, en1, file=fi,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy",/nan, box=box) & lwr1=reform(lwr1) 
    298 lwr2=-1*read_ncdf("lwr", st2, en2, file=fi,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy",/nan, box=box) & lwr2=reform(lwr2) 
    299 lwr3=-1*read_ncdf("lwr", st3, en3, file=fi,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy",/nan, box=box) & lwr3=reform(lwr3) 
    300 lwr4=-1*read_ncdf("lwr", st4, en4, file=fi,/nostr, box=box) & lwr4=grossemoyenne(lwr4, "xy",/nan, box=box) & lwr4=reform(lwr4) 
     480lwr1=-1*read_ncdf("lwr", st1, en1, file=fi,/nostr, box=box)  
     481lwr1=grossemoyenne(lwr1, "xy",/nan, box=box)  
     482lwr1=reform(lwr1) 
     483lwr2=-1*read_ncdf("lwr", st2, en2, file=fi,/nostr, box=box)  
     484lwr2=grossemoyenne(lwr2, "xy",/nan, box=box)  
     485lwr2=reform(lwr2) 
     486lwr3=-1*read_ncdf("lwr", st3, en3, file=fi,/nostr, box=box)  
     487lwr3=grossemoyenne(lwr3, "xy",/nan, box=box)  
     488lwr3=reform(lwr3) 
     489lwr4=-1*read_ncdf("lwr", st4, en4, file=fi,/nostr, box=box)  
     490lwr4=grossemoyenne(lwr4, "xy",/nan, box=box)  
     491lwr4=reform(lwr4) 
    301492 
    302493fi=project_id_env+'lhf_ncep2_oafluxgrid_19890101_20091231.nc' 
    303494initncdf, fi 
    304 lhf1=-1*read_ncdf("lhf", st1, en1, file=fi,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy",/nan, box=box) & lhf1=reform(lhf1) 
    305 lhf2=-1*read_ncdf("lhf", st2, en2, file=fi,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy",/nan, box=box) & lhf2=reform(lhf2) 
    306 lhf3=-1*read_ncdf("lhf", st3, en3, file=fi,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy",/nan, box=box) & lhf3=reform(lhf3) 
    307 lhf4=-1*read_ncdf("lhf", st4, en4, file=fi,/nostr, box=box) & lhf4=grossemoyenne(lhf4, "xy",/nan, box=box) & lhf4=reform(lhf4) 
     495lhf1=-1*read_ncdf("lhf", st1, en1, file=fi,/nostr, box=box)  
     496lhf1=grossemoyenne(lhf1, "xy",/nan, box=box)  
     497lhf1=reform(lhf1) 
     498lhf2=-1*read_ncdf("lhf", st2, en2, file=fi,/nostr, box=box)  
     499lhf2=grossemoyenne(lhf2, "xy",/nan, box=box)  
     500lhf2=reform(lhf2) 
     501lhf3=-1*read_ncdf("lhf", st3, en3, file=fi,/nostr, box=box)  
     502lhf3=grossemoyenne(lhf3, "xy",/nan, box=box)  
     503lhf3=reform(lhf3) 
     504lhf4=-1*read_ncdf("lhf", st4, en4, file=fi,/nostr, box=box)  
     505lhf4=grossemoyenne(lhf4, "xy",/nan, box=box)  
     506lhf4=reform(lhf4) 
    308507 
    309508fi=project_id_env+'shf_ncep2_oafluxgrid_19890101_20091231.nc' 
    310509initncdf, fi 
    311 shf1=-1*read_ncdf("shf", st1, en1, file=fi,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy",/nan, box=box) & shf1=reform(shf1) 
    312 shf2=-1*read_ncdf("shf", st2, en2, file=fi,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy",/nan, box=box) & shf2=reform(shf2) 
    313 shf3=-1*read_ncdf("shf", st3, en3, file=fi,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy",/nan, box=box) & shf3=reform(shf3) 
    314 shf4=-1*read_ncdf("shf", st4, en4, file=fi,/nostr, box=box) & shf4=grossemoyenne(shf4, "xy",/nan, box=box) & shf4=reform(shf4) 
    315  
    316 net1=swr1+lwr1+lhf1+shf1 & net2=swr2+lwr2+lhf2+shf2 
    317 net3=swr3+lwr3+lhf3+shf3 & net4=swr4+lwr4+lhf4+shf4 
     510shf1=-1*read_ncdf("shf", st1, en1, file=fi,/nostr, box=box)  
     511shf1=grossemoyenne(shf1, "xy",/nan, box=box)  
     512shf1=reform(shf1) 
     513shf2=-1*read_ncdf("shf", st2, en2, file=fi,/nostr, box=box)  
     514shf2=grossemoyenne(shf2, "xy",/nan, box=box)  
     515shf2=reform(shf2) 
     516shf3=-1*read_ncdf("shf", st3, en3, file=fi,/nostr, box=box)  
     517shf3=grossemoyenne(shf3, "xy",/nan, box=box)  
     518shf3=reform(shf3) 
     519shf4=-1*read_ncdf("shf", st4, en4, file=fi,/nostr, box=box)  
     520shf4=grossemoyenne(shf4, "xy",/nan, box=box)  
     521shf4=reform(shf4) 
     522 
     523net1=swr1+lwr1+lhf1+shf1  
     524net2=swr2+lwr2+lhf2+shf2 
     525net3=swr3+lwr3+lhf3+shf3  
     526net4=swr4+lwr4+lhf4+shf4 
    318527 
    319528nce2=[net1,net2,net3,net4] 
    320529 
    321530help, nce2 
    322 swr1=0 & swr2=0 & swr3=0 & swr4=0 & lwr1=0 & lwr2=0 & lwr3=0 & lwr4=0 
    323 lhf1=0 & lhf2=0 & lhf3=0 & lhf4=0 & shf1=0 & shf2=0 & shf3=0 & shf4=0 
    324 net1=0 & net2=0 & net3=0 & net4=0 
     531swr1=0  
     532swr2=0  
     533swr3=0  
     534swr4=0  
     535lwr1=0  
     536lwr2=0  
     537lwr3=0  
     538lwr4=0 
     539lhf1=0  
     540lhf2=0  
     541lhf3=0  
     542lhf4=0  
     543shf1=0  
     544shf2=0  
     545shf3=0  
     546shf4=0 
     547net1=0  
     548net2=0  
     549net3=0  
     550net4=0 
    325551 
    326552file=project_id_env+"ncep1_flux_19890101_20091231.nc" 
    327553initncdf, file 
    328 swr1=read_ncdf("swr", st1, en1, file=file,/nostr, box=box) & swr1=grossemoyenne(swr1, "xy",/nan, box=box) & swr1=reform(swr1) 
    329 swr2=read_ncdf("swr", st2, en2, file=file,/nostr, box=box) & swr2=grossemoyenne(swr2, "xy",/nan, box=box) & swr2=reform(swr2) 
    330 swr3=read_ncdf("swr", st3, en3, file=file,/nostr, box=box) & swr3=grossemoyenne(swr3, "xy",/nan, box=box) & swr3=reform(swr3) 
    331 swr4=read_ncdf("swr", st4, en4, file=file,/nostr, box=box) & swr4=grossemoyenne(swr4, "xy",/nan, box=box) & swr4=reform(swr4) 
    332  
    333 lwr1=read_ncdf("lwr", st1, en1, file=file,/nostr, box=box) & lwr1=grossemoyenne(lwr1, "xy",/nan, box=box) & lwr1=reform(lwr1) 
    334 lwr2=read_ncdf("lwr", st2, en2, file=file,/nostr, box=box) & lwr2=grossemoyenne(lwr2, "xy",/nan, box=box) & lwr2=reform(lwr2) 
    335 lwr3=read_ncdf("lwr", st3, en3, file=file,/nostr, box=box) & lwr3=grossemoyenne(lwr3, "xy",/nan, box=box) & lwr3=reform(lwr3) 
    336 lwr4=read_ncdf("lwr", st4, en4, file=file,/nostr, box=box) & lwr4=grossemoyenne(lwr4, "xy",/nan, box=box) & lwr4=reform(lwr4) 
    337  
    338 lhf1=read_ncdf("lhf", st1, en1, file=file,/nostr, box=box) & lhf1=grossemoyenne(lhf1, "xy",/nan, box=box) & lhf1=reform(lhf1) 
    339 lhf2=read_ncdf("lhf", st2, en2, file=file,/nostr, box=box) & lhf2=grossemoyenne(lhf2, "xy",/nan, box=box) & lhf2=reform(lhf2) 
    340 lhf3=read_ncdf("lhf", st3, en3, file=file,/nostr, box=box) & lhf3=grossemoyenne(lhf3, "xy",/nan, box=box) & lhf3=reform(lhf3) 
    341 lhf4=read_ncdf("lhf", st4, en4, file=file,/nostr, box=box) & lhf4=grossemoyenne(lhf4, "xy",/nan, box=box) & lhf4=reform(lhf4) 
    342  
    343 shf1=read_ncdf("shf", st1, en1, file=file,/nostr, box=box) & shf1=grossemoyenne(shf1, "xy",/nan, box=box) & shf1=reform(shf1) 
    344 shf2=read_ncdf("shf", st2, en2, file=file,/nostr, box=box) & shf2=grossemoyenne(shf2, "xy",/nan, box=box) & shf2=reform(shf2) 
    345 shf3=read_ncdf("shf", st3, en3, file=file,/nostr, box=box) & shf3=grossemoyenne(shf3, "xy",/nan, box=box) & shf3=reform(shf3) 
    346 shf4=read_ncdf("shf", st4, en4, file=file,/nostr, box=box) & shf4=grossemoyenne(shf4, "xy",/nan, box=box) & shf4=reform(shf4) 
    347  
    348 net1=swr1+lwr1+lhf1+shf1 & net2=swr2+lwr2+lhf2+shf2 
    349 net3=swr3+lwr3+lhf3+shf3 & net4=swr4+lwr4+lhf4+shf4 
    350  
    351 nce1=[net1,net2,net3,net4] & nce1=nce1 
     554swr1=read_ncdf("swr", st1, en1, file=file,/nostr, box=box)  
     555swr1=grossemoyenne(swr1, "xy",/nan, box=box)  
     556swr1=reform(swr1) 
     557swr2=read_ncdf("swr", st2, en2, file=file,/nostr, box=box)  
     558swr2=grossemoyenne(swr2, "xy",/nan, box=box)  
     559swr2=reform(swr2) 
     560swr3=read_ncdf("swr", st3, en3, file=file,/nostr, box=box)  
     561swr3=grossemoyenne(swr3, "xy",/nan, box=box)  
     562swr3=reform(swr3) 
     563swr4=read_ncdf("swr", st4, en4, file=file,/nostr, box=box)  
     564swr4=grossemoyenne(swr4, "xy",/nan, box=box)  
     565swr4=reform(swr4) 
     566 
     567lwr1=read_ncdf("lwr", st1, en1, file=file,/nostr, box=box)  
     568lwr1=grossemoyenne(lwr1, "xy",/nan, box=box)  
     569lwr1=reform(lwr1) 
     570lwr2=read_ncdf("lwr", st2, en2, file=file,/nostr, box=box)  
     571lwr2=grossemoyenne(lwr2, "xy",/nan, box=box)  
     572lwr2=reform(lwr2) 
     573lwr3=read_ncdf("lwr", st3, en3, file=file,/nostr, box=box)  
     574lwr3=grossemoyenne(lwr3, "xy",/nan, box=box)  
     575lwr3=reform(lwr3) 
     576lwr4=read_ncdf("lwr", st4, en4, file=file,/nostr, box=box)  
     577lwr4=grossemoyenne(lwr4, "xy",/nan, box=box)  
     578lwr4=reform(lwr4) 
     579 
     580lhf1=read_ncdf("lhf", st1, en1, file=file,/nostr, box=box)  
     581lhf1=grossemoyenne(lhf1, "xy",/nan, box=box)  
     582lhf1=reform(lhf1) 
     583lhf2=read_ncdf("lhf", st2, en2, file=file,/nostr, box=box)  
     584lhf2=grossemoyenne(lhf2, "xy",/nan, box=box)  
     585lhf2=reform(lhf2) 
     586lhf3=read_ncdf("lhf", st3, en3, file=file,/nostr, box=box)  
     587lhf3=grossemoyenne(lhf3, "xy",/nan, box=box)  
     588lhf3=reform(lhf3) 
     589lhf4=read_ncdf("lhf", st4, en4, file=file,/nostr, box=box)  
     590lhf4=grossemoyenne(lhf4, "xy",/nan, box=box)  
     591lhf4=reform(lhf4) 
     592 
     593shf1=read_ncdf("shf", st1, en1, file=file,/nostr, box=box)  
     594shf1=grossemoyenne(shf1, "xy",/nan, box=box)  
     595shf1=reform(shf1) 
     596shf2=read_ncdf("shf", st2, en2, file=file,/nostr, box=box)  
     597shf2=grossemoyenne(shf2, "xy",/nan, box=box)  
     598shf2=reform(shf2) 
     599shf3=read_ncdf("shf", st3, en3, file=file,/nostr, box=box)  
     600shf3=grossemoyenne(shf3, "xy",/nan, box=box)  
     601shf3=reform(shf3) 
     602shf4=read_ncdf("shf", st4, en4, file=file,/nostr, box=box)  
     603shf4=grossemoyenne(shf4, "xy",/nan, box=box)  
     604shf4=reform(shf4) 
     605 
     606net1=swr1+lwr1+lhf1+shf1  
     607net2=swr2+lwr2+lhf2+shf2 
     608net3=swr3+lwr3+lhf3+shf3  
     609net4=swr4+lwr4+lhf4+shf4 
     610 
     611nce1=[net1,net2,net3,net4]  
     612nce1=nce1 
    352613 
    353614help, nce1 
    354 swr1=0 & swr2=0 & swr3=0 & swr4=0 & lwr1=0 & lwr2=0 & lwr3=0 & lwr4=0 
    355 lhf1=0 & lhf2=0 & lhf3=0 & lhf4=0 & shf1=0 & shf2=0 & shf3=0 & shf4=0 
    356 net1=0 & net2=0 & net3=0 & net4=0 
     615swr1=0  
     616swr2=0  
     617swr3=0  
     618swr4=0  
     619lwr1=0  
     620lwr2=0  
     621lwr3=0  
     622lwr4=0 
     623lhf1=0  
     624lhf2=0  
     625lhf3=0  
     626lhf4=0  
     627shf1=0  
     628shf2=0  
     629shf3=0  
     630shf4=0 
     631net1=0  
     632net2=0  
     633net3=0  
     634net4=0 
    357635 
    358636ind=where(finite(net)) 
    359 net=net(ind) & era=era(ind) & trop=trop(ind) & oaf=oaf(ind) & nce1=nce1(ind) & nce2=nce2(ind) 
     637net=net(ind)  
     638era=era(ind) 
     639trop=trop(ind)  
     640oaf=oaf(ind)  
     641nce1=nce1(ind)  
     642nce2=nce2(ind) 
    360643olr=olr(ind) 
    361644 
Note: See TracChangeset for help on using the changeset viewer.