writing double loop to ascii file
Michael Sigmond
sigmond at ATMOSP.PHYSICS.UTORONTO.CA
Wed Oct 12 19:07:44 EDT 2005
Dear Grads users,
I'm trying to write 21 timeseries to an ascii file with the script below.
Grads doesn't understand my double while construction. Does anybody know a
solution?
Thanks in advance,
Michael Sigmond
file='g05c.txt'
area=1
t=1
while(area<=21)
while(t<=60)
'set t 't
'd g05c'area
yy=subwrd(result,4)
good=write(file,yy,append)
t=t+1
endwhile
area=area+1
endwhile
More information about the gradsusr
mailing list