[gradsusr] How to sum variables??

Andrew Friedman andfried at berkeley.edu
Wed Oct 9 12:34:47 EDT 2013


Hi Uzair,

I think you want to set t to 1 and use the sum command:
sum(pr,t=1,t=4)
http://www.iges.org/grads/gadoc/gradfuncsum.html

Andrewq

On Oct 8, 2013, at 11:10 PM, uzair manan <uzair_july at hotmail.com> wrote:

> Hi everyone
> 
> I've a netcdf output file from a regional model.. It has a precipiation (pr) variable at four different intervals during a day i.e 
> 
> Time 00, 06, 12, 18 for Day 1
> 
> I've to set the time in grads as:-
> 
> ga-> set t 1 4
> 
> in order to set the environment from Time 00 to 18....
> 
> How can we add the variable precipitation (pr) in above four intervals by a single command?
> 
> 
> 
> 
> 
> 
> 
> Best regards
> 
> Uzair Mannan
> Cell: +923323489950
> NED University of Engineering & Technology
> Karachi, Pakistan
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr




More information about the gradsusr mailing list