Dear Help,<br>I would like plot time series of WRF hourly rainfall plot for 48hour by finxing lat & lone. Iam able plot time series of<br>
Accumulated rainfall But I would like to plot hour accumulated rainfall,Please help me to solve the error<br>
******************************<div class="gmail_quote">**********************************************<br>'open file.ctl'<br>'set lat 13.1'<br>'set lon 80.00'<br>'set t 1 49'<br>'set grads off'<br>
'set grid off'<br>
'set tlsupp year'<br>'set ccolor 2'<br>'set cthick 7'<br>'d rainc+rainnc'<br>'draw title Preciption in mm/hour'<br>'draw ylab Accumilated Rainfall(mm)'<br>'printim CHENNAI.gif white'<br>
'quit'<br>*****************************************************************************<br>*****But I would like to plot hourly accumulated rainfall (each hour) *******<br>*****************************************************************************<br>
Using the following script I am trying to plot hourly rainfall time series<br>'open file.ctl'<br>tt=1<br>'set lat 13.1'<br>'set lon 80.00'<br>while ( tt <= 49)<br>'set gxout line'<br>'set t ' tt<br>
'set grads off'<br>'set grid off'<br>'set ccolor 2'<br>'set cthick 7'<br>'define rn=(rainc(t='tt+1')+rainnc(t='tt+1'))-(rainc(t='tt')+rainnc(t='tt'))'<br>
'd rn'<br>fmt='%6.2f'<br>tmpval=subwrd(result,4)<br>drain=math_format(fmt,tmpval)<br>say drain<br>tt=tt+1<br>endwhile<br>'set gxout line'<br>'d drain'<br>'draw ylab Hourly Rainfall(mm)'<br>
'printim CHENNAI.gif white'<br>'quit'</div>