<div dir="ltr">try<div>'d 'x2</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 24, 2013 at 4:38 PM, M.Mahakur <span dir="ltr"><<a href="mailto:mmahakur@tropmet.res.in" target="_blank">mmahakur@tropmet.res.in</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">say:<br>
<br>
lon1=74<br>
lon2=87<br>
lat1=9<br>
lat2=22<br>
<br>
instead:<br>
<div class="im HOEnZb"><br>
'define lon1=74'<br>
'define lon2=87'<br>
'define lat1=9'<br>
'define lat2=22'<br>
<br>
</div><div class="HOEnZb"><div class="h5">----- Original Message -----<br>
From: Geeta Geeta <<a href="mailto:geeta124@hotmail.com">geeta124@hotmail.com</a>><br>
To: grads grads <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>
Sent: Tue, 24 Dec 2013 16:10:39 +0530 (IST)<br>
Subject: [gradsusr] Unable to do the averaging w.r.t time<br>
<br>
Hi All,<br>
<br>
I have to compute the areal average of rainfall for a domain say 5-20N/65-100E.<br>
So for this, the gs file looks like this---------<br>
<br>
'reinit'<br>
'open obs.ctl'<br>
'c'<br>
'define lon1=74'<br>
'define lon2=87'<br>
'define lat1=9'<br>
'define lat2=22'<br>
*'define x1=aave(pdt,lon='lon1',lon='lon2',lat='lat1',lat='lat2')'<br>
<br>
'define x1=aave(pdt,lon=74,lon=87,lat=9,lat=22)'<br>
'define x2=ave(x1,t=1,t=122)'<br>
'd x2'<br>
<br>
But Grads does not display anything???????<br>
ga-> run <a href="http://onsrf.gs" target="_blank">onsrf.gs</a><br>
No hardcopy metafile open<br>
All files closed; all defined objects released<br>
All GrADS attributes have been reinitialized<br>
ga-><br>
<br>
<br>
I wish to compute the AREAL AVerage w.r.t the time.<br>
My 't' ranges from 1 150.<br>
<br>
Do not know what is going wrong?????????????<br>
geeta<br>
<br>
</div></div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</div></div></blockquote></div><br></div>