[gradsusr] summing
Sagar Parajuli
psagar at utexas.edu
Tue Oct 16 15:25:01 EDT 2012
Thank you, I didn't realize the asum function.
Sincerely,
Sagar Prasad Parajuli
Graduate Student/Research Assistant
University of Texas at Austin
Jackson School of Geosciences
1 University Station C1100, JGB 5.322
Austin, TX 78712
Contact: <mailto:psagar at utexas.edu> psagar at utexas.edu
Cell: 512 965 4093
texas-longhorn-logo
From: gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org]
On Behalf Of Jeff Duda
Sent: Tuesday, October 16, 2012 2:16 PM
To: GrADS Users Forum
Subject: Re: [gradsusr] summing
Sagar,
Either nest the sum functions or use the asum function for areal sums.
Jeff Duda
On Tue, Oct 16, 2012 at 2:11 PM, Sagar Parajuli <psagar at utexas.edu> wrote:
Hi, can anyone suggest how to sum the values in a grid. I have to first in
t-direction and then in x and y direction.
define a=sum(dstflxt*area, t=1, t=365) (summing in t-direction, this
works fine)
define b= sum(a,x=1,x=288,y=1,y=192) (summing in x and y direction,
this doesn't work)
d b
It displays error in sum options.
Please help.
Sincerely,
Sagar Prasad Parajuli
Graduate Student/Research Assistant
University of Texas at Austin
Jackson School of Geosciences
1 University Station C1100, JGB 5.322
Austin, TX 78712
Contact: <mailto:psagar at utexas.edu> psagar at utexas.edu
Cell: 512 965 4093
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr
--
Jeff Duda
Graduate research assistant
University of Oklahoma School of Meteorology
Center for Analysis and Prediction of Storms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20121016/1c9e5a21/attachment-0003.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 1251 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20121016/1c9e5a21/attachment-0003.jpe
More information about the gradsusr
mailing list