<div dir="ltr"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><font size="2" color="#000000"><i><b>Hi,</b></i></font></div><div><font size="2" color="#000000"><i><b><br></b></i></font></div><div><font size="2" color="#000000"><span style="background-color:rgb(255,255,255)">Can anyone tell me, how can i get average of defined variables, i have averaged mean sea level pressure for three months of each year, now i want to get combined average result of all years;</span></font></div><div><font size="2" color="#000000"><span style="background-color:rgb(255,255,255)"><br></span></font></div><div><font size="2" color="#000000"><span style="background-color:rgb(255,255,255)">for example,</span></font></div><div><font size="2" color="#000000"><span style="background-color:rgb(255,255,255)"><br></span></font></div><div><font size="2" color="#000000"><span style="background-color:rgb(255,255,255)">here i have averaged set of dec,jan, feb of each year and numbered them as sl1, sl2 and so on. now i want to extract average of sl1, sl2, sl3..... how will it be possible!</span></font></div><div><font size="2" color="#000000"><span style="background-color:rgb(255,255,255)"><br></span></font></div><div><font size="2" color="#000000"><span style="background-color:rgb(255,255,255)">Script is as follows;</span></font></div><div><font size="2" color="#000000"><span style="background-color:rgb(255,255,255)"><br></span></font></div><div><font size="2" color="#000000"><span style="background-color:rgb(255,255,255)"><div>'reinit'</div><div>'sdfopen <a href="http://djf00-12.nc">djf00-12.nc</a>'</div><div>'set display color white'</div><div>'c'</div><div>'set lat 0 60'</div><div>'set lon 0 120'</div><div>'set z 1'</div><div>'set e 1'</div><div>'define sl1=ave(msl/100,t=1,t=3)'</div><div>'define x1 = ave(u10,t=1,t=3)'</div><div>'define y1 = ave(v10,t=1,t=3)'</div><div><br></div><div>'define sl2=ave(msl/100,t=4,t=6)'</div><div>'define x2 = ave(u10,t=4,t=6)'</div><div>'define y2 = ave(v10,t=4,t=6)'</div><div><br></div><div>'define sl3=ave(msl/100,t=7,t=9)'</div><div>'define x3 = ave(u10,t=7,t=9)'</div><div>'define y3 = ave(v10,t=7,t=9)'</div><div><br></div><div>'define sl4=ave(msl/100,t=10,t=12)'</div><div>'define x4 = ave(u10,t=10,t=12)'</div><div>'define y4 = ave(v10,t=10,t=12)'</div><div><br></div><div>'define sl5=ave(msl/100,t=13,t=15)'</div><div>'define x5 = ave(u10,t=13,t=15)'</div><div>'define y5 = ave(v10,t=13,t=15)'</div><div><br></div><div>'define sl6=ave(msl/100,t=16,t=18)'</div><div>'define x6 = ave(u10,t=16,t=18)'</div><div>'define y6 = ave(v10,t=16,t=18)'</div><div><br></div><div>'define sl7=ave(msl/100,t=19,t=21)'</div><div>'define x7 = ave(u10,t=19,t=21)'</div><div>'define y7 = ave(v10,t=19,t=21)'</div><div><br></div><div>'define sl8=ave(msl/100,t=22,t=24)'</div><div>'define x8 = ave(u10,t=22,t=24)'</div><div>'define y8 = ave(v10,t=22,t=24)'</div><div><br></div><div>How can i get average of sl1,sl2,sl3...sl8. </div><div><br></div><div>stuck in the next step.</div></span></font></div><div><font size="2" color="#000000"><i><b><br></b></i></font></div><div><br></div><div><font size="2" color="#000000"><i><b>Best,</b></i></font></div><div><font size="2" color="#000000"><i><b>Zaib-un-nisa</b></i></font></div><div style="font-size:small"><font color="#000000"><b><br></b></font></div><div style="font-size:small"><br></div></div></div></div>
</div>