how to get Ascii out put
M. Mahakur
mmahakur at MAIL.TROPMET.RES.IN
Sat Sep 10 08:19:33 EDT 2005
Hello, Try this:
'reinit'
'sdopen d:\data\air.mon.mean.nc'
'set lon 40 120'
'set lat -10 30'
'set t 1'
res=write('ascii.dat',result)
'define b1 = aave(air,lon=60,lon=75,lat=0,lat=5)'
'define b2 = aave(air,lon 75,lon=85,lat=3,lat=7)'
'set gxout print'
'd b1'
rc=sublin(result,2)
res=write('ascii.dat',rc,append)
'd b2'
rc=sublin(result,2)
res=write('ascii.dat',rc,append)
For 'print' options please see :
http://grads.iges.org/grads/gadoc/gradcomdsetprnopts.html
Regards,
Mahakur
kailasam muni krishna wrote:
> Dear Grads Users,
>
> I want to know how to get ASCII out.Please see the below script.
>
> 'reinit'
> 'sdopen d:\data\air.mon.mean.nc'
> 'set lon 40 120'
> 'set lat -10 30'
> 'set t 1'
> 'define b1 = aave(air,lon=60,lon=75,lat=0,lat=5)'
> 'define b2 = aave(air,lon 75,lon=85,lat=3,lat=7)'
> 'd air'
> I want to out put "Time, parameter(b1), parameter(b2)". Please help me.
>
> thanks in advanced
>
> with regards
>
>
> ------------------------------------------------------------------------
> Yahoo! India Matrimony <http://yahoo.shaadi.com>: Find your partner now.
--
****************************************************************
M. Mahakur
Forecasting Research Division
Indian Institute of Tropical Meteorology
Dr. Homi Bhabha Road
NCL Post, Pashan
PUNE - 411 008. (Maharashatra state)
INDIA.
****************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20050910/5bb651c9/attachment.html
More information about the gradsusr
mailing list