[gradsusr] problem in running the script

vijay pawar vijay.pawar87 at gmail.com
Mon Apr 25 01:26:06 EDT 2011


I want to run the following script
 'reinit'
 'open E:\2Months\sst\mastersst.ctl'
 'set x 1'
 'set y 1'
 t=1
 while(t<=217)
'set t 't
'set gxout print'
'set grads off'
'set font 1'
'set xlopts 1 3 0.09'
'set ylopts 1 3 0.09'
'define a=  aave(sst,lon=10,lon=20,lat=-35,lat=-20)'
'define b= ave(a,t-5,t+6)'
'd a'
say result
c=subwrd(result,4)
write('area1.ascii',c,append)
t=t+1
endwhile

but I am getting the error
unable to locate the endwhile statement for the while statement.please
help!!
-- 
Regards,
Vijay.Pawar(MSc Student)
Symbiosis Institute Of Geoinformatics,
Pune,India
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110425/c9b94780/attachment-0003.html 


More information about the gradsusr mailing list