[gradsusr] script to write data to text file
chinh ta huu
chinhth2010 at gmail.com
Thu Jun 30 03:28:06 EDT 2011
Dear Sir/Madam
Below commands is my script to write data to text file, but I get
trouble with ended line to write to text file.
the array of z500 include 144x73 grid points, but the script print
only one value in out.txt (4770.09).
Please tell me how to push z500 into array in order to print.
I will be grateful
Thank you
'sdfopen z500.nc'
'set t 1'
'set z 1'
'set gxout print'
'set prnopts %g 1 1'
'd z500'
res=subwrd(result,20)
write('/home/chinhth/chinh/out.txt',res)
--
(Mr.) Ta Huu Chinh
National, Weather Forecasting Center, Ha Noi, Viet Nam.
No: 4th, Dang Thai Than, Hoan Kiem, Ha Noi
Tel: 84-903-402-181
Fax: 84-43-824-4917
Email: chinhth2010 at gmail.com
Website: http://vn.myblog.yahoo.com/chinhth2005/
Website: http://bestknowledge-chinhth.blogspot.com/
Website: http://anhcuoidep.vn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110630/6fd5daea/attachment-0003.html
More information about the gradsusr
mailing list