[gradsusr] Unable to do the averaging w.r.t time

NAGARAJU CHILUKOTI chilukotinagaraju at gmail.com
Tue Dec 24 05:51:26 EST 2013


you didn't set time while defining the X1

so u r getting error
before defying X1

 'set t 1 122'
 then define x2

i hope it solve your problem


On Tue, Dec 24, 2013 at 4:10 PM, Geeta Geeta <geeta124 at hotmail.com> wrote:

> Hi All,
>
> I have to compute the areal average of rainfall for a domain say
> 5-20N/65-100E.
> So for this, the gs file looks like this---------
>
> 'reinit'
> 'open obs.ctl'
> 'c'
> 'define lon1=74'
> 'define lon2=87'
> 'define lat1=9'
> 'define lat2=22'
> *'define x1=aave(pdt,lon='lon1',lon='lon2',lat='lat1',lat='lat2')'
>
> 'define x1=aave(pdt,lon=74,lon=87,lat=9,lat=22)'
> 'define x2=ave(x1,t=1,t=122)'
> 'd x2'
>
> But Grads does not display anything???????
> ga-> run onsrf.gs
> No hardcopy metafile open
> All files closed; all defined objects released
> All GrADS attributes have been reinitialized
> ga->
>
>
> I wish to compute the  AREAL AVerage w.r.t the time.
> My 't' ranges from 1 150.
>
> Do not know what is going wrong?????????????
> geeta
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Nagaraju Chilukoti
Scientist
Information Services and Ocean Sciences Group
Indian National Centre for Ocean Information Services (INCOIS),
"Ocean Valley",Pragathi Nagar
Hyderabad-500090
Phone:040-23895017/23886057/23886036
Fax: +91-40-23892910
E-mail:nagaraju.c at incois.gov.in  <webmaster at incois.gov.in>
Mob.* 08125817908*
 chilukotinagaraju at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20131224/5913ea74/attachment.html 


More information about the gradsusr mailing list