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

M.Mahakur mmahakur at tropmet.res.in
Tue Dec 24 05:53:33 EST 2013


say:

lon1=74
lon2=87
lat1=9
lat2=22

instead:

'define lon1=74'
'define lon2=87'
'define lat1=9'
'define lat2=22'

----- Original Message -----
From: Geeta Geeta <geeta124 at hotmail.com>
To: grads grads <gradsusr at gradsusr.org>
Sent: Tue, 24 Dec 2013 16:10:39 +0530 (IST)
Subject: [gradsusr] Unable to do the averaging w.r.t time

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
 		 	   		  


More information about the gradsusr mailing list