<div>Dear frnds</div>
<div> here i have some difficulty with the following script, i want to write the maximum value of daily temperature of 4-day forecast, but it is only writing a single value (i.e the maximum value of last day only). I didin't found where is the mistake. Thanks in advance if anybody has any solution to share on it.The script is given below.</div>
<div> </div>
<div>'reinit'<br>'open singldom-Nov.ctl'<br>'set lat 20.25'<br>'set lon 85.83'<br>tt = 1<br>while (tt<97)<br>'set t 'tt<br> 'define maxt= max((t2-273.15),t+0,t+23)'<br>
'set gxout print'<br> 'fprintf maxt maxt2-bbsr-DA.txt';<br> tt=tt+24<br> endwhile<br>~<br></div>
<div>with regards</div>
<div>Dipak</div>
<div> </div>