<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Serge,
<div><br>
</div>
<div>Find documentation on the asum (areal sum) function. It should accept the arguments you need.&nbsp;</div>
<div><br>
</div>
<div>Mason&nbsp;<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF993296" style="direction: ltr; "><font face="Tahoma" size="2" color="#000000"><b>From:</b> gradsusr-bounces@gradsusr.org [gradsusr-bounces@gradsusr.org] on behalf of Rafanoharana Serge Claudio [rafanoharana@gmail.com]<br>
<b>Sent:</b> Monday, September 26, 2011 4:46 AM<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> [gradsusr] How to get the Sum of variable (not spatially) for all region<br>
</font><br>
</div>
<div></div>
<div>Dear all,<br>
<br>
I have monthly data of one year. I used 'define new=sum(var,t=1,t=12)' then I obtain the sum of the spatial distribution for one year. This is more &quot;in this point/coordinate, the annual precipitation is xxx mm&quot;<br>
<br>
But what I need is the total (sum) of the value of the variable. Something like: &quot;In this area of 500km2, the annual precipitation is xxx mm&quot;.<br>
<br>
Is it possible to obtain that?<br>
<br>
Best regards<br clear="all">
<br>
-- <br>
Serge<br>
</div>
</div>
</div>
</div>
</body>
</html>