[gradsusr] PROBLEMs in regridding.

Lyndon Mark Olaguera olagueralyndonmark429 at gmail.com
Mon Oct 14 05:43:09 EDT 2013


Hi all,

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.
i will attach my script here.
The output is cut in between my set coordinates..
how do i correct this? any suggestions.>?
here's my script..

'open obsnudge_habagat2013.ctl'
'set display color white'
'c'
'set gxout shaded'
'set mpdset hires'
'set grads off'
'set grid off'
'set lat 14.4 14.8'
'set lon 120.4 121.9'
prompt 'Max Time: '
pull Max_time
prompt 'Title Header: '
pull Title_header

Time_val=1

while(Time_val<=Max_time)
ts = (Time_val)*3+1
'set t 'ts-3
DateStr = subwrd(result,4)
'c'
'color 2 50 2 -kind white->blue->cyan->green'
*'d (-rainc-rainnc+rainc(t='Time_val+1')+rainnc(t='Time_val+1'))'
'define rain2=(-rainc-rainnc+rainc(t='ts')+rainnc(t='ts'))'
'define rain3=re(rain2,7,linear,120.5,0.25,4,linear,14.5,0.25,ba)'
'd rain3'
*'d r*3'
'cbarn'
'draw title 'Title_header'\'DateStr
'printim 'Title_header'_'DateStr'.gif'
Time_val=Time_val+1
endwhile

'quit'
thanks for any help..



*Lyndon Mark P. Olaguera*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20131014/6e02b1e8/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_2013:8:18:3.gif
Type: image/gif
Size: 9595 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20131014/6e02b1e8/attachment-0002.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TRMM_Accumulated_Rain_2013:8:18:3.gif
Type: image/gif
Size: 12232 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20131014/6e02b1e8/attachment-0003.gif 


More information about the gradsusr mailing list