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

Rafanoharana Serge Claudio rafanoharana at gmail.com
Tue Sep 27 10:53:25 EDT 2011


Dear Jeff Duda,

Thank you... I'll work on it...

Serge

On Mon, Sep 26, 2011 at 9:39 AM, Jeffrey Duda <jdduda at iastate.edu> wrote:

> 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>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Serge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110927/ec43241e/attachment-0003.html 


More information about the gradsusr mailing list