<div dir="ltr"><div style>Hi all,</div><div style><br></div><div style>I'd like to compare my hourly run using GFS data to TRMM--to do so, i have to regrid the output from wrf before plotting in grads.</div><div style>
i will attach my script here.</div><div style>The output is cut in between my set coordinates..</div><div style>how do i correct this? any suggestions.>?</div><div style>here's my script..</div><div style><br></div>
<div style><div>'open obsnudge_habagat2013.ctl'</div><div>'set display color white'</div><div>'c'</div><div>'set gxout shaded'</div><div>'set mpdset hires'</div><div>'set grads off'</div>
<div>'set grid off'</div><div>'set lat 14.4 14.8'</div><div>'set lon 120.4 121.9'</div><div>prompt 'Max Time: '</div><div>pull Max_time</div><div>prompt 'Title Header: '</div><div>
pull Title_header</div>
<div><br></div><div>Time_val=1</div><div><br></div><div>while(Time_val<=Max_time)</div><div>ts = (Time_val)*3+1</div><div>'set t 'ts-3</div><div>DateStr = subwrd(result,4)</div><div>'c'</div><div>'color 2 50 2 -kind white->blue->cyan->green'</div>
<div>*'d (-rainc-rainnc+rainc(t='Time_val+1')+rainnc(t='Time_val+1'))'</div><div>'define rain2=(-rainc-rainnc+rainc(t='ts')+rainnc(t='ts'))'</div><div>'define rain3=re(rain2,7,linear,120.5,0.25,4,linear,14.5,0.25,ba)'</div>
<div>'d rain3'</div><div>*'d r*3'</div><div>'cbarn'</div><div>'draw title 'Title_header'\'DateStr</div><div>'printim 'Title_header'_'DateStr'.gif'</div><div>
Time_val=Time_val+1</div><div>endwhile</div><div><br></div><div>'quit'</div></div><div style>thanks for any help..</div><div><br></div><div><br></div><br clear="all"><div><div dir="ltr"><font face="comic sans ms, sans-serif"><i><b><u>Lyndon Mark P. Olaguera</u></b></i></font><div>
<br></div></div></div>
</div>