<div>Hii all users</div>
<div> Here i faced some problem in grads looping , actually i want to extract the maximum values of each 24hr(1day) simulation of a 1month simulation .dat file. so for this i tried the command </div>
<div>d max(tc, t=1,t=9) --> this the command to find the maximum value of 1st day (of 3hrly output saved file)</div>
<div>so similarly i've to write this command for each day upto t=248, 31 times.But i want to implement the while loop to do this like</div>
<div> </div>
<div>reinit'<br>'open test-uprobe-3dvar.ctl'<br>'set lat 29.45'<br>'set lon 80.16'<br>'set lev 850'<br>'set gxout fwrite'<br>'set fwrite maximum-temp-thal-3dvar.dat'<br>
tt = 1<br>while (i<=241)<br>*'set t 'tt<br>'d max(tc,t=tt,t=tt+8)'<br>tt=tt+8<br>endwhile<br>'disable fwrite'<br>~<br>but this script file wasn't working. actually it was not taking the value of "tt" inside the max command. So anybody has any idea regarding to this issue, kindly suggest me.</div>
<div> </div>
<div>thanking you in advance</div>
<div>with regards<br clear="all"></div>
<div></div><br>-- <br>********************************************<br>Dipak kumar Sahu,<br>Research Scholar,<br>Centre for Atmospheric Sciences.,<br>Indian Institute of Technology,Delhi<br>email:- <a href="mailto:dipak.sahu@iitd.acads.in">dipak.sahu@iitd.acads.in</a><br>
**********************************************<br>