[gradsusr] writing grads output to a *.txt file

Jayakrishnan P.R prjayakrishnan at gmail.com
Thu Oct 18 01:54:58 EDT 2012


Dear Sagar,
           Try this...

'reinit'
'open trmm03.ctl'
tt=1
while (tt<=2920)
'set lat 11'
'set lon 76.25'
'set t 'tt
'd rr'
te=subwrd(result,4)
w=write('sample.dat',te)
tt=tt+1
endwhile


Best of Luck.....

-- 
Sincerely
***********************************************
Jayakrishnan.P.R
CSIR-Senior Research Fellow
Department of Atmospheric Sciences
Cochin University of Science and Technology (CUSAT), Cochin-682 016
Kerala, India.
Mob: 09895417565

***********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20121018/c7fda912/attachment-0003.html 


More information about the gradsusr mailing list