[gradsusr] export variable to a text file
Jayakrishnan P.R
prjayakrishnan at gmail.com
Tue Jun 19 01:51:16 EDT 2012
You can try with this example after modification for writing into text file.
'reinit'
'open sample.ctl'
tt=1
while (tt<=13)
'set lat 5'
'set lon 102'
'set t 'tt
'd variable'
te=subwrd(result,4)
w=write('test.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/20120619/f3c4a888/attachment-0003.html
More information about the gradsusr
mailing list