error in gs file

Raj Kumar Sharma rajkumar_62 at REDIFFMAIL.COM
Thu Feb 26 06:56:08 EST 2009


I have one year of data and want to plot sst average of every 5 day. I tried to write following gs file. however it shows error, some can please tell that what is the mistake. when i trie dto write aa=(ave(s,t=1,5) it shows no error.ThanksRaj'reinit''open merged.ctl''set display color white'c'set gxout shaded'it = 1while it <385'set t 'it'set lon 30 150''set lat -70 25''set grid off'it1 = itit5 = it + 4'aa=mean(s,t=it1,t=it5)''set clevs .5 1 1.5 2 2.5 3 3.5 4 4.5 5 5.5 6''d aa'cbarn'q pos'cit = it + 5endwhilereturn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090226/5137249f/attachment.html 


More information about the gradsusr mailing list