[gradsusr] How to get the Sum of variable (not spatially) for all region

Jeffrey Duda jdduda at iastate.edu
Mon Sep 26 12:39:08 EDT 2011


The command you'll probably want to use is "asum".

Jeff Duda

On Mon, Sep 26, 2011 at 10:24 AM, Rafanoharana Serge Claudio <
rafanoharana at gmail.com> wrote:

> Dear Davide and Mason,
>
> Davide> I am not dealing with precipitation but NPP but I will have a look
> at your suggestion.
> Mason> Let me check on it.
>
> Thanks,
>
> Serge
>
>
> On Mon, Sep 26, 2011 at 8:11 AM, Rowell, Mason D. <Mason.D.Rowell-1 at ou.edu
> > wrote:
>
>>  Serge,
>>
>>  Find documentation on the asum (areal sum) function. It should accept
>> the arguments you need.
>>
>>  Mason
>>  ------------------------------
>> *From:* gradsusr-bounces at gradsusr.org [gradsusr-bounces at gradsusr.org] on
>> behalf of Rafanoharana Serge Claudio [rafanoharana at gmail.com]
>> *Sent:* Monday, September 26, 2011 4:46 AM
>> *To:* GrADS Users Forum
>> *Subject:* [gradsusr] How to get the Sum of variable (not spatially) for
>> all region
>>
>>  Dear all,
>>
>> 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"
>>
>> 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".
>>
>> Is it possible to obtain that?
>>
>> Best regards
>>
>> --
>> Serge
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
>
> --
> Serge
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Jeff Duda
Iowa State University
Meteorology Graduate Student
www.meteor.iastate.edu/~jdduda <http://www.meteor.iastate.edu/%7Ejdduda>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110926/018495de/attachment-0003.html 


More information about the gradsusr mailing list