try this<br>d (ave(var,t=1,t=ending time,interval)+ave(var,t=2,t=ending time,interval))/2<br><br><br><br><br><div class="gmail_quote">On Thu, Sep 24, 2009 at 3:14 PM, tanusri chakraborty <span dir="ltr">&lt;<a href="mailto:munia_c@yahoo.co.in">munia_c@yahoo.co.in</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
<div style="direction: ltr;">sir/madam,<br>  I am doing research in IITM,Pune,India. I want do some ploting on grads. the<br>problem is that I want to open more than two nc file which contaning same variable say<br>OLR. so i want to average that variable from those different file  grid wise and plot<br>
one average graph.<br>          Thanking you.<br>                                                  Tanusri Chakraborty<br>                                                  Research Fellow<br>                         
                         IITM,Pune<br>--<br></div><div class="hm">
<div style="direction: ltr;"><span><br></span></div></div></td></tr></tbody></table><div class="hm"><br>
      <hr size="1"> Yahoo! India has a new look. <a href="http://in.rd.yahoo.com/tagline_metro_2/*http://in.yahoo.com/trynew" target="_blank"> Take a sneak peek</a>.</div></blockquote></div><br>