[gradsusr] Unable to do the averaging w.r.t time
Rupak Rajbhandari
rupak.rajbhandari at gmail.com
Thu Dec 26 03:33:28 EST 2013
try
'd 'x2
On Tue, Dec 24, 2013 at 4:38 PM, M.Mahakur <mmahakur at tropmet.res.in> wrote:
> 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
>
> _______________________________________________
> 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/20131226/9186f478/attachment.html
More information about the gradsusr
mailing list