Dear Davide and Mason,<br><br>Davide> I am not dealing with precipitation but NPP but I will have a look at your suggestion.<br>Mason> Let me check on it.<br><br>Thanks,<br><br>Serge<br><br><br><div class="gmail_quote">
On Mon, Sep 26, 2011 at 8:11 AM, Rowell, Mason D. <span dir="ltr"><<a href="mailto:Mason.D.Rowell-1@ou.edu">Mason.D.Rowell-1@ou.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<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. </div>
<div><br>
</div>
<div>Mason <br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font color="#000000" size="2" face="Tahoma"><b>From:</b> <a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a> [<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>] on behalf of Rafanoharana Serge Claudio [<a href="mailto:rafanoharana@gmail.com" target="_blank">rafanoharana@gmail.com</a>]<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><div class="h5">
<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 "in this point/coordinate, the annual precipitation is xxx mm"<br>
<br>
But what I need is the total (sum) of the value of the variable. Something like: "In this area of 500km2, the annual precipitation is xxx mm".<br>
<br>
Is it possible to obtain that?<br>
<br>
Best regards<br clear="all">
<br>
-- <br>
Serge<br>
</div>
</div></div></div>
</div>
</div>
</div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Serge<br>