[gradsusr] How to sum variables??

Luis Blacutt luis.blacutt at gmail.com
Wed Oct 9 07:23:29 EDT 2013


Hi Uzair

The command
d sum(pr,t=1,t=4)
will do the job
you don't need to use set t 1 4, the sum command automatically understands
from where to where to perform the sum

Best regards
Luis


On Wed, Oct 9, 2013 at 3:10 AM, 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20131009/f45b9e47/attachment.html 


More information about the gradsusr mailing list