Dear <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Kishore,</span><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">If you need to take average over a given area then please aave() functio.This is the areal average function in grads.</span></div>
<div><p style="font-family:'Times New Roman';font-size:medium">This function takes an areal average over an X-Y region. The syntax is:</p><p style="font-family:'Times New Roman';font-size:medium"><code>aave(<i>expr, xdim1, xdim2, ydim1, ydim2</i>)</code></p>
<p style="font-family:'Times New Roman';font-size:medium">where:</p><p style="font-family:'Times New Roman';font-size:medium"></p><ul style="font-family:'Times New Roman';font-size:medium"><code><i>expr</i> </code>- any valid GrADS expression <br>
<code><i>xdim1</i> </code>- starting X dimension expression <br><code><i>xdim2</i> </code>- ending X dimension expression <br><code><i>ydim1</i> </code>- starting Y dimension expression <br><code><i>ydim2</i> </code>- ending Y dimension expression <br>
</ul><p style="font-family:'Times New Roman';font-size:medium">For global averaging, a shorthand may be used:</p><ul style="font-family:'Times New Roman';font-size:medium"><code>aave(<i>expr</i>, global)</code> or <br>
<code>aave(<i>expr</i>, g)</code></ul><span style="font-family:'Times New Roman';font-size:medium;background-color:rgb(224,240,255)">is the same as</span><ul style="font-family:'Times New Roman';font-size:medium">
<code>aave(<i>expr</i>, lon=0, lon=360, lat=-90, lat=90)</code></ul><div><font face="monospace" size="3">For a detailed information please refer:</font></div></div><div><a href="http://www.iges.org/grads/gadoc/gadocindex.html">http://www.iges.org/grads/gadoc/gadocindex.html</a>
</div><div><br></div><div>Thanks & Regards,</div><div>Neha Sharma</div><div>Project Associate</div><div>Center for Atmospheric Sciences</div><div>IIT Delhi</div>